File: 0009-documentation-fix-spelling-errors.patch

package info (click to toggle)
gcc-15-doc 15.2.0-1
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 32,036 kB
  • sloc: perl: 479; python: 321; makefile: 239; cpp: 17
file content (193 lines) | stat: -rw-r--r-- 9,733 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
From: Dmitry Baryshkov <dbaryshkov@gmail.com>
Date: Tue, 20 Aug 2019 13:09:03 +0300
Subject: documentation: fix spelling errors

Fix several spelling errors detected by lintian

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 gcc/doc/gcov.texi          | 2 +-
 gcc/doc/invoke.texi        | 6 +++---
 gcc/doc/tm.texi            | 4 ++--
 gcc/fortran/gfortran.texi  | 6 +++---
 gcc/fortran/intrinsic.texi | 4 ++--
 gcc/fortran/invoke.texi    | 2 +-
 6 files changed, 12 insertions(+), 12 deletions(-)

Index: gcc-doc/gcc/doc/gcov.texi
===================================================================
--- gcc-doc.orig/gcc/doc/gcov.texi
+++ gcc-doc/gcc/doc/gcov.texi
@@ -427,7 +427,7 @@ and exit without doing any further proce
 
 @item -w
 @itemx --verbose
-Print verbose informations related to basic blocks and arcs.
+Print verbose information related to basic blocks and arcs.
 
 @item -x
 @itemx --hash-filenames
Index: gcc-doc/gcc/doc/invoke.texi
===================================================================
--- gcc-doc.orig/gcc/doc/invoke.texi
+++ gcc-doc/gcc/doc/invoke.texi
@@ -1980,7 +1980,7 @@ Summing it all up for an intuitive thoug
 the primary output name is broken into a directory part and a basename
 part; @var{dumppfx} is set to the former, unless overridden by
 @option{-dumpdir} or @option{-save-temps=*}, and @var{dumpbase} is set
-to the latter, unless overriden by @option{-dumpbase}.  If there are
+to the latter, unless overridden by @option{-dumpbase}.  If there are
 multiple inputs or linking, this @var{dumpbase} may be combined with
 @var{dumppfx} and taken from each input file.  Auxiliary output names
 for each input are formed by combining @var{dumppfx}, @var{dumpbase}
@@ -13171,7 +13171,7 @@ This option is enabled by @option{-fauto
 ever matches none of the cases, the @code{switch} will follow the
 implicit @code{default} case, making the body of the loop be a ``no-op''
 with @code{cpu_state.pc} unchanged, and thus using the same value of
-@code{opcode} on all subseqent iterations, leading to an infinite loop.
+@code{opcode} on all subsequent iterations, leading to an infinite loop.
 
 See @uref{https://cwe.mitre.org/data/definitions/835.html, CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')}.
 
@@ -15900,7 +15900,7 @@ of @var{name} are recognized for all tar
 @table @gcctabopt
 @item phiopt-factor-max-stmts-live
 When factoring statements out of if/then/else, this is the max # of statements
-after the defining statement to be allow to extend the lifetime of a name
+after the defining statement to be allow one to extend the lifetime of a name
 
 @item predictable-branch-outcome
 When branch is predicted to be taken with probability lower than this threshold
@@ -16226,7 +16226,7 @@ The maximum number of store chains to tr
 to merge them into wider stores in the store merging pass.
 
 @item max-stores-to-track
-The maximum number of stores to track at the same time in the attemt to
+The maximum number of stores to track at the same time in the attempt to
 to merge them into wider stores in the store merging pass.
 
 @item max-unrolled-insns
@@ -16507,7 +16507,7 @@ disabled.
 
 If @var{type} is @samp{dyn}, code generation produces a shared
 library.  In this case @option{-fpic} or @option{-fPIC} is preserved,
-but not enabled automatically.  This allows to build shared libraries
+but not enabled automatically.  This allows one to build shared libraries
 without position-independent code on architectures where this is
 possible, i.e.@: on x86.
 
@@ -20294,7 +20294,7 @@ Certain languages guarantee zero initial
 certain cases, e.g. C23 when using empty initializers (@code{@{@}}),
 or C++ when using zero-initialization or C guarantees that fields
 not specified in an initializer have their padding bits zero initialized.
-This option allows to change when padding bits in initializers are
+This option allows one to change when padding bits in initializers are
 guaranteed to be zero initialized.
 The default is @code{-fzero-init-padding-bits=standard}, which makes
 no further guarantees than the corresponding standard.  E.g.@:
@@ -24758,7 +24758,7 @@ Only change the lower 8@tie{}bits of the
 
 @opindex mfract-convert-truncate
 @item -mfract-convert-truncate
-Allow to use truncation instead of rounding towards zero for fractional fixed-point types.
+Allow one to use truncation instead of rounding towards zero for fractional fixed-point types.
 
 @opindex nodevicelib
 @item -nodevicelib
@@ -26876,7 +26876,7 @@ into GCC.  However, an external @samp{de
 @itemx -mno-lsx
 Incrementally adjust the scope of the SIMD extensions (none / LSX / LASX)
 that can be used by the compiler for code generation.  Enabling LASX with
-@option{mlasx} automatically enables LSX, and diabling LSX with @option{mno-lsx}
+@option{mlasx} automatically enables LSX, and disabling LSX with @option{mno-lsx}
 automatically disables LASX.  These driver-only options act upon the final
 @option{msimd} configuration state and make incremental changes in the order
 they appear on the GCC driver's command line, deriving the final / canonicalized
@@ -27605,7 +27605,7 @@ using OpenMP offloading, use option @opt
 
 @opindex muniform-simt
 @item -muniform-simt
-Switch to code generation variant that allows to execute all threads in each
+Switch to code generation variant that allows one to execute all threads in each
 warp, while maintaining memory state and side effects as if only one thread
 in each warp was active outside of OpenMP SIMD regions.  All atomic operations
 and calls to runtime (malloc, free, vprintf) are conditionally executed (iff
@@ -29846,7 +29846,7 @@ The @var{stack-guard} option can only be
 @item -mhotpatch=@var{pre-halfwords},@var{post-halfwords}
 If the hotpatch option is enabled, a ``hot-patching'' function
 prologue is generated for all functions in the compilation unit.
-The funtion label is prepended with the given number of two-byte
+The function label is prepended with the given number of two-byte
 NOP instructions (@var{pre-halfwords}, maximum 1000000).  After
 the label, 2 * @var{post-halfwords} bytes are appended, using the
 largest NOP like instructions the architecture allows (maximum
Index: gcc-doc/gcc/doc/tm.texi
===================================================================
--- gcc-doc.orig/gcc/doc/tm.texi
+++ gcc-doc/gcc/doc/tm.texi
@@ -1010,7 +1010,7 @@ and possibly change @code{*@var{punsigne
 change signedness.  This function is called only for scalar @emph{or
 pointer} types.
 
-@var{for_return} allows to distinguish the promotion of arguments and
+@var{for_return} allows one to distinguish the promotion of arguments and
 return values.  If it is @code{1}, a return value is being promoted and
 @code{TARGET_FUNCTION_VALUE} must perform the same promotions done here.
 If it is @code{2}, the returned mode should be that of the register in
@@ -7372,7 +7372,7 @@ delays, however: (b) there's a better ch
 that will be formed, and (c) correctly emulating the grouping can be very
 important.  In such targets one may want to allow issuing dependent insns
 closer to one another---i.e., closer than the dependence distance;  however,
-not in cases of ``costly dependences'', which this hooks allows to define.
+not in cases of ``costly dependences'', which this hooks allows one to define.
 @end deftypefn
 
 @deftypefn {Target Hook} void TARGET_SCHED_H_I_D_EXTENDED (void)
Index: gcc-doc/gcc/fortran/gfortran.texi
===================================================================
--- gcc-doc.orig/gcc/fortran/gfortran.texi
+++ gcc-doc/gcc/fortran/gfortran.texi
@@ -4078,7 +4078,7 @@ allocatable components in derived type c
 @cindex @code{caf_reference_t}
 
 The structure used for implementing arbitrary reference chains.
-A @code{CAF_REFERENCE_T} allows to specify a component reference or any kind
+A @code{CAF_REFERENCE_T} allows one to specify a component reference or any kind
 of array reference of any rank supported by gfortran.  For array references all
 kinds as known by the compiler/Fortran standard are supported indicated by
 a @code{MODE}.
Index: gcc-doc/gcc/fortran/intrinsic.texi
===================================================================
--- gcc-doc.orig/gcc/fortran/intrinsic.texi
+++ gcc-doc/gcc/fortran/intrinsic.texi
@@ -1680,7 +1680,7 @@ Radians function: @*
 @code{ATAN2(Y, X)} computes the principal value of the argument
 function of the complex number @math{X + i Y}.  This function can
 be used to transform from Cartesian into polar coordinates and
-allows to determine the angle in the correct quadrant.
+allows one to determine the angle in the correct quadrant.
 
 @item @emph{Class}:
 Elemental function
@@ -1745,7 +1745,7 @@ Degrees function: @*
 @code{ATAN2D(Y, X)} computes the principal value of the argument
 function of the complex number @math{X + i Y} in degrees.  This function can
 be used to transform from Cartesian into polar coordinates and
-allows to determine the angle in the correct quadrant.
+allows one to determine the angle in the correct quadrant.
 
 @item @emph{Class}:
 Elemental function
Index: gcc-doc/gcc/fortran/invoke.texi
===================================================================
--- gcc-doc.orig/gcc/fortran/invoke.texi
+++ gcc-doc/gcc/fortran/invoke.texi
@@ -1501,7 +1501,7 @@ values for conversion on most systems ar
 big-endian representation for unformatted files; @samp{little-endian}, use
 little-endian representation for unformatted files.
 
-On POWER systems that suppport @option{-mabi=ieeelongdouble},
+On POWER systems that support @option{-mabi=ieeelongdouble},
 there are additional options, which can be combined with others with
 commas.  Those are
 @itemize @w{}