Build infrastructure for GCC 3.4
[dragonfly.git] / gnu / usr.bin / cc34 / cc / cc.1
1 .\" $DragonFly: src/gnu/usr.bin/cc34/cc/Attic/cc.1,v 1.1 2004/06/14 22:27:53 joerg Exp $
2 .\" Copyright (c) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
3 .\" 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
4 .\" See section COPYRIGHT for conditions for redistribution
5 .rn '' }`
6 ''' $RCSfile$$Revision$$Date$
7 '''
8 ''' $Log$
9 '''
10 .de Sh
11 .br
12 .if t .Sp
13 .ne 5
14 .PP
15 \fB\\$1\fR
16 .PP
17 ..
18 .de Sp
19 .if t .sp .5v
20 .if n .sp
21 ..
22 .de Ip
23 .br
24 .ie \\n(.$>=3 .ne \\$3
25 .el .ne 3
26 .IP "\\$1" \\$2
27 ..
28 .de Vb
29 .ft CW
30 .nf
31 .ne \\$1
32 ..
33 .de Ve
34 .ft R
35
36 .fi
37 ..
38 '''
39 '''
40 '''     Set up \*(-- to give an unbreakable dash;
41 '''     string Tr holds user defined translation string.
42 '''     Bell System Logo is used as a dummy character.
43 '''
44 .tr \(*W-|\(bv\*(Tr
45 .ie n \{\
46 .ds -- \(*W-
47 .ds PI pi
48 .if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
49 .if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
50 .ds L" ""
51 .ds R" ""
52 '''   \*(M", \*(S", \*(N" and \*(T" are the equivalent of
53 '''   \*(L" and \*(R", except that they are used on ".xx" lines,
54 '''   such as .IP and .SH, which do another additional levels of
55 '''   double-quote interpretation
56 .ds M" """
57 .ds S" """
58 .ds N" """""
59 .ds T" """""
60 .ds L' '
61 .ds R' '
62 .ds M' '
63 .ds S' '
64 .ds N' '
65 .ds T' '
66 'br\}
67 .el\{\
68 .ds -- \(em\|
69 .tr \*(Tr
70 .ds L" ``
71 .ds R" ''
72 .ds M" ``
73 .ds S" ''
74 .ds N" ``
75 .ds T" ''
76 .ds L' `
77 .ds R' '
78 .ds M' `
79 .ds S' '
80 .ds N' `
81 .ds T' '
82 .ds PI \(*p
83 'br\}
84 .\"     If the F register is turned on, we'll generate
85 .\"     index entries out stderr for the following things:
86 .\"             TH      Title 
87 .\"             SH      Header
88 .\"             Sh      Subsection 
89 .\"             Ip      Item
90 .\"             X<>     Xref  (embedded
91 .\"     Of course, you have to process the output yourself
92 .\"     in some meaninful fashion.
93 .if \nF \{
94 .de IX
95 .tm Index:\\$1\t\\n%\t"\\$2"
96 ..
97 .nr % 0
98 .rr F
99 .\}
100 .TH GCC 1 "gcc-3.4.1" "10/Jun/2004" "GNU"
101 .UC
102 .if n .hy 0
103 .if n .na
104 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
105 .de CQ          \" put $1 in typewriter font
106 .ft CW
107 'if n "\c
108 'if t \\&\\$1\c
109 'if n \\&\\$1\c
110 'if n \&"
111 \\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7
112 '.ft R
113 ..
114 .\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2
115 .       \" AM - accent mark definitions
116 .bd B 3
117 .       \" fudge factors for nroff and troff
118 .if n \{\
119 .       ds #H 0
120 .       ds #V .8m
121 .       ds #F .3m
122 .       ds #[ \f1
123 .       ds #] \fP
124 .\}
125 .if t \{\
126 .       ds #H ((1u-(\\\\n(.fu%2u))*.13m)
127 .       ds #V .6m
128 .       ds #F 0
129 .       ds #[ \&
130 .       ds #] \&
131 .\}
132 .       \" simple accents for nroff and troff
133 .if n \{\
134 .       ds ' \&
135 .       ds ` \&
136 .       ds ^ \&
137 .       ds , \&
138 .       ds ~ ~
139 .       ds ? ?
140 .       ds ! !
141 .       ds /
142 .       ds q
143 .\}
144 .if t \{\
145 .       ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
146 .       ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
147 .       ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
148 .       ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
149 .       ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
150 .       ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10'
151 .       ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m'
152 .       ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
153 .       ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10'
154 .\}
155 .       \" troff and (daisy-wheel) nroff accents
156 .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
157 .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
158 .ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#]
159 .ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u'
160 .ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u'
161 .ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#]
162 .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
163 .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
164 .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
165 .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
166 .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
167 .ds ae a\h'-(\w'a'u*4/10)'e
168 .ds Ae A\h'-(\w'A'u*4/10)'E
169 .ds oe o\h'-(\w'o'u*4/10)'e
170 .ds Oe O\h'-(\w'O'u*4/10)'E
171 .       \" corrections for vroff
172 .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
173 .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
174 .       \" for low resolution devices (crt and lpr)
175 .if \n(.H>23 .if \n(.V>19 \
176 \{\
177 .       ds : e
178 .       ds 8 ss
179 .       ds v \h'-1'\o'\(aa\(ga'
180 .       ds _ \h'-1'^
181 .       ds . \h'-1'.
182 .       ds 3 3
183 .       ds o a
184 .       ds d- d\h'-1'\(ga
185 .       ds D- D\h'-1'\(hy
186 .       ds th \o'bp'
187 .       ds Th \o'LP'
188 .       ds ae ae
189 .       ds Ae AE
190 .       ds oe oe
191 .       ds Oe OE
192 .\}
193 .rm #[ #] #H #V #F C
194 .SH "NAME"
195 gcc \- GNU project C and \*(C+ compiler
196 .SH "SYNOPSIS"
197 gcc [\fB\-c\fR|\fB\-S\fR|\fB\-E\fR] [\fB\-std=\fR\fIstandard\fR]
198     [\fB\-g\fR] [\fB\-pg\fR] [\fB\-O\fR\fIlevel\fR]
199     [\fB\-W\fR\fIwarn\fR...] [\fB\-pedantic\fR]
200     [\fB\-I\fR\fIdir\fR...] [\fB\-L\fR\fIdir\fR...]
201     [\fB\-D\fR\fImacro\fR[=\fIdefn\fR]...] [\fB\-U\fR\fImacro\fR]
202     [\fB\-f\fR\fIoption\fR...] [\fB\-m\fR\fImachine-option\fR...]
203     [\fB\-o\fR \fIoutfile\fR] \fIinfile\fR...
204 .PP
205 Only the most useful options are listed here; see below for the
206 remainder.  \fBg++\fR accepts mostly the same options as \fBgcc\fR.
207 .SH "DESCRIPTION"
208 When you invoke GCC, it normally does preprocessing, compilation,
209 assembly and linking.  The ``overall options'\*(R' allow you to stop this
210 process at an intermediate stage.  For example, the \fB\-c\fR option
211 says not to run the linker.  Then the output consists of object files
212 output by the assembler.
213 .PP
214 Other options are passed on to one stage of processing.  Some options
215 control the preprocessor and others the compiler itself.  Yet other
216 options control the assembler and linker; most of these are not
217 documented here, since you rarely need to use any of them.
218 .PP
219 Most of the command line options that you can use with GCC are useful
220 for C programs; when an option is only useful with another language
221 (usually \*(C+), the explanation says so explicitly.  If the description
222 for a particular option does not mention a source language, you can use
223 that option with all supported languages.
224 .PP
225 The \fBgcc\fR program accepts options and file names as operands.  Many
226 options have multi-letter names; therefore multiple single-letter options
227 may \fInot\fR be grouped: \fB\-dr\fR is very different from \fB\-d
228 \-r\fR.
229 .PP
230 You can mix options and other arguments.  For the most part, the order
231 you use doesn't matter.  Order does matter when you use several options
232 of the same kind; for example, if you specify \fB\-L\fR more than once,
233 the directories are searched in the order specified.
234 .PP
235 Many options have long names starting with \fB\-f\fR or with
236 \fB\-W\fR---for example, \fB\-fforce-mem\fR,
237 \fB\-fstrength-reduce\fR, \fB\-Wformat\fR and so on.  Most of
238 these have both positive and negative forms; the negative form of
239 \fB\-ffoo\fR would be \fB\-fno-foo\fR.  This manual documents
240 only one of these two forms, whichever one is not the default.
241 .SH "OPTIONS"
242 .Sh "Option Summary"
243 Here is a summary of all the options, grouped by type.  Explanations are
244 in the following sections.
245 .Ip "\fIOverall Options\fR" 4
246 \fB\-c  \-S  \-E  \-o\fR \fIfile\fR  \fB\-pipe  \-pass-exit-codes  
247 \-x\fR \fIlanguage\fR  \fB\-v  \-###  --help  --target-help  --version\fR
248 .Ip "\fIC Language Options\fR" 4
249 \fB\-ansi  \-std=\fR\fIstandard\fR  \fB\-aux-info\fR \fIfilename\fR 
250 \fB\-fno-asm  \-fno-builtin  \-fno-builtin-\fR\fIfunction\fR 
251 \fB\-fhosted  \-ffreestanding  \-fms-extensions 
252 \-trigraphs  \-no-integrated-cpp  \-traditional  \-traditional-cpp 
253 \-fallow-single-precision  \-fcond-mismatch 
254 \-fsigned-bitfields  \-fsigned-char 
255 \-funsigned-bitfields  \-funsigned-char 
256 \-fwritable-strings\fR
257 .Ip "\fI\*(C+ Language Options\fR" 4
258 \fB\-fabi-version=\fR\fIn\fR  \fB\-fno-access-control  \-fcheck-new 
259 \-fconserve-space  \-fno-const-strings 
260 \-fno-elide-constructors 
261 \-fno-enforce-eh-specs 
262 \-ffor-scope  \-fno-for-scope  \-fno-gnu-keywords 
263 \-fno-implicit-templates 
264 \-fno-implicit-inline-templates 
265 \-fno-implement-inlines  \-fms-extensions 
266 \-fno-nonansi-builtins  \-fno-operator-names 
267 \-fno-optional-diags  \-fpermissive 
268 \-frepo  \-fno-rtti  \-fstats  \-ftemplate-depth-\fR\fIn\fR 
269 \fB\-fuse-cxa-atexit  \-fno-weak  \-nostdinc++ 
270 \-fno-default-inline  \-Wabi  \-Wctor-dtor-privacy 
271 \-Wnon-virtual-dtor  \-Wreorder 
272 \-Weffc++  \-Wno-deprecated 
273 \-Wno-non-template-friend  \-Wold-style-cast 
274 \-Woverloaded-virtual  \-Wno-pmf-conversions 
275 \-Wsign-promo  \-Wsynth\fR
276 .Ip "\fIObjective-C Language Options\fR" 4
277 \fB\-fconstant-string-class=\fR\fIclass-name\fR 
278 \fB\-fgnu-runtime  \-fnext-runtime 
279 \-fno-nil-receivers 
280 \-fobjc-exceptions 
281 \-freplace-objc-classes 
282 \-fzero-link 
283 \-gen-decls 
284 \-Wno-protocol  \-Wselector \-Wundeclared-selector\fR
285 .Ip "\fILanguage Independent Options\fR" 4
286 \fB\-fmessage-length=\fR\fIn\fR  
287 \fB\-fdiagnostics-show-location=\fR[\fBonce\fR|\fBevery-line\fR]
288 .Ip "\fIWarning Options\fR" 4
289 \fB\-fsyntax-only  \-pedantic  \-pedantic-errors 
290 \-w  \-Wextra  \-Wall  \-Waggregate-return 
291 \-Wcast-align  \-Wcast-qual  \-Wchar-subscripts  \-Wcomment 
292 \-Wconversion  \-Wno-deprecated-declarations 
293 \-Wdisabled-optimization  \-Wno-div-by-zero  \-Wendif-labels 
294 \-Werror  \-Werror-implicit-function-declaration 
295 \-Wfloat-equal  \-Wformat  \-Wformat=2 
296 \-Wno-format-extra-args \-Wformat-nonliteral 
297 \-Wformat-security  \-Wformat-y2k 
298 \-Wimplicit  \-Wimplicit-function-declaration  \-Wimplicit-int 
299 \-Wimport  \-Wno-import  \-Winit-self  \-Winline 
300 \-Wno-invalid-offsetof  \-Winvalid-pch 
301 \-Wlarger-than-\fR\fIlen\fR  \fB\-Wlong-long 
302 \-Wmain  \-Wmissing-braces 
303 \-Wmissing-format-attribute  \-Wmissing-noreturn 
304 \-Wno-multichar  \-Wnonnull  \-Wpacked  \-Wpadded 
305 \-Wparentheses  \-Wpointer-arith  \-Wredundant-decls 
306 \-Wreturn-type  \-Wsequence-point  \-Wshadow 
307 \-Wsign-compare  \-Wstrict-aliasing 
308 \-Wswitch  \-Wswitch-default  \-Wswitch-enum 
309 \-Wsystem-headers  \-Wtrigraphs  \-Wundef  \-Wuninitialized 
310 \-Wunknown-pragmas  \-Wunreachable-code 
311 \-Wunused  \-Wunused-function  \-Wunused-label  \-Wunused-parameter 
312 \-Wunused-value  \-Wunused-variable  \-Wwrite-strings\fR
313 .Ip "\fIC\-only Warning Options\fR" 4
314 \fB\-Wbad-function-cast  \-Wmissing-declarations 
315 \-Wmissing-prototypes  \-Wnested-externs  \-Wold-style-definition 
316 \-Wstrict-prototypes  \-Wtraditional 
317 \-Wdeclaration-after-statement\fR
318 .Ip "\fIDebugging Options\fR" 4
319 \fB\-d\fR\fIletters\fR  \fB\-dumpspecs  \-dumpmachine  \-dumpversion 
320 \-fdump-unnumbered  \-fdump-translation-unit\fR[\fB\-\fR\fIn\fR] 
321 \fB\-fdump-class-hierarchy\fR[\fB\-\fR\fIn\fR] 
322 \fB\-fdump-tree-original\fR[\fB\-\fR\fIn\fR]  
323 \fB\-fdump-tree-optimized\fR[\fB\-\fR\fIn\fR] 
324 \fB\-fdump-tree-inlined\fR[\fB\-\fR\fIn\fR] 
325 \fB\-feliminate-dwarf2-dups \-feliminate-unused-debug-types 
326 \-feliminate-unused-debug-symbols \-fmem-report \-fprofile-arcs 
327 \-frandom-seed=\fR\fIstring\fR \fB\-fsched-verbose=\fR\fIn\fR 
328 \fB\-ftest-coverage  \-ftime-report 
329 \-g  \-g\fR\fIlevel\fR  \fB\-gcoff \-gdwarf-2 
330 \-ggdb  \-gstabs  \-gstabs+  \-gvms  \-gxcoff  \-gxcoff+ 
331 \-p  \-pg  \-print-file-name=\fR\fIlibrary\fR  \fB\-print-libgcc-file-name 
332 \-print-multi-directory  \-print-multi-lib 
333 \-print-prog-name=\fR\fIprogram\fR  \fB\-print-search-dirs  \-Q 
334 \-save-temps  \-time\fR
335 .Ip "\fIOptimization Options\fR" 4
336 \fB\-falign-functions=\fR\fIn\fR  \fB\-falign-jumps=\fR\fIn\fR 
337 \fB\-falign-labels=\fR\fIn\fR  \fB\-falign-loops=\fR\fIn\fR  
338 \fB\-fbranch-probabilities \-fprofile-values \-fvpt \-fbranch-target-load-optimize 
339 \-fbranch-target-load-optimize2 \-fcaller-saves  \-fcprop-registers 
340 \-fcse-follow-jumps  \-fcse-skip-blocks  \-fdata-sections 
341 \-fdelayed-branch  \-fdelete-null-pointer-checks 
342 \-fexpensive-optimizations  \-ffast-math  \-ffloat-store 
343 \-fforce-addr  \-fforce-mem  \-ffunction-sections 
344 \-fgcse  \-fgcse-lm  \-fgcse-sm  \-fgcse-las  \-floop-optimize 
345 \-fcrossjumping  \-fif-conversion  \-fif-conversion2 
346 \-finline-functions  \-finline-limit=\fR\fIn\fR  \fB\-fkeep-inline-functions 
347 \-fkeep-static-consts  \-fmerge-constants  \-fmerge-all-constants 
348 \-fmove-all-movables  \-fnew-ra  \-fno-branch-count-reg 
349 \-fno-default-inline  \-fno-defer-pop 
350 \-fno-function-cse  \-fno-guess-branch-probability 
351 \-fno-inline  \-fno-math-errno  \-fno-peephole  \-fno-peephole2 
352 \-funsafe-math-optimizations  \-ffinite-math-only 
353 \-fno-trapping-math  \-fno-zero-initialized-in-bss 
354 \-fomit-frame-pointer  \-foptimize-register-move 
355 \-foptimize-sibling-calls  \-fprefetch-loop-arrays 
356 \-fprofile-generate \-fprofile-use 
357 \-freduce-all-givs  \-fregmove  \-frename-registers 
358 \-freorder-blocks  \-freorder-functions 
359 \-frerun-cse-after-loop  \-frerun-loop-opt 
360 \-frounding-math \-fschedule-insns  \-fschedule-insns2 
361 \-fno-sched-interblock  \-fno-sched-spec  \-fsched-spec-load 
362 \-fsched-spec-load-dangerous  
363 \-fsched-stalled-insns=\fR\fIn\fR \fB\-sched-stalled-insns-dep=\fR\fIn\fR 
364 \fB\-fsched2-use-superblocks 
365 \-fsched2-use-traces  \-fsignaling-nans 
366 \-fsingle-precision-constant  
367 \-fstrength-reduce  \-fstrict-aliasing  \-ftracer  \-fthread-jumps 
368 \-funroll-all-loops  \-funroll-loops  \-fpeel-loops 
369 \-funswitch-loops  \-fold-unroll-loops  \-fold-unroll-all-loops 
370 --param\fR \fIname\fR\fB=\fR\fIvalue\fR
371 \fB\-O  \-O0  \-O1  \-O2  \-O3  \-Os\fR
372 .Ip "\fIPreprocessor Options\fR" 4
373 \fB\-A\fR\fIquestion\fR\fB=\fR\fIanswer\fR 
374 \fB\-A-\fR\fIquestion\fR[\fB=\fR\fIanswer\fR] 
375 \fB\-C  \-dD  \-dI  \-dM  \-dN 
376 \-D\fR\fImacro\fR[\fB=\fR\fIdefn\fR]  \fB\-E  \-H 
377 \-idirafter\fR \fIdir\fR 
378 \fB\-include\fR \fIfile\fR  \fB\-imacros\fR \fIfile\fR 
379 \fB\-iprefix\fR \fIfile\fR  \fB\-iwithprefix\fR \fIdir\fR 
380 \fB\-iwithprefixbefore\fR \fIdir\fR  \fB\-isystem\fR \fIdir\fR 
381 \fB\-M  \-\s-1MM\s0  \-\s-1MF\s0  \-\s-1MG\s0  \-\s-1MP\s0  \-\s-1MQ\s0  \-\s-1MT\s0  \-nostdinc  
382 \-P  \-fworking-directory  \-remap 
383 \-trigraphs  \-undef  \-U\fR\fImacro\fR  \fB\-Wp,\fR\fIoption\fR 
384 \fB\-Xpreprocessor\fR \fIoption\fR
385 .Ip "\fIAssembler Option\fR" 4
386 \fB\-Wa,\fR\fIoption\fR  \fB\-Xassembler\fR \fIoption\fR
387 .Ip "\fILinker Options\fR" 4
388 \fIobject-file-name\fR  \fB\-l\fR\fIlibrary\fR 
389 \fB\-nostartfiles  \-nodefaultlibs  \-nostdlib \-pie 
390 \-s  \-static  \-static-libgcc  \-shared  \-shared-libgcc  \-symbolic 
391 \-Wl,\fR\fIoption\fR  \fB\-Xlinker\fR \fIoption\fR 
392 \fB\-u\fR \fIsymbol\fR
393 .Ip "\fIDirectory Options\fR" 4
394 \fB\-B\fR\fIprefix\fR  \fB\-I\fR\fIdir\fR  \fB\-I-  \-L\fR\fIdir\fR  \fB\-specs=\fR\fIfile\fR
395 .Ip "\fITarget Options\fR" 4
396 \fB\-V\fR \fIversion\fR  \fB\-b\fR \fImachine\fR
397 .Ip "\fIMachine Dependent Options\fR" 4
398 \fIM680x0 Options\fR
399 \fB\-m68000  \-m68020  \-m68020-40  \-m68020-60  \-m68030  \-m68040 
400 \-m68060  \-mcpu32  \-m5200  \-m68881  \-mbitfield  \-mc68000  \-mc68020   
401 \-mnobitfield  \-mrtd  \-mshort  \-msoft-float  \-mpcrel 
402 \-malign-int  \-mstrict-align  \-msep-data  \-mno-sep-data 
403 \-mshared-library-id=n  \-mid-shared-library  \-mno-id-shared-library\fR
404 .Sp
405 \fIM68hc1x Options\fR
406 \fB\-m6811  \-m6812  \-m68hc11  \-m68hc12   \-m68hcs12 
407 \-mauto-incdec  \-minmax  \-mlong-calls  \-mshort 
408 \-msoft-reg-count=\fR\fIcount\fR
409 .Sp
410 \fI\s-1VAX\s0 Options\fR
411 \fB\-mg  \-mgnu  \-munix\fR
412 .Sp
413 \fI\s-1SPARC\s0 Options\fR
414 \fB\-mcpu=\fR\fIcpu-type\fR 
415 \fB\-mtune=\fR\fIcpu-type\fR 
416 \fB\-mcmodel=\fR\fIcode-model\fR 
417 \fB\-m32  \-m64  \-mapp-regs  \-mno-app-regs 
418 \-mfaster-structs  \-mno-faster-structs 
419 \-mflat  \-mno-flat  \-mfpu  \-mno-fpu 
420 \-mhard-float  \-msoft-float 
421 \-mhard-quad-float  \-msoft-quad-float 
422 \-mimpure-text  \-mno-impure-text  \-mlittle-endian 
423 \-mstack-bias  \-mno-stack-bias 
424 \-munaligned-doubles  \-mno-unaligned-doubles 
425 \-mv8plus  \-mno-v8plus  \-mvis  \-mno-vis 
426 \-mcypress  \-mf930  \-mf934 
427 \-msparclite  \-msupersparc  \-mv8\fR
428 .Sp
429 \fI\s-1ARM\s0 Options\fR
430 \fB\-mapcs-frame  \-mno-apcs-frame 
431 \-mapcs-26  \-mapcs-32 
432 \-mapcs-stack-check  \-mno-apcs-stack-check 
433 \-mapcs-float  \-mno-apcs-float 
434 \-mapcs-reentrant  \-mno-apcs-reentrant 
435 \-msched-prolog  \-mno-sched-prolog 
436 \-mlittle-endian  \-mbig-endian  \-mwords-little-endian 
437 \-malignment-traps  \-mno-alignment-traps 
438 \-msoft-float  \-mhard-float  \-mfpe 
439 \-mthumb-interwork  \-mno-thumb-interwork 
440 \-mcpu=\fR\fIname\fR  \fB\-march=\fR\fIname\fR  \fB\-mfpe=\fR\fIname\fR  
441 \fB\-mstructure-size-boundary=\fR\fIn\fR 
442 \fB\-mabort-on-noreturn 
443 \-mlong-calls  \-mno-long-calls 
444 \-msingle-pic-base  \-mno-single-pic-base 
445 \-mpic-register=\fR\fIreg\fR 
446 \fB\-mnop-fun-dllimport 
447 \-mcirrus-fix-invalid-insns \-mno-cirrus-fix-invalid-insns 
448 \-mpoke-function-name 
449 \-mthumb  \-marm 
450 \-mtpcs-frame  \-mtpcs-leaf-frame 
451 \-mcaller-super-interworking  \-mcallee-super-interworking\fR
452 .Sp
453 \fI\s-1MN10300\s0 Options\fR
454 \fB\-mmult-bug  \-mno-mult-bug 
455 \-mam33  \-mno-am33 
456 \-mam33-2  \-mno-am33-2 
457 \-mno-crt0  \-mrelax\fR
458 .Sp
459 \fIM32R/D Options\fR
460 \fB\-m32r2 \-m32rx \-m32r 
461 \-mdebug 
462 \-malign-loops \-mno-align-loops 
463 \-missue-rate=\fR\fInumber\fR 
464 \fB\-mbranch-cost=\fR\fInumber\fR 
465 \fB\-mmodel=\fR\fIcode-size-model-type\fR 
466 \fB\-msdata=\fR\fIsdata-type\fR 
467 \fB\-mno-flush-func \-mflush-func=\fR\fIname\fR 
468 \fB\-mno-flush-trap \-mflush-trap=\fR\fInumber\fR 
469 \fB\-G\fR \fInum\fR
470 .Sp
471 \fI\s-1RS/6000\s0 and PowerPC Options\fR
472 \fB\-mcpu=\fR\fIcpu-type\fR 
473 \fB\-mtune=\fR\fIcpu-type\fR 
474 \fB\-mpower  \-mno-power  \-mpower2  \-mno-power2 
475 \-mpowerpc  \-mpowerpc64  \-mno-powerpc 
476 \-maltivec  \-mno-altivec 
477 \-mpowerpc-gpopt  \-mno-powerpc-gpopt 
478 \-mpowerpc-gfxopt  \-mno-powerpc-gfxopt 
479 \-mnew-mnemonics  \-mold-mnemonics 
480 \-mfull-toc   \-mminimal-toc  \-mno-fp-in-toc  \-mno-sum-in-toc 
481 \-m64  \-m32  \-mxl-call  \-mno-xl-call  \-mpe 
482 \-malign-power  \-malign-natural 
483 \-msoft-float  \-mhard-float  \-mmultiple  \-mno-multiple 
484 \-mstring  \-mno-string  \-mupdate  \-mno-update 
485 \-mfused-madd  \-mno-fused-madd  \-mbit-align  \-mno-bit-align 
486 \-mstrict-align  \-mno-strict-align  \-mrelocatable 
487 \-mno-relocatable  \-mrelocatable-lib  \-mno-relocatable-lib 
488 \-mtoc  \-mno-toc  \-mlittle  \-mlittle-endian  \-mbig  \-mbig-endian 
489 \-mdynamic-no-pic 
490 \-mprioritize-restricted-insns=\fR\fIpriority\fR 
491 \fB\-msched-costly-dep=\fR\fIdependence_type\fR 
492 \fB\-minsert-sched-nops=\fR\fIscheme\fR 
493 \fB\-mcall-sysv  \-mcall-netbsd 
494 \-maix-struct-return  \-msvr4-struct-return 
495 \-mabi=altivec  \-mabi=no-altivec 
496 \-mabi=spe  \-mabi=no-spe 
497 \-misel=yes  \-misel=no 
498 \-mspe=yes  \-mspe=no 
499 \-mfloat-gprs=yes  \-mfloat-gprs=no 
500 \-mprototype  \-mno-prototype 
501 \-msim  \-mmvme  \-mads  \-myellowknife  \-memb  \-msdata 
502 \-msdata=\fR\fIopt\fR  \fB\-mvxworks  \-mwindiss  \-G\fR \fInum\fR  \fB\-pthread\fR
503 .Sp
504 \fIDarwin Options\fR
505 \fB\-all_load  \-allowable_client  \-arch  \-arch_errors_fatal 
506 \-arch_only  \-bind_at_load  \-bundle  \-bundle_loader 
507 \-client_name  \-compatibility_version  \-current_version 
508 \-dependency-file  \-dylib_file  \-dylinker_install_name 
509 \-dynamic  \-dynamiclib  \-exported_symbols_list 
510 \-filelist  \-flat_namespace  \-force_cpusubtype_ALL 
511 \-force_flat_namespace  \-headerpad_max_install_names 
512 \-image_base  \-init  \-install_name  \-keep_private_externs 
513 \-multi_module  \-multiply_defined  \-multiply_defined_unused 
514 \-noall_load  \-nofixprebinding \-nomultidefs  \-noprebind  \-noseglinkedit 
515 \-pagezero_size  \-prebind  \-prebind_all_twolevel_modules 
516 \-private_bundle  \-read_only_relocs  \-sectalign 
517 \-sectobjectsymbols  \-whyload  \-seg1addr 
518 \-sectcreate  \-sectobjectsymbols  \-sectorder 
519 \-seg_addr_table  \-seg_addr_table_filename  \-seglinkedit 
520 \-segprot  \-segs_read_only_addr  \-segs_read_write_addr 
521 \-single_module  \-static  \-sub_library  \-sub_umbrella 
522 \-twolevel_namespace  \-umbrella  \-undefined 
523 \-unexported_symbols_list  \-weak_reference_mismatches 
524 \-whatsloaded\fR
525 .Sp
526 \fI\s-1MIPS\s0 Options\fR
527 \fB\-\s-1EL\s0  \-\s-1EB\s0  \-march=\fR\fIarch\fR  \fB\-mtune=\fR\fIarch\fR 
528 \fB\-mips1  \-mips2  \-mips3  \-mips4  \-mips32  \-mips32r2  \-mips64 
529 \-mips16  \-mno-mips16  \-mabi=\fR\fIabi\fR  \fB\-mabicalls  \-mno-abicalls 
530 \-mxgot  \-mno-xgot  \-membedded-pic  \-mno-embedded-pic 
531 \-mgp32  \-mgp64  \-mfp32  \-mfp64  \-mhard-float  \-msoft-float 
532 \-msingle-float  \-mdouble-float  \-mint64  \-mlong64  \-mlong32 
533 \-G\fR\fInum\fR  \fB\-membedded-data  \-mno-embedded-data 
534 \-muninit-const-in-rodata  \-mno-uninit-const-in-rodata 
535 \-msplit-addresses  \-mno-split-addresses  
536 \-mexplicit-relocs  \-mno-explicit-relocs  
537 \-mrnames  \-mno-rnames 
538 \-mcheck-zero-division  \-mno-check-zero-division 
539 \-mmemcpy  \-mno-memcpy  \-mlong-calls  \-mno-long-calls 
540 \-mmad  \-mno-mad  \-mfused-madd  \-mno-fused-madd  \-nocpp 
541 \-mfix-sb1  \-mno-fix-sb1  \-mflush-func=\fR\fIfunc\fR 
542 \fB\-mno-flush-func  \-mbranch-likely  \-mno-branch-likely\fR
543 .Sp
544 \fIi386 and x86-64 Options\fR
545 \fB\-mtune=\fR\fIcpu-type\fR  \fB\-march=\fR\fIcpu-type\fR 
546 \fB\-mfpmath=\fR\fIunit\fR 
547 \fB\-masm=\fR\fIdialect\fR  \fB\-mno-fancy-math-387 
548 \-mno-fp-ret-in-387  \-msoft-float  \-msvr3-shlib 
549 \-mno-wide-multiply  \-mrtd  \-malign-double 
550 \-mpreferred-stack-boundary=\fR\fInum\fR 
551 \fB\-mmmx  \-msse  \-msse2 \-msse3 \-m3dnow 
552 \-mthreads  \-mno-align-stringops  \-minline-all-stringops 
553 \-mpush-args  \-maccumulate-outgoing-args  \-m128bit-long-double 
554 \-m96bit-long-double  \-mregparm=\fR\fInum\fR  \fB\-momit-leaf-frame-pointer 
555 \-mno-red-zone \-mno-tls-direct-seg-refs 
556 \-mcmodel=\fR\fIcode-model\fR 
557 \fB\-m32  \-m64\fR
558 .Sp
559 \fI\s-1HPPA\s0 Options\fR
560 \fB\-march=\fR\fIarchitecture-type\fR 
561 \fB\-mbig-switch  \-mdisable-fpregs  \-mdisable-indexing 
562 \-mfast-indirect-calls  \-mgas  \-mgnu-ld   \-mhp-ld 
563 \-mjump-in-delay \-mlinker-opt \-mlong-calls 
564 \-mlong-load-store  \-mno-big-switch  \-mno-disable-fpregs 
565 \-mno-disable-indexing  \-mno-fast-indirect-calls  \-mno-gas 
566 \-mno-jump-in-delay  \-mno-long-load-store 
567 \-mno-portable-runtime  \-mno-soft-float 
568 \-mno-space-regs  \-msoft-float  \-mpa-risc-1-0 
569 \-mpa-risc-1-1  \-mpa-risc-2-0  \-mportable-runtime 
570 \-mschedule=\fR\fIcpu-type\fR  \fB\-mspace-regs  \-msio  \-mwsio 
571 \-nolibdld  \-static  \-threads\fR
572 .Sp
573 \fIIntel 960 Options\fR
574 \fB\-m\fR\fIcpu-type\fR  \fB\-masm-compat  \-mclean-linkage 
575 \-mcode-align  \-mcomplex-addr  \-mleaf-procedures 
576 \-mic-compat  \-mic2.0-compat  \-mic3.0-compat 
577 \-mintel-asm  \-mno-clean-linkage  \-mno-code-align 
578 \-mno-complex-addr  \-mno-leaf-procedures 
579 \-mno-old-align  \-mno-strict-align  \-mno-tail-call 
580 \-mnumerics  \-mold-align  \-msoft-float  \-mstrict-align 
581 \-mtail-call\fR
582 .Sp
583 \fI\s-1DEC\s0 Alpha Options\fR
584 \fB\-mno-fp-regs  \-msoft-float  \-malpha-as  \-mgas 
585 \-mieee  \-mieee-with-inexact  \-mieee-conformant 
586 \-mfp-trap-mode=\fR\fImode\fR  \fB\-mfp-rounding-mode=\fR\fImode\fR 
587 \fB\-mtrap-precision=\fR\fImode\fR  \fB\-mbuild-constants 
588 \-mcpu=\fR\fIcpu-type\fR  \fB\-mtune=\fR\fIcpu-type\fR 
589 \fB\-mbwx  \-mmax  \-mfix  \-mcix 
590 \-mfloat-vax  \-mfloat-ieee 
591 \-mexplicit-relocs  \-msmall-data  \-mlarge-data 
592 \-msmall-text  \-mlarge-text 
593 \-mmemory-latency=\fR\fItime\fR
594 .Sp
595 \fI\s-1DEC\s0 Alpha/\s-1VMS\s0 Options\fR
596 \fB\-mvms-return-codes\fR
597 .Sp
598 \fIH8/300 Options\fR
599 \fB\-mrelax  \-mh  \-ms  \-mn  \-mint32  \-malign-300\fR
600 .Sp
601 \fI\s-1SH\s0 Options\fR
602 \fB\-m1  \-m2  \-m2e  \-m3  \-m3e 
603 \-m4-nofpu  \-m4-single-only  \-m4-single  \-m4 
604 \-m5-64media  \-m5-64media-nofpu 
605 \-m5-32media  \-m5-32media-nofpu 
606 \-m5-compact  \-m5-compact-nofpu 
607 \-mb  \-ml  \-mdalign  \-mrelax 
608 \-mbigtable  \-mfmovd  \-mhitachi  \-mnomacsave 
609 \-mieee  \-misize  \-mpadstruct  \-mspace 
610 \-mprefergot  \-musermode\fR
611 .Sp
612 \fISystem V Options\fR
613 \fB\-Qy  \-Qn  \-\s-1YP\s0,\fR\fIpaths\fR  \fB\-Ym,\fR\fIdir\fR
614 .Sp
615 \fI\s-1ARC\s0 Options\fR
616 \fB\-\s-1EB\s0  \-\s-1EL\s0 
617 \-mmangle-cpu  \-mcpu=\fR\fIcpu\fR  \fB\-mtext=\fR\fItext-section\fR 
618 \fB\-mdata=\fR\fIdata-section\fR  \fB\-mrodata=\fR\fIreadonly-data-section\fR
619 .Sp
620 \fITMS320C3x/C4x Options\fR
621 \fB\-mcpu=\fR\fIcpu\fR  \fB\-mbig  \-msmall  \-mregparm  \-mmemparm 
622 \-mfast-fix  \-mmpyi  \-mbk  \-mti  \-mdp-isr-reload 
623 \-mrpts=\fR\fIcount\fR  \fB\-mrptb  \-mdb  \-mloop-unsigned 
624 \-mparallel-insns  \-mparallel-mpy  \-mpreserve-float\fR
625 .Sp
626 \fIV850 Options\fR
627 \fB\-mlong-calls  \-mno-long-calls  \-mep  \-mno-ep 
628 \-mprolog-function  \-mno-prolog-function  \-mspace 
629 \-mtda=\fR\fIn\fR  \fB\-msda=\fR\fIn\fR  \fB\-mzda=\fR\fIn\fR 
630 \fB\-mapp-regs  \-mno-app-regs 
631 \-mdisable-callt  \-mno-disable-callt 
632 \-mv850e1 
633 \-mv850e 
634 \-mv850  \-mbig-switch\fR
635 .Sp
636 \fI\s-1NS32K\s0 Options\fR
637 \fB\-m32032  \-m32332  \-m32532  \-m32081  \-m32381 
638 \-mmult-add  \-mnomult-add  \-msoft-float  \-mrtd  \-mnortd 
639 \-mregparam  \-mnoregparam  \-msb  \-mnosb 
640 \-mbitfield  \-mnobitfield  \-mhimem  \-mnohimem\fR
641 .Sp
642 \fI\s-1AVR\s0 Options\fR
643 \fB\-mmcu=\fR\fImcu\fR  \fB\-msize  \-minit-stack=\fR\fIn\fR  \fB\-mno-interrupts 
644 \-mcall-prologues  \-mno-tablejump  \-mtiny-stack\fR
645 .Sp
646 \fIMCore Options\fR
647 \fB\-mhardlit  \-mno-hardlit  \-mdiv  \-mno-div  \-mrelax-immediates 
648 \-mno-relax-immediates  \-mwide-bitfields  \-mno-wide-bitfields 
649 \-m4byte-functions  \-mno-4byte-functions  \-mcallgraph-data 
650 \-mno-callgraph-data  \-mslow-bytes  \-mno-slow-bytes  \-mno-lsim 
651 \-mlittle-endian  \-mbig-endian  \-m210  \-m340  \-mstack-increment\fR
652 .Sp
653 \fI\s-1MMIX\s0 Options\fR
654 \fB\-mlibfuncs  \-mno-libfuncs  \-mepsilon  \-mno-epsilon  \-mabi=gnu 
655 \-mabi=mmixware  \-mzero-extend  \-mknuthdiv  \-mtoplevel-symbols 
656 \-melf  \-mbranch-predict  \-mno-branch-predict  \-mbase-addresses 
657 \-mno-base-addresses  \-msingle-exit  \-mno-single-exit\fR
658 .Sp
659 \fI\s-1IA\s0\-64 Options\fR
660 \fB\-mbig-endian  \-mlittle-endian  \-mgnu-as  \-mgnu-ld  \-mno-pic 
661 \-mvolatile-asm-stop  \-mb-step  \-mregister-names  \-mno-sdata 
662 \-mconstant-gp  \-mauto-pic  \-minline-float-divide-min-latency 
663 \-minline-float-divide-max-throughput 
664 \-minline-int-divide-min-latency 
665 \-minline-int-divide-max-throughput  \-mno-dwarf2-asm 
666 \-mfixed-range=\fR\fIregister-range\fR
667 .Sp
668 \fID30V Options\fR
669 \fB\-mextmem  \-mextmemory  \-monchip  \-mno-asm-optimize 
670 \-masm-optimize  \-mbranch-cost=\fR\fIn\fR  \fB\-mcond-exec=\fR\fIn\fR
671 .Sp
672 \fIS/390 and zSeries Options\fR
673 \fB\-mtune=\fR\fIcpu-type\fR  \fB\-march=\fR\fIcpu-type\fR 
674 \fB\-mhard-float  \-msoft-float  \-mbackchain  \-mno-backchain 
675 \-msmall-exec  \-mno-small-exec  \-mmvcle \-mno-mvcle 
676 \-m64  \-m31  \-mdebug  \-mno-debug  \-mesa  \-mzarch  \-mfused-madd  \-mno-fused-madd\fR
677 .Sp
678 \fI\s-1CRIS\s0 Options\fR
679 \fB\-mcpu=\fR\fIcpu\fR  \fB\-march=\fR\fIcpu\fR  \fB\-mtune=\fR\fIcpu\fR 
680 \fB\-mmax-stack-frame=\fR\fIn\fR  \fB\-melinux-stacksize=\fR\fIn\fR 
681 \fB\-metrax4  \-metrax100  \-mpdebug  \-mcc-init  \-mno-side-effects 
682 \-mstack-align  \-mdata-align  \-mconst-align 
683 \-m32-bit  \-m16-bit  \-m8-bit  \-mno-prologue-epilogue  \-mno-gotplt 
684 \-melf  \-maout  \-melinux  \-mlinux  \-sim  \-sim2 
685 \-mmul-bug-workaround  \-mno-mul-bug-workaround\fR
686 .Sp
687 \fI\s-1PDP\s0\-11 Options\fR
688 \fB\-mfpu  \-msoft-float  \-mac0  \-mno-ac0  \-m40  \-m45  \-m10 
689 \-mbcopy  \-mbcopy-builtin  \-mint32  \-mno-int16 
690 \-mint16  \-mno-int32  \-mfloat32  \-mno-float64 
691 \-mfloat64  \-mno-float32  \-mabshi  \-mno-abshi 
692 \-mbranch-expensive  \-mbranch-cheap 
693 \-msplit  \-mno-split  \-munix-asm  \-mdec-asm\fR
694 .Sp
695 \fIXstormy16 Options\fR
696 \fB\-msim\fR
697 .Sp
698 \fIXtensa Options\fR
699 \fB\-mconst16 \-mno-const16 
700 \-mfused-madd  \-mno-fused-madd 
701 \-mtext-section-literals  \-mno-text-section-literals 
702 \-mtarget-align  \-mno-target-align 
703 \-mlongcalls  \-mno-longcalls\fR
704 .Sp
705 \fI\s-1FRV\s0 Options\fR
706 \fB\-mgpr-32  \-mgpr-64  \-mfpr-32  \-mfpr-64 
707 \-mhard-float  \-msoft-float 
708 \-malloc-cc  \-mfixed-cc  \-mdword  \-mno-dword 
709 \-mdouble  \-mno-double 
710 \-mmedia  \-mno-media  \-mmuladd  \-mno-muladd 
711 \-mlibrary-pic  \-macc-4 \-macc-8 
712 \-mpack  \-mno-pack  \-mno-eflags  \-mcond-move  \-mno-cond-move 
713 \-mscc  \-mno-scc  \-mcond-exec  \-mno-cond-exec 
714 \-mvliw-branch  \-mno-vliw-branch 
715 \-mmulti-cond-exec  \-mno-multi-cond-exec  \-mnested-cond-exec 
716 \-mno-nested-cond-exec  \-mtomcat-stats 
717 \-mcpu=\fR\fIcpu\fR
718 .Ip "\fICode Generation Options\fR" 4
719 \fB\-fcall-saved-\fR\fIreg\fR  \fB\-fcall-used-\fR\fIreg\fR 
720 \fB\-ffixed-\fR\fIreg\fR  \fB\-fexceptions 
721 \-fnon-call-exceptions  \-funwind-tables 
722 \-fasynchronous-unwind-tables 
723 \-finhibit-size-directive  \-finstrument-functions 
724 \-fno-common  \-fno-ident 
725 \-fpcc-struct-return  \-fpic  \-fPIC \-fpie \-fPIE 
726 \-freg-struct-return  \-fshared-data  \-fshort-enums 
727 \-fshort-double  \-fshort-wchar 
728 \-fverbose-asm  \-fpack-struct  \-fstack-check 
729 \-fstack-limit-register=\fR\fIreg\fR  \fB\-fstack-limit-symbol=\fR\fIsym\fR 
730 \fB\-fargument-alias  \-fargument-noalias 
731 \-fargument-noalias-global  \-fleading-underscore 
732 \-ftls-model=\fR\fImodel\fR 
733 \fB\-ftrapv  \-fwrapv  \-fbounds-check\fR
734 .Sh "Options Controlling the Kind of Output"
735 Compilation can involve up to four stages: preprocessing, compilation
736 proper, assembly and linking, always in that order.  \s-1GCC\s0 is capable of
737 preprocessing and compiling several files either into several
738 assembler input files, or into one assembler input file; then each
739 assembler input file produces an object file, and linking combines all
740 the object files (those newly compiled, and those specified as input)
741 into an executable file.
742 .PP
743 For any given input file, the file name suffix determines what kind of
744 compilation is done:
745 .Ip "\fIfile\fR\fB.c\fR" 4
746 C source code which must be preprocessed.
747 .Ip "\fIfile\fR\fB.i\fR" 4
748 C source code which should not be preprocessed.
749 .Ip "\fIfile\fR\fB.ii\fR" 4
750 \*(C+ source code which should not be preprocessed.
751 .Ip "\fIfile\fR\fB.m\fR" 4
752 Objective-C source code.  Note that you must link with the library
753 \fIlibobjc.a\fR to make an Objective-C program work.
754 .Ip "\fIfile\fR\fB.mi\fR" 4
755 Objective-C source code which should not be preprocessed.
756 .Ip "\fIfile\fR\fB.h\fR" 4
757 C or \*(C+ header file to be turned into a precompiled header.
758 .Ip "\fIfile\fR\fB.cc\fR" 4
759 .Ip "\fIfile\fR\fB.cp\fR" 4
760 .Ip "\fIfile\fR\fB.cxx\fR" 4
761 .Ip "\fIfile\fR\fB.cpp\fR" 4
762 .Ip "\fIfile\fR\fB.\s-1CPP\s0\fR" 4
763 .Ip "\fIfile\fR\fB.c++\fR" 4
764 .Ip "\fIfile\fR\fB.C\fR" 4
765 \*(C+ source code which must be preprocessed.  Note that in \fB.cxx\fR,
766 the last two letters must both be literally \fBx\fR.  Likewise,
767 \&\fB.C\fR refers to a literal capital C.
768 .Ip "\fIfile\fR\fB.hh\fR" 4
769 .Ip "\fIfile\fR\fB.H\fR" 4
770 \*(C+ header file to be turned into a precompiled header.
771 .Ip "\fIfile\fR\fB.f\fR" 4
772 .Ip "\fIfile\fR\fB.for\fR" 4
773 .Ip "\fIfile\fR\fB.\s-1FOR\s0\fR" 4
774 Fortran source code which should not be preprocessed.
775 .Ip "\fIfile\fR\fB.F\fR" 4
776 .Ip "\fIfile\fR\fB.fpp\fR" 4
777 .Ip "\fIfile\fR\fB.\s-1FPP\s0\fR" 4
778 Fortran source code which must be preprocessed (with the traditional
779 preprocessor).
780 .Ip "\fIfile\fR\fB.r\fR" 4
781 Fortran source code which must be preprocessed with a \s-1RATFOR\s0
782 preprocessor (not included with \s-1GCC\s0).
783 .Ip "\fIfile\fR\fB.ads\fR" 4
784 Ada source code file which contains a library unit declaration (a
785 declaration of a package, subprogram, or generic, or a generic
786 instantiation), or a library unit renaming declaration (a package,
787 generic, or subprogram renaming declaration).  Such files are also
788 called \fIspecs\fR.
789 .Ip "\fIfile\fR\fB.adb\fR" 4
790 Ada source code file containing a library unit body (a subprogram or
791 package body).  Such files are also called \fIbodies\fR.
792 .Ip "\fIfile\fR\fB.s\fR" 4
793 Assembler code.
794 .Ip "\fIfile\fR\fB.S\fR" 4
795 Assembler code which must be preprocessed.
796 .Ip "\fIother\fR" 4
797 An object file to be fed straight into linking.
798 Any file name with no recognized suffix is treated this way.
799 .PP
800 You can specify the input language explicitly with the \fB\-x\fR option:
801 .Ip "\fB\-x\fR \fIlanguage\fR" 4
802 Specify explicitly the \fIlanguage\fR for the following input files
803 (rather than letting the compiler choose a default based on the file
804 name suffix).  This option applies to all following input files until
805 the next \fB\-x\fR option.  Possible values for \fIlanguage\fR are:
806         
807         c  c-header  cpp-output
808         c++  c++\-header  c++\-cpp-output
809         objective-c  objective-c-header  objc-cpp-output
810         assembler  assembler-with-cpp
811         ada
812         f77  f77-cpp-input  ratfor
813         java
814         treelang
815 .Ip "\fB\-x none\fR" 4
816 Turn off any specification of a language, so that subsequent files are
817 handled according to their file name suffixes (as they are if \fB\-x\fR
818 has not been used at all).
819 .Ip "\fB\-pass-exit-codes\fR" 4
820 Normally the \fBgcc\fR program will exit with the code of 1 if any
821 phase of the compiler returns a non-success return code.  If you specify
822 \fB\-pass-exit-codes\fR, the \fBgcc\fR program will instead return with
823 numerically highest error produced by any phase that returned an error
824 indication.
825 .PP
826 If you only want some of the stages of compilation, you can use
827 \fB\-x\fR (or filename suffixes) to tell \fBgcc\fR where to start, and
828 one of the options \fB\-c\fR, \fB\-S\fR, or \fB\-E\fR to say where
829 \fBgcc\fR is to stop.  Note that some combinations (for example,
830 \fB\-x cpp-output \-E\fR) instruct \fBgcc\fR to do nothing at all.
831 .Ip "\fB\-c\fR" 4
832 Compile or assemble the source files, but do not link.  The linking
833 stage simply is not done.  The ultimate output is in the form of an
834 object file for each source file.
835 .Sp
836 By default, the object file name for a source file is made by replacing
837 the suffix \fB.c\fR, \fB.i\fR, \fB.s\fR, etc., with \fB.o\fR.
838 .Sp
839 Unrecognized input files, not requiring compilation or assembly, are
840 ignored.
841 .Ip "\fB\-S\fR" 4
842 Stop after the stage of compilation proper; do not assemble.  The output
843 is in the form of an assembler code file for each non-assembler input
844 file specified.
845 .Sp
846 By default, the assembler file name for a source file is made by
847 replacing the suffix \fB.c\fR, \fB.i\fR, etc., with \fB.s\fR.
848 .Sp
849 Input files that don't require compilation are ignored.
850 .Ip "\fB\-E\fR" 4
851 Stop after the preprocessing stage; do not run the compiler proper.  The
852 output is in the form of preprocessed source code, which is sent to the
853 standard output.
854 .Sp
855 Input files which don't require preprocessing are ignored.
856 .Ip "\fB\-o\fR \fIfile\fR" 4
857 Place output in file \fIfile\fR.  This applies regardless to whatever
858 sort of output is being produced, whether it be an executable file,
859 an object file, an assembler file or preprocessed C code.
860 .Sp
861 If you specify \fB\-o\fR when compiling more than one input file, or
862 you are producing an executable file as output, all the source files
863 on the command line will be compiled at once.
864 .Sp
865 If \fB\-o\fR is not specified, the default is to put an executable file
866 in \fIa.out\fR, the object file for \fI\fIsource\fR.\fIsuffix\fR\fR in
867 \fI\fIsource\fR.o\fR, its assembler file in \fI\fIsource\fR.s\fR, and
868 all preprocessed C source on standard output.
869 .Ip "\fB\-v\fR" 4
870 Print (on standard error output) the commands executed to run the stages
871 of compilation.  Also print the version number of the compiler driver
872 program and of the preprocessor and the compiler proper.
873 .Ip "\fB\-###\fR" 4
874 Like \fB\-v\fR except the commands are not executed and all command
875 arguments are quoted.  This is useful for shell scripts to capture the
876 driver-generated command lines.
877 .Ip "\fB\-pipe\fR" 4
878 Use pipes rather than temporary files for communication between the
879 various stages of compilation.  This fails to work on some systems where
880 the assembler is unable to read from a pipe; but the \s-1GNU\s0 assembler has
881 no trouble.
882 .Ip "\fB--help\fR" 4
883 Print (on the standard output) a description of the command line options
884 understood by \fBgcc\fR.  If the \fB\-v\fR option is also specified
885 then \fB--help\fR will also be passed on to the various processes
886 invoked by \fBgcc\fR, so that they can display the command line options
887 they accept.  If the \fB\-Wextra\fR option is also specified then command
888 line options which have no documentation associated with them will also
889 be displayed.
890 .Ip "\fB--target-help\fR" 4
891 Print (on the standard output) a description of target specific command
892 line options for each tool.
893 .Ip "\fB--version\fR" 4
894 Display the version number and copyrights of the invoked \s-1GCC\s0.
895 .Sh "Compiling \*(C+ Programs"
896 \*(C+ source files conventionally use one of the suffixes \fB.C\fR,
897 \&\fB.cc\fR, \fB.cpp\fR, \fB.\s-1CPP\s0\fR, \fB.c++\fR, \fB.cp\fR, or
898 \&\fB.cxx\fR; \*(C+ header files often use \fB.hh\fR or \fB.H\fR; and
899 preprocessed \*(C+ files use the suffix \fB.ii\fR.  \s-1GCC\s0 recognizes
900 files with these names and compiles them as \*(C+ programs even if you
901 call the compiler the same way as for compiling C programs (usually
902 with the name \fBgcc\fR).
903 .PP
904 However, \*(C+ programs often require class libraries as well as a
905 compiler that understands the \*(C+ language---and under some
906 circumstances, you might want to compile programs or header files from
907 standard input, or otherwise without a suffix that flags them as \*(C+
908 programs.  You might also like to precompile a C header file with a
909 \&\fB.h\fR extension to be used in \*(C+ compilations.  \fBg++\fR is a
910 program that calls \s-1GCC\s0 with the default language set to \*(C+, and
911 automatically specifies linking against the \*(C+ library.  On many
912 systems, \fBg++\fR is also installed with the name \fBc++\fR.
913 .PP
914 When you compile \*(C+ programs, you may specify many of the same
915 command-line options that you use for compiling programs in any
916 language; or command-line options meaningful for C and related
917 languages; or options that are meaningful only for \*(C+ programs.
918 .Sh "Options Controlling C Dialect"
919 The following options control the dialect of C (or languages derived
920 from C, such as \*(C+ and Objective-C) that the compiler accepts:
921 .Ip "\fB\-ansi\fR" 4
922 In C mode, support all \s-1ISO\s0 C90 programs.  In \*(C+ mode,
923 remove \s-1GNU\s0 extensions that conflict with \s-1ISO\s0 \*(C+.
924 .Sp
925 This turns off certain features of \s-1GCC\s0 that are incompatible with \s-1ISO\s0
926 C90 (when compiling C code), or of standard \*(C+ (when compiling \*(C+ code),
927 such as the \f(CWasm\fR and \f(CWtypeof\fR keywords, and
928 predefined macros such as \f(CWunix\fR and \f(CWvax\fR that identify the
929 type of system you are using.  It also enables the undesirable and
930 rarely used \s-1ISO\s0 trigraph feature.  For the C compiler,
931 it disables recognition of \*(C+ style \fB//\fR comments as well as
932 the \f(CWinline\fR keyword.
933 .Sp
934 The alternate keywords \f(CW__asm__\fR, \f(CW__extension__\fR,
935 \f(CW__inline__\fR and \f(CW__typeof__\fR continue to work despite
936 \fB\-ansi\fR.  You would not want to use them in an \s-1ISO\s0 C program, of
937 course, but it is useful to put them in header files that might be included
938 in compilations done with \fB\-ansi\fR.  Alternate predefined macros
939 such as \f(CW__unix__\fR and \f(CW__vax__\fR are also available, with or
940 without \fB\-ansi\fR.
941 .Sp
942 The \fB\-ansi\fR option does not cause non-\s-1ISO\s0 programs to be
943 rejected gratuitously.  For that, \fB\-pedantic\fR is required in
944 addition to \fB\-ansi\fR.  
945 .Sp
946 The macro \f(CW__STRICT_ANSI__\fR is predefined when the \fB\-ansi\fR
947 option is used.  Some header files may notice this macro and refrain
948 from declaring certain functions or defining certain macros that the
949 \s-1ISO\s0 standard doesn't call for; this is to avoid interfering with any
950 programs that might use these names for other things.
951 .Sp
952 Functions which would normally be built in but do not have semantics
953 defined by \s-1ISO\s0 C (such as \f(CWalloca\fR and \f(CWffs\fR) are not built-in
954 functions with \fB\-ansi\fR is used.  
955 .Ip "\fB\-std=\fR" 4
956 Determine the language standard.  This option is currently only
957 supported when compiling C or \*(C+.  A value for this option must be
958 provided; possible values are
959 .Ip "\fBc89\fR" 8
960 .Ip "\fBiso9899:1990\fR" 8
961 \s-1ISO\s0 C90 (same as \fB\-ansi\fR).
962 .Ip "\fBiso9899:199409\fR" 8
963 \s-1ISO\s0 C90 as modified in amendment 1.
964 .Ip "\fBc99\fR" 8
965 .Ip "\fBc9x\fR" 8
966 .Ip "\fBiso9899:1999\fR" 8
967 .Ip "\fBiso9899:199x\fR" 8
968 \s-1ISO\s0 C99.  Note that this standard is not yet fully supported; see
969 <\fBhttp://gcc.gnu.org/gcc-3.4/c99status.html\fR> for more information.  The
970 names \fBc9x\fR and \fBiso9899:199x\fR are deprecated.
971 .Ip "\fBgnu89\fR" 8
972 Default, \s-1ISO\s0 C90 plus \s-1GNU\s0 extensions (including some C99 features).
973 .Ip "\fBgnu99\fR" 8
974 .Ip "\fBgnu9x\fR" 8
975 \s-1ISO\s0 C99 plus \s-1GNU\s0 extensions.  When \s-1ISO\s0 C99 is fully implemented in \s-1GCC\s0,
976 this will become the default.  The name \fBgnu9x\fR is deprecated.
977 .Ip "\fBc++98\fR" 8
978 The 1998 \s-1ISO\s0 \*(C+ standard plus amendments.
979 .Ip "\fBgnu++98\fR" 8
980 The same as \fB\-std=c++98\fR plus \s-1GNU\s0 extensions.  This is the
981 default for \*(C+ code.
982 .Sp
983 Even when this option is not specified, you can still use some of the
984 features of newer standards in so far as they do not conflict with
985 previous C standards.  For example, you may use \f(CW__restrict__\fR even
986 when \fB\-std=c99\fR is not specified.
987 .Sp
988 The \fB\-std\fR options specifying some version of \s-1ISO\s0 C have the same
989 effects as \fB\-ansi\fR, except that features that were not in \s-1ISO\s0 C90
990 but are in the specified version (for example, \fB//\fR comments and
991 the \f(CWinline\fR keyword in \s-1ISO\s0 C99) are not disabled.
992 .Ip "\fB\-aux-info\fR \fIfilename\fR" 4
993 Output to the given filename prototyped declarations for all functions
994 declared and/or defined in a translation unit, including those in header
995 files.  This option is silently ignored in any language other than C.
996 .Sp
997 Besides declarations, the file indicates, in comments, the origin of
998 each declaration (source file and line), whether the declaration was
999 implicit, prototyped or unprototyped (\fBI\fR, \fBN\fR for new or
1000 \fBO\fR for old, respectively, in the first character after the line
1001 number and the colon), and whether it came from a declaration or a
1002 definition (\fBC\fR or \fBF\fR, respectively, in the following
1003 character).  In the case of function definitions, a K&R\-style list of
1004 arguments followed by their declarations is also provided, inside
1005 comments, after the declaration.
1006 .Ip "\fB\-fno-asm\fR" 4
1007 Do not recognize \f(CWasm\fR, \f(CWinline\fR or \f(CWtypeof\fR as a
1008 keyword, so that code can use these words as identifiers.  You can use
1009 the keywords \f(CW__asm__\fR, \f(CW__inline__\fR and \f(CW__typeof__\fR
1010 instead.  \fB\-ansi\fR implies \fB\-fno-asm\fR.
1011 .Sp
1012 In \*(C+, this switch only affects the \f(CWtypeof\fR keyword, since
1013 \f(CWasm\fR and \f(CWinline\fR are standard keywords.  You may want to
1014 use the \fB\-fno-gnu-keywords\fR flag instead, which has the same
1015 effect.  In C99 mode (\fB\-std=c99\fR or \fB\-std=gnu99\fR), this
1016 switch only affects the \f(CWasm\fR and \f(CWtypeof\fR keywords, since
1017 \f(CWinline\fR is a standard keyword in \s-1ISO\s0 C99.
1018 .Ip "\fB\-fno-builtin\fR" 4
1019 .Ip "\fB\-fno-builtin-\fR\fIfunction\fR" 4
1020 Don't recognize built-in functions that do not begin with
1021 \fB_\|_builtin_\fR as prefix.  
1022 .Sp
1023 \s-1GCC\s0 normally generates special code to handle certain built-in functions
1024 more efficiently; for instance, calls to \f(CWalloca\fR may become single
1025 instructions that adjust the stack directly, and calls to \f(CWmemcpy\fR
1026 may become inline copy loops.  The resulting code is often both smaller
1027 and faster, but since the function calls no longer appear as such, you
1028 cannot set a breakpoint on those calls, nor can you change the behavior
1029 of the functions by linking with a different library.
1030 .Sp
1031 With the \fB\-fno-builtin-\fR\fIfunction\fR option
1032 only the built-in function \fIfunction\fR is
1033 disabled.  \fIfunction\fR must not begin with \fB_\|_builtin_\fR.  If a
1034 function is named this is not built-in in this version of \s-1GCC\s0, this
1035 option is ignored.  There is no corresponding
1036 \fB\-fbuiltin-\fR\fIfunction\fR option; if you wish to enable
1037 built-in functions selectively when using \fB\-fno-builtin\fR or
1038 \fB\-ffreestanding\fR, you may define macros such as:
1039 .Sp
1040 .Vb 3
1041 \&        
1042 \&        #define abs(n)          __builtin_abs ((n))
1043 \&        #define strcpy(d, s)    __builtin_strcpy ((d), (s))
1044 .Ve
1045 .Ip "\fB\-fhosted\fR" 4
1046 Assert that compilation takes place in a hosted environment.  This implies
1047 \fB\-fbuiltin\fR.  A hosted environment is one in which the
1048 entire standard library is available, and in which \f(CWmain\fR has a return
1049 type of \f(CWint\fR.  Examples are nearly everything except a kernel.
1050 This is equivalent to \fB\-fno-freestanding\fR.
1051 .Ip "\fB\-ffreestanding\fR" 4
1052 Assert that compilation takes place in a freestanding environment.  This
1053 implies \fB\-fno-builtin\fR.  A freestanding environment
1054 is one in which the standard library may not exist, and program startup may
1055 not necessarily be at \f(CWmain\fR.  The most obvious example is an \s-1OS\s0 kernel.
1056 This is equivalent to \fB\-fno-hosted\fR.
1057 .Ip "\fB\-fms-extensions\fR" 4
1058 Accept some non-standard constructs used in Microsoft header files.
1059 .Ip "\fB\-trigraphs\fR" 4
1060 Support \s-1ISO\s0 C trigraphs.  The \fB\-ansi\fR option (and \fB\-std\fR
1061 options for strict \s-1ISO\s0 C conformance) implies \fB\-trigraphs\fR.
1062 .Ip "\fB\-no-integrated-cpp\fR" 4
1063 Performs a compilation in two passes: preprocessing and compiling.  This
1064 option allows a user supplied \*(L"cc1\*(R", \*(L"cc1plus\*(R", or \*(L"cc1obj\*(R" via the
1065 \fB\-B\fR option. The user supplied compilation step can then add in
1066 an additional preprocessing step after normal preprocessing but before
1067 compiling. The default is to use the integrated cpp (internal cpp)
1068 .Sp
1069 The semantics of this option will change if \*(L"cc1\*(R", \*(L"cc1plus\*(R", and
1070 \*(L"cc1obj\*(R" are merged.
1071 .Ip "\fB\-traditional\fR" 4
1072 .Ip "\fB\-traditional-cpp\fR" 4
1073 Formerly, these options caused \s-1GCC\s0 to attempt to emulate a pre-standard
1074 C compiler.  They are now only supported with the \fB\-E\fR switch.
1075 The preprocessor continues to support a pre-standard mode.  See the \s-1GNU\s0
1076 \s-1CPP\s0 manual for details.
1077 .Ip "\fB\-fcond-mismatch\fR" 4
1078 Allow conditional expressions with mismatched types in the second and
1079 third arguments.  The value of such an expression is void.  This option
1080 is not supported for \*(C+.
1081 .Ip "\fB\-funsigned-char\fR" 4
1082 Let the type \f(CWchar\fR be unsigned, like \f(CWunsigned char\fR.
1083 .Sp
1084 Each kind of machine has a default for what \f(CWchar\fR should
1085 be.  It is either like \f(CWunsigned char\fR by default or like
1086 \f(CWsigned char\fR by default.
1087 .Sp
1088 Ideally, a portable program should always use \f(CWsigned char\fR or
1089 \f(CWunsigned char\fR when it depends on the signedness of an object.
1090 But many programs have been written to use plain \f(CWchar\fR and
1091 expect it to be signed, or expect it to be unsigned, depending on the
1092 machines they were written for.  This option, and its inverse, let you
1093 make such a program work with the opposite default.
1094 .Sp
1095 The type \f(CWchar\fR is always a distinct type from each of
1096 \f(CWsigned char\fR or \f(CWunsigned char\fR, even though its behavior
1097 is always just like one of those two.
1098 .Ip "\fB\-fsigned-char\fR" 4
1099 Let the type \f(CWchar\fR be signed, like \f(CWsigned char\fR.
1100 .Sp
1101 Note that this is equivalent to \fB\-fno-unsigned-char\fR, which is
1102 the negative form of \fB\-funsigned-char\fR.  Likewise, the option
1103 \fB\-fno-signed-char\fR is equivalent to \fB\-funsigned-char\fR.
1104 .Ip "\fB\-fsigned-bitfields\fR" 4
1105 .Ip "\fB\-funsigned-bitfields\fR" 4
1106 .Ip "\fB\-fno-signed-bitfields\fR" 4
1107 .Ip "\fB\-fno-unsigned-bitfields\fR" 4
1108 These options control whether a bit-field is signed or unsigned, when the
1109 declaration does not use either \f(CWsigned\fR or \f(CWunsigned\fR.  By
1110 default, such a bit-field is signed, because this is consistent: the
1111 basic integer types such as \f(CWint\fR are signed types.
1112 .Ip "\fB\-fwritable-strings\fR" 4
1113 Store string constants in the writable data segment and don't uniquize
1114 them.  This is for compatibility with old programs which assume they can
1115 write into string constants.
1116 .Sp
1117 Writing into string constants is a very bad idea; ``constants'\*(R' should
1118 be constant.
1119 .Sp
1120 This option is deprecated.
1121 .Sh "Options Controlling \*(C+ Dialect"
1122 This section describes the command-line options that are only meaningful
1123 for \*(C+ programs; but you can also use most of the \s-1GNU\s0 compiler options
1124 regardless of what language your program is in.  For example, you
1125 might compile a file \f(CWfirstClass.C\fR like this:
1126 .PP
1127 .Vb 2
1128 \&        
1129 \&        g++ -g -frepo -O -c firstClass.C
1130 .Ve
1131 In this example, only \fB\-frepo\fR is an option meant
1132 only for \*(C+ programs; you can use the other options with any
1133 language supported by \s-1GCC\s0.
1134 .PP
1135 Here is a list of options that are \fIonly\fR for compiling \*(C+ programs:
1136 .Ip "\fB\-fabi-version=\fR\fIn\fR" 4
1137 Use version \fIn\fR of the \*(C+ \s-1ABI\s0.  Version 2 is the version of the
1138 \*(C+ \s-1ABI\s0 that first appeared in G++ 3.4.  Version 1 is the version of
1139 the \*(C+ \s-1ABI\s0 that first appeared in G++ 3.2.  Version 0 will always be
1140 the version that conforms most closely to the \*(C+ \s-1ABI\s0 specification.
1141 Therefore, the \s-1ABI\s0 obtained using version 0 will change as \s-1ABI\s0 bugs
1142 are fixed.
1143 .Sp
1144 The default is version 2.
1145 .Ip "\fB\-fno-access-control\fR" 4
1146 Turn off all access checking.  This switch is mainly useful for working
1147 around bugs in the access control code.
1148 .Ip "\fB\-fcheck-new\fR" 4
1149 Check that the pointer returned by \f(CWoperator new\fR is non-null
1150 before attempting to modify the storage allocated.  This check is
1151 normally unnecessary because the \*(C+ standard specifies that
1152 \f(CWoperator new\fR will only return \f(CW0\fR if it is declared
1153 \fBthrow()\fR, in which case the compiler will always check the
1154 return value even without this option.  In all other cases, when
1155 \f(CWoperator new\fR has a non-empty exception specification, memory
1156 exhaustion is signalled by throwing \f(CWstd::bad_alloc\fR.  See also
1157 \fBnew (nothrow)\fR.
1158 .Ip "\fB\-fconserve-space\fR" 4
1159 Put uninitialized or runtime-initialized global variables into the
1160 common segment, as C does.  This saves space in the executable at the
1161 cost of not diagnosing duplicate definitions.  If you compile with this
1162 flag and your program mysteriously crashes after \f(CWmain()\fR has
1163 completed, you may have an object that is being destroyed twice because
1164 two definitions were merged.
1165 .Sp
1166 This option is no longer useful on most targets, now that support has
1167 been added for putting variables into \s-1BSS\s0 without making them common.
1168 .Ip "\fB\-fno-const-strings\fR" 4
1169 Give string constants type \f(CWchar *\fR instead of type \f(CWconst
1170 char *\fR.  By default, G++ uses type \f(CWconst char *\fR as required by
1171 the standard.  Even if you use \fB\-fno-const-strings\fR, you cannot
1172 actually modify the value of a string constant, unless you also use
1173 \fB\-fwritable-strings\fR.
1174 .Sp
1175 This option might be removed in a future release of G++.  For maximum
1176 portability, you should structure your code so that it works with
1177 string constants that have type \f(CWconst char *\fR.
1178 .Ip "\fB\-fno-elide-constructors\fR" 4
1179 The \*(C+ standard allows an implementation to omit creating a temporary
1180 which is only used to initialize another object of the same type.
1181 Specifying this option disables that optimization, and forces G++ to
1182 call the copy constructor in all cases.
1183 .Ip "\fB\-fno-enforce-eh-specs\fR" 4
1184 Don't check for violation of exception specifications at runtime.  This
1185 option violates the \*(C+ standard, but may be useful for reducing code
1186 size in production builds, much like defining \fB\s-1NDEBUG\s0\fR.  The compiler
1187 will still optimize based on the exception specifications.
1188 .Ip "\fB\-ffor-scope\fR" 4
1189 .Ip "\fB\-fno-for-scope\fR" 4
1190 If \fB\-ffor-scope\fR is specified, the scope of variables declared in
1191 a \fIfor-init-statement\fR is limited to the \fBfor\fR loop itself,
1192 as specified by the \*(C+ standard.
1193 If \fB\-fno-for-scope\fR is specified, the scope of variables declared in
1194 a \fIfor-init-statement\fR extends to the end of the enclosing scope,
1195 as was the case in old versions of G++, and other (traditional)
1196 implementations of \*(C+.
1197 .Sp
1198 The default if neither flag is given to follow the standard,
1199 but to allow and give a warning for old-style code that would
1200 otherwise be invalid, or have different behavior.
1201 .Ip "\fB\-fno-gnu-keywords\fR" 4
1202 Do not recognize \f(CWtypeof\fR as a keyword, so that code can use this
1203 word as an identifier.  You can use the keyword \f(CW__typeof__\fR instead.
1204 \fB\-ansi\fR implies \fB\-fno-gnu-keywords\fR.
1205 .Ip "\fB\-fno-implicit-templates\fR" 4
1206 Never emit code for non-inline templates which are instantiated
1207 implicitly (i.e. by use); only emit code for explicit instantiations.
1208 .Ip "\fB\-fno-implicit-inline-templates\fR" 4
1209 Don't emit code for implicit instantiations of inline templates, either.
1210 The default is to handle inlines differently so that compiles with and
1211 without optimization will need the same set of explicit instantiations.
1212 .Ip "\fB\-fno-implement-inlines\fR" 4
1213 To save space, do not emit out-of-line copies of inline functions
1214 controlled by \fB#pragma implementation\fR.  This will cause linker
1215 errors if these functions are not inlined everywhere they are called.
1216 .Ip "\fB\-fms-extensions\fR" 4
1217 Disable pedantic warnings about constructs used in \s-1MFC\s0, such as implicit
1218 int and getting a pointer to member function via non-standard syntax.
1219 .Ip "\fB\-fno-nonansi-builtins\fR" 4
1220 Disable built-in declarations of functions that are not mandated by
1221 \s-1ANSI/ISO\s0 C.  These include \f(CWffs\fR, \f(CWalloca\fR, \f(CW_exit\fR,
1222 \f(CWindex\fR, \f(CWbzero\fR, \f(CWconjf\fR, and other related functions.
1223 .Ip "\fB\-fno-operator-names\fR" 4
1224 Do not treat the operator name keywords \f(CWand\fR, \f(CWbitand\fR,
1225 \f(CWbitor\fR, \f(CWcompl\fR, \f(CWnot\fR, \f(CWor\fR and \f(CWxor\fR as
1226 synonyms as keywords.
1227 .Ip "\fB\-fno-optional-diags\fR" 4
1228 Disable diagnostics that the standard says a compiler does not need to
1229 issue.  Currently, the only such diagnostic issued by G++ is the one for
1230 a name having multiple meanings within a class.
1231 .Ip "\fB\-fpermissive\fR" 4
1232 Downgrade some diagnostics about nonconformant code from errors to
1233 warnings.  Thus, using \fB\-fpermissive\fR will allow some
1234 nonconforming code to compile.
1235 .Ip "\fB\-frepo\fR" 4
1236 Enable automatic template instantiation at link time.  This option also
1237 implies \fB\-fno-implicit-templates\fR.  
1238 .Ip "\fB\-fno-rtti\fR" 4
1239 Disable generation of information about every class with virtual
1240 functions for use by the \*(C+ runtime type identification features
1241 (\fBdynamic_cast\fR and \fBtypeid\fR).  If you don't use those parts
1242 of the language, you can save some space by using this flag.  Note that
1243 exception handling uses the same information, but it will generate it as
1244 needed.
1245 .Ip "\fB\-fstats\fR" 4
1246 Emit statistics about front-end processing at the end of the compilation.
1247 This information is generally only useful to the G++ development team.
1248 .Ip "\fB\-ftemplate-depth-\fR\fIn\fR" 4
1249 Set the maximum instantiation depth for template classes to \fIn\fR.
1250 A limit on the template instantiation depth is needed to detect
1251 endless recursions during template class instantiation.  \s-1ANSI/ISO\s0 \*(C+
1252 conforming programs must not rely on a maximum depth greater than 17.
1253 .Ip "\fB\-fuse-cxa-atexit\fR" 4
1254 Register destructors for objects with static storage duration with the
1255 \f(CW__cxa_atexit\fR function rather than the \f(CWatexit\fR function.
1256 This option is required for fully standards-compliant handling of static
1257 destructors, but will only work if your C library supports
1258 \f(CW__cxa_atexit\fR.
1259 .Ip "\fB\-fno-weak\fR" 4
1260 Do not use weak symbol support, even if it is provided by the linker.
1261 By default, G++ will use weak symbols if they are available.  This
1262 option exists only for testing, and should not be used by end-users;
1263 it will result in inferior code and has no benefits.  This option may
1264 be removed in a future release of G++.
1265 .Ip "\fB\-nostdinc++\fR" 4
1266 Do not search for header files in the standard directories specific to
1267 \*(C+, but do still search the other standard directories.  (This option
1268 is used when building the \*(C+ library.)
1269 .PP
1270 In addition, these optimization, warning, and code generation options
1271 have meanings only for \*(C+ programs:
1272 .Ip "\fB\-fno-default-inline\fR" 4
1273 Do not assume \fBinline\fR for functions defined inside a class scope.
1274   Note that these
1275 functions will have linkage like inline functions; they just won't be
1276 inlined by default.
1277 .Ip "\fB\-Wabi\fR (\*(C+ only)" 4
1278 Warn when G++ generates code that is probably not compatible with the
1279 vendor-neutral \*(C+ \s-1ABI\s0.  Although an effort has been made to warn about
1280 all such cases, there are probably some cases that are not warned about,
1281 even though G++ is generating incompatible code.  There may also be
1282 cases where warnings are emitted even though the code that is generated
1283 will be compatible.
1284 .Sp
1285 You should rewrite your code to avoid these warnings if you are
1286 concerned about the fact that code generated by G++ may not be binary
1287 compatible with code generated by other compilers.
1288 .Sp
1289 The known incompatibilities at this point include:
1290 .Ip "\(bu" 8
1291 Incorrect handling of tail-padding for bit-fields.  G++ may attempt to
1292 pack data into the same byte as a base class.  For example:
1293 .Sp
1294 .Vb 3
1295 \&        
1296 \&        struct A { virtual void f(); int f1 : 1; };
1297 \&        struct B : public A { int f2 : 1; };
1298 .Ve
1299 In this case, G++ will place \f(CWB::f2\fR into the same byte
1300 as\f(CWA::f1\fR; other compilers will not.  You can avoid this problem
1301 by explicitly padding \f(CWA\fR so that its size is a multiple of the
1302 byte size on your platform; that will cause G++ and other compilers to
1303 layout \f(CWB\fR identically.
1304 .Ip "\(bu" 8
1305 Incorrect handling of tail-padding for virtual bases.  G++ does not use
1306 tail padding when laying out virtual bases.  For example:
1307 .Sp
1308 .Vb 4
1309 \&        
1310 \&        struct A { virtual void f(); char c1; };
1311 \&        struct B { B(); char c2; };
1312 \&        struct C : public A, public virtual B {};
1313 .Ve
1314 In this case, G++ will not place \f(CWB\fR into the tail-padding for
1315 \f(CWA\fR; other compilers will.  You can avoid this problem by
1316 explicitly padding \f(CWA\fR so that its size is a multiple of its
1317 alignment (ignoring virtual base classes); that will cause G++ and other
1318 compilers to layout \f(CWC\fR identically.
1319 .Ip "\(bu" 8
1320 Incorrect handling of bit-fields with declared widths greater than that
1321 of their underlying types, when the bit-fields appear in a union.  For
1322 example:
1323 .Sp
1324 .Vb 2
1325 \&        
1326 \&        union U { int i : 4096; };
1327 .Ve
1328 Assuming that an \f(CWint\fR does not have 4096 bits, G++ will make the
1329 union too small by the number of bits in an \f(CWint\fR.
1330 .Ip "\(bu" 8
1331 Empty classes can be placed at incorrect offsets.  For example:
1332 .Sp
1333 .Vb 9
1334 \&        
1335 \&        struct A {};
1336 \&        
1337 \&        struct B {
1338 \&          A a;
1339 \&          virtual void f ();
1340 \&        };
1341 \&        
1342 \&        struct C : public B, public A {};
1343 .Ve
1344 G++ will place the \f(CWA\fR base class of \f(CWC\fR at a nonzero offset;
1345 it should be placed at offset zero.  G++ mistakenly believes that the
1346 \f(CWA\fR data member of \f(CWB\fR is already at offset zero.
1347 .Ip "\(bu" 8
1348 Names of template functions whose types involve \f(CWtypename\fR or
1349 template template parameters can be mangled incorrectly.
1350 .Sp
1351 .Vb 6
1352 \&        
1353 \&        template <typename Q>
1354 \&        void f(typename Q::X) {}
1355 \&        
1356 \&        template <template <typename> class Q>
1357 \&        void f(typename Q<int>::X) {}
1358 .Ve
1359 Instantiations of these templates may be mangled incorrectly.
1360 .Ip "\fB\-Wctor-dtor-privacy\fR (\*(C+ only)" 4
1361 Warn when a class seems unusable because all the constructors or
1362 destructors in that class are private, and it has neither friends nor
1363 public static member functions.
1364 .Ip "\fB\-Wnon-virtual-dtor\fR (\*(C+ only)" 4
1365 Warn when a class appears to be polymorphic, thereby requiring a virtual
1366 destructor, yet it declares a non-virtual one.
1367 This warning is enabled by \fB\-Wall\fR.
1368 .Ip "\fB\-Wreorder\fR (\*(C+ only)" 4
1369 Warn when the order of member initializers given in the code does not
1370 match the order in which they must be executed.  For instance:
1371 .Sp
1372 .Vb 6
1373 \&        
1374 \&        struct A {
1375 \&          int i;
1376 \&          int j;
1377 \&          A(): j (0), i (1) { }
1378 \&        };
1379 .Ve
1380 The compiler will rearrange the member initializers for \fBi\fR
1381 and \fBj\fR to match the declaration order of the members, emitting
1382 a warning to that effect.  This warning is enabled by \fB\-Wall\fR.
1383 .PP
1384 The following \fB\-W...\fR options are not affected by \fB\-Wall\fR.
1385 .Ip "\fB\-Weffc++\fR (\*(C+ only)" 4
1386 Warn about violations of the following style guidelines from Scott Meyers\*(R'
1387 \fIEffective \*(C+\fR book:
1388 .Ip "\(bu" 8
1389 Item 11:  Define a copy constructor and an assignment operator for classes
1390 with dynamically allocated memory.
1391 .Ip "\(bu" 8
1392 Item 12:  Prefer initialization to assignment in constructors.
1393 .Ip "\(bu" 8
1394 Item 14:  Make destructors virtual in base classes.
1395 .Ip "\(bu" 8
1396 Item 15:  Have \f(CWoperator=\fR return a reference to \f(CW*this\fR.
1397 .Ip "\(bu" 8
1398 Item 23:  Don't try to return a reference when you must return an object.
1399 .Sp
1400 Also warn about violations of the following style guidelines from
1401 Scott Meyers\*(R' \fIMore Effective \*(C+\fR book:
1402 .Ip "\(bu" 8
1403 Item 6:  Distinguish between prefix and postfix forms of increment and
1404 decrement operators.
1405 .Ip "\(bu" 8
1406 Item 7:  Never overload \f(CW&&\fR, \f(CW||\fR, or \f(CW,\fR.
1407 .Sp
1408 When selecting this option, be aware that the standard library
1409 headers do not obey all of these guidelines; use \fBgrep \-v\fR
1410 to filter out those warnings.
1411 .Ip "\fB\-Wno-deprecated\fR (\*(C+ only)" 4
1412 Do not warn about usage of deprecated features.  
1413 .Ip "\fB\-Wno-non-template-friend\fR (\*(C+ only)" 4
1414 Disable warnings when non-templatized friend functions are declared
1415 within a template.  Since the advent of explicit template specification
1416 support in G++, if the name of the friend is an unqualified-id (i.e.,
1417 \fBfriend foo(int)\fR), the \*(C+ language specification demands that the
1418 friend declare or define an ordinary, nontemplate function.  (Section
1419 14.5.3).  Before G++ implemented explicit specification, unqualified-ids
1420 could be interpreted as a particular specialization of a templatized
1421 function.  Because this non-conforming behavior is no longer the default
1422 behavior for G++, \fB\-Wnon-template-friend\fR allows the compiler to
1423 check existing code for potential trouble spots and is on by default.
1424 This new compiler behavior can be turned off with
1425 \fB\-Wno-non-template-friend\fR which keeps the conformant compiler code
1426 but disables the helpful warning.
1427 .Ip "\fB\-Wold-style-cast\fR (\*(C+ only)" 4
1428 Warn if an old-style (C\-style) cast to a non-void type is used within
1429 a \*(C+ program.  The new-style casts (\fBstatic_cast\fR,
1430 \fBreinterpret_cast\fR, and \fBconst_cast\fR) are less vulnerable to
1431 unintended effects and much easier to search for.
1432 .Ip "\fB\-Woverloaded-virtual\fR (\*(C+ only)" 4
1433 Warn when a function declaration hides virtual functions from a
1434 base class.  For example, in:
1435 .Sp
1436 .Vb 8
1437 \&        
1438 \&        struct A {
1439 \&          virtual void f();
1440 \&        };
1441 \&        
1442 \&        struct B: public A {
1443 \&          void f(int);
1444 \&        };
1445 .Ve
1446 the \f(CWA\fR class version of \f(CWf\fR is hidden in \f(CWB\fR, and code
1447 like:
1448 .Sp
1449 .Vb 3
1450 \&        
1451 \&        B* b;
1452 \&        b->f();
1453 .Ve
1454 will fail to compile.
1455 .Ip "\fB\-Wno-pmf-conversions\fR (\*(C+ only)" 4
1456 Disable the diagnostic for converting a bound pointer to member function
1457 to a plain pointer.
1458 .Ip "\fB\-Wsign-promo\fR (\*(C+ only)" 4
1459 Warn when overload resolution chooses a promotion from unsigned or
1460 enumeral type to a signed type, over a conversion to an unsigned type of
1461 the same size.  Previous versions of G++ would try to preserve
1462 unsignedness, but the standard mandates the current behavior.
1463 .Ip "\fB\-Wsynth\fR (\*(C+ only)" 4
1464 Warn when G++'s synthesis behavior does not match that of cfront.  For
1465 instance:
1466 .Sp
1467 .Vb 11
1468 \&        
1469 \&        struct A {
1470 \&          operator int ();
1471 \&          A& operator = (int);
1472 \&        };
1473 \&        
1474 \&        main ()
1475 \&        {
1476 \&          A a,b;
1477 \&          a = b;
1478 \&        }
1479 .Ve
1480 In this example, G++ will synthesize a default \fBA& operator =
1481 (const A&);\fR, while cfront will use the user-defined \fBoperator =\fR.
1482 .Sh "Options Controlling Objective-C Dialect"
1483 (\s-1NOTE\s0: This manual does not describe the Objective-C language itself.  See
1484 <\fBhttp://gcc.gnu.org/readings.html\fR> for references.)
1485 .PP
1486 This section describes the command-line options that are only meaningful
1487 for Objective-C programs, but you can also use most of the \s-1GNU\s0 compiler
1488 options regardless of what language your program is in.  For example,
1489 you might compile a file \f(CWsome_class.m\fR like this:
1490 .PP
1491 .Vb 2
1492 \&        
1493 \&        gcc -g -fgnu-runtime -O -c some_class.m
1494 .Ve
1495 In this example, \fB\-fgnu-runtime\fR is an option meant only for
1496 Objective-C programs; you can use the other options with any language
1497 supported by \s-1GCC\s0.
1498 .PP
1499 Here is a list of options that are \fIonly\fR for compiling Objective-C
1500 programs:
1501 .Ip "\fB\-fconstant-string-class=\fR\fIclass-name\fR" 4
1502 Use \fIclass-name\fR as the name of the class to instantiate for each
1503 literal string specified with the syntax \f(CW@"..."\fR.  The default
1504 class name is \f(CWNXConstantString\fR if the \s-1GNU\s0 runtime is being used, and
1505 \f(CWNSConstantString\fR if the NeXT runtime is being used (see below).  The
1506 \fB\-fconstant-cfstrings\fR option, if also present, will override the
1507 \fB\-fconstant-string-class\fR setting and cause \f(CW@"..."\fR literals
1508 to be laid out as constant CoreFoundation strings.
1509 .Ip "\fB\-fgnu-runtime\fR" 4
1510 Generate object code compatible with the standard \s-1GNU\s0 Objective-C
1511 runtime.  This is the default for most types of systems.
1512 .Ip "\fB\-fnext-runtime\fR" 4
1513 Generate output compatible with the NeXT runtime.  This is the default
1514 for NeXT\-based systems, including Darwin and Mac \s-1OS\s0 X.  The macro
1515 \f(CW__NEXT_RUNTIME__\fR is predefined if (and only if) this option is
1516 used.
1517 .Ip "\fB\-fno-nil-receivers\fR" 4
1518 Assume that all Objective-C message dispatches (e.g.,
1519 \f(CW[receiver message:arg]\fR) in this translation unit ensure that the receiver
1520 is not \f(CWnil\fR.  This allows for more efficient entry points in the runtime to be
1521 used.  Currently, this option is only available in conjunction with
1522 the NeXT runtime on Mac \s-1OS\s0 X 10.3 and later.
1523 .Ip "\fB\-fobjc-exceptions\fR" 4
1524 Enable syntactic support for structured exception handling in Objective-C,
1525 similar to what is offered by \*(C+ and Java.  Currently, this option is only
1526 available in conjunction with the NeXT runtime on Mac \s-1OS\s0 X 10.3 and later.
1527 .Sp
1528 .Vb 24
1529 \&        
1530 \&          @try {
1531 \&            ...
1532 \&               @throw expr;
1533 \&            ...
1534 \&          }
1535 \&          @catch (AnObjCClass *exc) {
1536 \&            ...
1537 \&              @throw expr;
1538 \&            ...
1539 \&              @throw;
1540 \&            ...
1541 \&          }
1542 \&          @catch (AnotherClass *exc) {
1543 \&            ...
1544 \&          }
1545 \&          @catch (id allOthers) {
1546 \&            ...
1547 \&          }
1548 \&          @finally {
1549 \&            ...
1550 \&              @throw expr;
1551 \&            ...
1552 \&          }
1553 .Ve
1554 The \f(CW@throw\fR statement may appear anywhere in an Objective-C or
1555 Objective-\*(C+ program; when used inside of a \f(CW@catch\fR block, the
1556 \f(CW@throw\fR may appear without an argument (as shown above), in which case
1557 the object caught by the \f(CW@catch\fR will be rethrown.
1558 .Sp
1559 Note that only (pointers to) Objective-C objects may be thrown and
1560 caught using this scheme.  When an object is thrown, it will be caught
1561 by the nearest \f(CW@catch\fR clause capable of handling objects of that type,
1562 analogously to how \f(CWcatch\fR blocks work in \*(C+ and Java.  A
1563 \f(CW@catch(id ...)\fR clause (as shown above) may also be provided to catch
1564 any and all Objective-C exceptions not caught by previous \f(CW@catch\fR
1565 clauses (if any).
1566 .Sp
1567 The \f(CW@finally\fR clause, if present, will be executed upon exit from the
1568 immediately preceding \f(CW@try ... @catch\fR section.  This will happen
1569 regardless of whether any exceptions are thrown, caught or rethrown
1570 inside the \f(CW@try ... @catch\fR section, analogously to the behavior
1571 of the \f(CWfinally\fR clause in Java.
1572 .Sp
1573 There are several caveats to using the new exception mechanism:
1574 .Ip "\(bu" 8
1575 Although currently designed to be binary compatible with \f(CWNS_HANDLER\fR\-style
1576 idioms provided by the \f(CWNSException\fR class, the new
1577 exceptions can only be used on Mac \s-1OS\s0 X 10.3 (Panther) and later
1578 systems, due to additional functionality needed in the (NeXT) Objective-C
1579 runtime.
1580 .Ip "\(bu" 8
1581 As mentioned above, the new exceptions do not support handling
1582 types other than Objective-C objects.   Furthermore, when used from
1583 Objective-\*(C+, the Objective-C exception model does not interoperate with \*(C+
1584 exceptions at this time.  This means you cannot \f(CW@throw\fR an exception
1585 from Objective-C and \f(CWcatch\fR it in \*(C+, or vice versa
1586 (i.e., \f(CWthrow ... @catch\fR).
1587 .Sp
1588 The \fB\-fobjc-exceptions\fR switch also enables the use of synchronization
1589 blocks for thread-safe execution:
1590 .Sp
1591 .Vb 4
1592 \&        
1593 \&          @synchronized (ObjCClass *guard) {
1594 \&            ...
1595 \&          }
1596 .Ve
1597 Upon entering the \f(CW@synchronized\fR block, a thread of execution shall
1598 first check whether a lock has been placed on the corresponding \f(CWguard\fR
1599 object by another thread.  If it has, the current thread shall wait until
1600 the other thread relinquishes its lock.  Once \f(CWguard\fR becomes available,
1601 the current thread will place its own lock on it, execute the code contained in
1602 the \f(CW@synchronized\fR block, and finally relinquish the lock (thereby
1603 making \f(CWguard\fR available to other threads).
1604 .Sp
1605 Unlike Java, Objective-C does not allow for entire methods to be marked
1606 \f(CW@synchronized\fR.  Note that throwing exceptions out of
1607 \f(CW@synchronized\fR blocks is allowed, and will cause the guarding object
1608 to be unlocked properly.
1609 .Ip "\fB\-freplace-objc-classes\fR" 4
1610 Emit a special marker instructing \fBld(1)\fR not to statically link in
1611 the resulting object file, and allow \fBdyld(1)\fR to load it in at
1612 run time instead.  This is used in conjunction with the Fix-and-Continue
1613 debugging mode, where the object file in question may be recompiled and
1614 dynamically reloaded in the course of program execution, without the need
1615 to restart the program itself.  Currently, Fix-and-Continue functionality
1616 is only available in conjunction with the NeXT runtime on Mac \s-1OS\s0 X 10.3
1617 and later.
1618 .Ip "\fB\-fzero-link\fR" 4
1619 When compiling for the NeXT runtime, the compiler ordinarily replaces calls
1620 to \f(CWobjc_getClass("...")\fR (when the name of the class is known at
1621 compile time) with static class references that get initialized at load time,
1622 which improves run-time performance.  Specifying the \fB\-fzero-link\fR flag
1623 suppresses this behavior and causes calls to \f(CWobjc_getClass("...")\fR
1624 to be retained.  This is useful in Zero-Link debugging mode, since it allows
1625 for individual class implementations to be modified during program execution.
1626 .Ip "\fB\-gen-decls\fR" 4
1627 Dump interface declarations for all classes seen in the source file to a
1628 file named \fI\fIsourcename\fR.decl\fR.
1629 .Ip "\fB\-Wno-protocol\fR" 4
1630 If a class is declared to implement a protocol, a warning is issued for
1631 every method in the protocol that is not implemented by the class.  The
1632 default behavior is to issue a warning for every method not explicitly
1633 implemented in the class, even if a method implementation is inherited
1634 from the superclass.  If you use the \f(CW-Wno-protocol\fR option, then
1635 methods inherited from the superclass are considered to be implemented,
1636 and no warning is issued for them.
1637 .Ip "\fB\-Wselector\fR" 4
1638 Warn if multiple methods of different types for the same selector are
1639 found during compilation.  The check is performed on the list of methods
1640 in the final stage of compilation.  Additionally, a check is performed
1641 for each selector appearing in a \f(CW@selector(...)\fR
1642 expression, and a corresponding method for that selector has been found
1643 during compilation.  Because these checks scan the method table only at
1644 the end of compilation, these warnings are not produced if the final
1645 stage of compilation is not reached, for example because an error is
1646 found during compilation, or because the \f(CW-fsyntax-only\fR option is
1647 being used.
1648 .Ip "\fB\-Wundeclared-selector\fR" 4
1649 Warn if a \f(CW@selector(...)\fR expression referring to an
1650 undeclared selector is found.  A selector is considered undeclared if no
1651 method with that name has been declared before the
1652 \f(CW@selector(...)\fR expression, either explicitly in an
1653 \f(CW@interface\fR or \f(CW@protocol\fR declaration, or implicitly in
1654 an \f(CW@implementation\fR section.  This option always performs its
1655 checks as soon as a \f(CW@selector(...)\fR expression is found,
1656 while \f(CW-Wselector\fR only performs its checks in the final stage of
1657 compilation.  This also enforces the coding style convention
1658 that methods and selectors must be declared before being used.
1659 .Ip "\fB\-print-objc-runtime-info\fR" 4
1660 Generate C header describing the largest structure that is passed by
1661 value, if any.
1662 .Sh "Options to Control Diagnostic Messages Formatting"
1663 Traditionally, diagnostic messages have been formatted irrespective of
1664 the output device's aspect (e.g. its width, ...).  The options described
1665 below can be used to control the diagnostic messages formatting
1666 algorithm, e.g. how many characters per line, how often source location
1667 information should be reported.  Right now, only the \*(C+ front end can
1668 honor these options.  However it is expected, in the near future, that
1669 the remaining front ends would be able to digest them correctly.
1670 .Ip "\fB\-fmessage-length=\fR\fIn\fR" 4
1671 Try to format error messages so that they fit on lines of about \fIn\fR
1672 characters.  The default is 72 characters for \fBg++\fR and 0 for the rest of
1673 the front ends supported by \s-1GCC\s0.  If \fIn\fR is zero, then no
1674 line-wrapping will be done; each error message will appear on a single
1675 line.
1676 .Ip "\fB\-fdiagnostics-show-location=once\fR" 4
1677 Only meaningful in line-wrapping mode.  Instructs the diagnostic messages
1678 reporter to emit \fIonce\fR source location information; that is, in
1679 case the message is too long to fit on a single physical line and has to
1680 be wrapped, the source location won't be emitted (as prefix) again,
1681 over and over, in subsequent continuation lines.  This is the default
1682 behavior.
1683 .Ip "\fB\-fdiagnostics-show-location=every-line\fR" 4
1684 Only meaningful in line-wrapping mode.  Instructs the diagnostic
1685 messages reporter to emit the same source location information (as
1686 prefix) for physical lines that result from the process of breaking
1687 a message which is too long to fit on a single line.
1688 .Sh "Options to Request or Suppress Warnings"
1689 Warnings are diagnostic messages that report constructions which
1690 are not inherently erroneous but which are risky or suggest there
1691 may have been an error.
1692 .PP
1693 You can request many specific warnings with options beginning \fB\-W\fR,
1694 for example \fB\-Wimplicit\fR to request warnings on implicit
1695 declarations.  Each of these specific warning options also has a
1696 negative form beginning \fB\-Wno-\fR to turn off warnings;
1697 for example, \fB\-Wno-implicit\fR.  This manual lists only one of the
1698 two forms, whichever is not the default.
1699 .PP
1700 The following options control the amount and kinds of warnings produced
1701 by \s-1GCC\s0; for further, language-specific options also refer to
1702 \f(CW@ref\fR{\*(C+ Dialect Options} and \f(CW@ref\fR{Objective-C Dialect Options}.
1703 .Ip "\fB\-fsyntax-only\fR" 4
1704 Check the code for syntax errors, but don't do anything beyond that.
1705 .Ip "\fB\-pedantic\fR" 4
1706 Issue all the warnings demanded by strict \s-1ISO\s0 C and \s-1ISO\s0 \*(C+;
1707 reject all programs that use forbidden extensions, and some other
1708 programs that do not follow \s-1ISO\s0 C and \s-1ISO\s0 \*(C+.  For \s-1ISO\s0 C, follows the
1709 version of the \s-1ISO\s0 C standard specified by any \fB\-std\fR option used.
1710 .Sp
1711 Valid \s-1ISO\s0 C and \s-1ISO\s0 \*(C+ programs should compile properly with or without
1712 this option (though a rare few will require \fB\-ansi\fR or a
1713 \fB\-std\fR option specifying the required version of \s-1ISO\s0 C).  However,
1714 without this option, certain \s-1GNU\s0 extensions and traditional C and \*(C+
1715 features are supported as well.  With this option, they are rejected.
1716 .Sp
1717 \fB\-pedantic\fR does not cause warning messages for use of the
1718 alternate keywords whose names begin and end with \fB_\|_\fR.  Pedantic
1719 warnings are also disabled in the expression that follows
1720 \f(CW__extension__\fR.  However, only system header files should use
1721 these escape routes; application programs should avoid them.
1722 .Sp
1723 Some users try to use \fB\-pedantic\fR to check programs for strict \s-1ISO\s0
1724 C conformance.  They soon find that it does not do quite what they want:
1725 it finds some non-\s-1ISO\s0 practices, but not all---only those for which
1726 \s-1ISO\s0 C \fIrequires\fR a diagnostic, and some others for which
1727 diagnostics have been added.
1728 .Sp
1729 A feature to report any failure to conform to \s-1ISO\s0 C might be useful in
1730 some instances, but would require considerable additional work and would
1731 be quite different from \fB\-pedantic\fR.  We don't have plans to
1732 support such a feature in the near future.
1733 .Sp
1734 Where the standard specified with \fB\-std\fR represents a \s-1GNU\s0
1735 extended dialect of C, such as \fBgnu89\fR or \fBgnu99\fR, there is a
1736 corresponding \fIbase standard\fR, the version of \s-1ISO\s0 C on which the \s-1GNU\s0
1737 extended dialect is based.  Warnings from \fB\-pedantic\fR are given
1738 where they are required by the base standard.  (It would not make sense
1739 for such warnings to be given only for features not in the specified \s-1GNU\s0
1740 C dialect, since by definition the \s-1GNU\s0 dialects of C include all
1741 features the compiler supports with the given option, and there would be
1742 nothing to warn about.)
1743 .Ip "\fB\-pedantic-errors\fR" 4
1744 Like \fB\-pedantic\fR, except that errors are produced rather than
1745 warnings.
1746 .Ip "\fB\-w\fR" 4
1747 Inhibit all warning messages.
1748 .Ip "\fB\-Wno-import\fR" 4
1749 Inhibit warning messages about the use of \fB#import\fR.
1750 .Ip "\fB\-Wchar-subscripts\fR" 4
1751 Warn if an array subscript has type \f(CWchar\fR.  This is a common cause
1752 of error, as programmers often forget that this type is signed on some
1753 machines.
1754 .Ip "\fB\-Wcomment\fR" 4
1755 Warn whenever a comment-start sequence \fB/*\fR appears in a \fB/*\fR
1756 comment, or whenever a Backslash-Newline appears in a \fB//\fR comment.
1757 .Ip "\fB\-Wformat\fR" 4
1758 Check calls to \f(CWprintf\fR and \f(CWscanf\fR, etc., to make sure that
1759 the arguments supplied have types appropriate to the format string
1760 specified, and that the conversions specified in the format string make
1761 sense.  This includes standard functions, and others specified by format
1762 attributes, in the \f(CWprintf\fR,
1763 \f(CWscanf\fR, \f(CWstrftime\fR and \f(CWstrfmon\fR (an X/Open extension,
1764 not in the C standard) families.
1765 .Sp
1766 The formats are checked against the format features supported by \s-1GNU\s0
1767 libc version 2.2.  These include all \s-1ISO\s0 C90 and C99 features, as well
1768 as features from the Single Unix Specification and some \s-1BSD\s0 and \s-1GNU\s0
1769 extensions.  Other library implementations may not support all these
1770 features; \s-1GCC\s0 does not support warning about features that go beyond a
1771 particular library's limitations.  However, if \fB\-pedantic\fR is used
1772 with \fB\-Wformat\fR, warnings will be given about format features not
1773 in the selected standard version (but not for \f(CWstrfmon\fR formats,
1774 since those are not in any version of the C standard).  
1775 .Sp
1776 Since \fB\-Wformat\fR also checks for null format arguments for
1777 several functions, \fB\-Wformat\fR also implies \fB\-Wnonnull\fR.
1778 .Sp
1779 \fB\-Wformat\fR is included in \fB\-Wall\fR.  For more control over some
1780 aspects of format checking, the options \fB\-Wformat-y2k\fR,
1781 \fB\-Wno-format-extra-args\fR, \fB\-Wno-format-zero-length\fR,
1782 \fB\-Wformat-nonliteral\fR, \fB\-Wformat-security\fR, and
1783 \fB\-Wformat=2\fR are available, but are not included in \fB\-Wall\fR.
1784 .Ip "\fB\-Wformat-y2k\fR" 4
1785 If \fB\-Wformat\fR is specified, also warn about \f(CWstrftime\fR
1786 formats which may yield only a two-digit year.
1787 .Ip "\fB\-Wno-format-extra-args\fR" 4
1788 If \fB\-Wformat\fR is specified, do not warn about excess arguments to a
1789 \f(CWprintf\fR or \f(CWscanf\fR format function.  The C standard specifies
1790 that such arguments are ignored.
1791 .Sp
1792 Where the unused arguments lie between used arguments that are
1793 specified with \fB$\fR operand number specifications, normally
1794 warnings are still given, since the implementation could not know what
1795 type to pass to \f(CWva_arg\fR to skip the unused arguments.  However,
1796 in the case of \f(CWscanf\fR formats, this option will suppress the
1797 warning if the unused arguments are all pointers, since the Single
1798 Unix Specification says that such unused arguments are allowed.
1799 .Ip "\fB\-Wno-format-zero-length\fR" 4
1800 If \fB\-Wformat\fR is specified, do not warn about zero-length formats.
1801 The C standard specifies that zero-length formats are allowed.
1802 .Ip "\fB\-Wformat-nonliteral\fR" 4
1803 If \fB\-Wformat\fR is specified, also warn if the format string is not a
1804 string literal and so cannot be checked, unless the format function
1805 takes its format arguments as a \f(CWva_list\fR.
1806 .Ip "\fB\-Wformat-security\fR" 4
1807 If \fB\-Wformat\fR is specified, also warn about uses of format
1808 functions that represent possible security problems.  At present, this
1809 warns about calls to \f(CWprintf\fR and \f(CWscanf\fR functions where the
1810 format string is not a string literal and there are no format arguments,
1811 as in \f(CWprintf (foo);\fR.  This may be a security hole if the format
1812 string came from untrusted input and contains \fB%n\fR.  (This is
1813 currently a subset of what \fB\-Wformat-nonliteral\fR warns about, but
1814 in future warnings may be added to \fB\-Wformat-security\fR that are not
1815 included in \fB\-Wformat-nonliteral\fR.)
1816 .Ip "\fB\-Wformat=2\fR" 4
1817 Enable \fB\-Wformat\fR plus format checks not included in
1818 \fB\-Wformat\fR.  Currently equivalent to \fB\-Wformat
1819 \-Wformat-nonliteral \-Wformat-security \-Wformat-y2k\fR.
1820 .Ip "\fB\-Wnonnull\fR" 4
1821 Warn about passing a null pointer for arguments marked as
1822 requiring a non-null value by the \f(CWnonnull\fR function attribute.
1823 .Sp
1824 \fB\-Wnonnull\fR is included in \fB\-Wall\fR and \fB\-Wformat\fR.  It
1825 can be disabled with the \fB\-Wno-nonnull\fR option.
1826 .Ip "\fB\-Winit-self\fR (C, \*(C+, and Objective-C only)" 4
1827 Warn about uninitialized variables which are initialized with themselves.
1828 Note this option can only be used with the \fB\-Wuninitialized\fR option,
1829 which in turn only works with \fB\-O1\fR and above.
1830 .Sp
1831 For example, \s-1GCC\s0 will warn about \f(CWi\fR being uninitialized in the
1832 following snippet only when \fB\-Winit-self\fR has been specified:
1833         
1834         int \fIf()\fR
1835         {
1836           int i = i;
1837           return i;
1838         }
1839 .Ip "\fB\-Wimplicit-int\fR" 4
1840 Warn when a declaration does not specify a type.
1841 .Ip "\fB\-Wimplicit-function-declaration\fR" 4
1842 .Ip "\fB\-Werror-implicit-function-declaration\fR" 4
1843 Give a warning (or error) whenever a function is used before being
1844 declared.
1845 .Ip "\fB\-Wimplicit\fR" 4
1846 Same as \fB\-Wimplicit-int\fR and \fB\-Wimplicit-function-declaration\fR.
1847 .Ip "\fB\-Wmain\fR" 4
1848 Warn if the type of \fBmain\fR is suspicious.  \fBmain\fR should be a
1849 function with external linkage, returning int, taking either zero
1850 arguments, two, or three arguments of appropriate types.
1851 .Ip "\fB\-Wmissing-braces\fR" 4
1852 Warn if an aggregate or union initializer is not fully bracketed.  In
1853 the following example, the initializer for \fBa\fR is not fully
1854 bracketed, but that for \fBb\fR is fully bracketed.
1855 .Sp
1856 .Vb 3
1857 \&        
1858 \&        int a[2][2] = { 0, 1, 2, 3 };
1859 \&        int b[2][2] = { { 0, 1 }, { 2, 3 } };
1860 .Ve
1861 .Ip "\fB\-Wparentheses\fR" 4
1862 Warn if parentheses are omitted in certain contexts, such
1863 as when there is an assignment in a context where a truth value
1864 is expected, or when operators are nested whose precedence people
1865 often get confused about.
1866 .Sp
1867 Also warn about constructions where there may be confusion to which
1868 \f(CWif\fR statement an \f(CWelse\fR branch belongs.  Here is an example of
1869 such a case:
1870 .Sp
1871 .Vb 8
1872 \&        
1873 \&        {
1874 \&          if (a)
1875 \&            if (b)
1876 \&              foo ();
1877 \&          else
1878 \&            bar ();
1879 \&        }
1880 .Ve
1881 In C, every \f(CWelse\fR branch belongs to the innermost possible \f(CWif\fR
1882 statement, which in this example is \f(CWif (b)\fR.  This is often not
1883 what the programmer expected, as illustrated in the above example by
1884 indentation the programmer chose.  When there is the potential for this
1885 confusion, \s-1GCC\s0 will issue a warning when this flag is specified.
1886 To eliminate the warning, add explicit braces around the innermost
1887 \f(CWif\fR statement so there is no way the \f(CWelse\fR could belong to
1888 the enclosing \f(CWif\fR.  The resulting code would look like this:
1889 .Sp
1890 .Vb 10
1891 \&        
1892 \&        {
1893 \&          if (a)
1894 \&            {
1895 \&              if (b)
1896 \&                foo ();
1897 \&              else
1898 \&                bar ();
1899 \&            }
1900 \&        }
1901 .Ve
1902 .Ip "\fB\-Wsequence-point\fR" 4
1903 Warn about code that may have undefined semantics because of violations
1904 of sequence point rules in the C standard.
1905 .Sp
1906 The C standard defines the order in which expressions in a C program are
1907 evaluated in terms of \fIsequence points\fR, which represent a partial
1908 ordering between the execution of parts of the program: those executed
1909 before the sequence point, and those executed after it.  These occur
1910 after the evaluation of a full expression (one which is not part of a
1911 larger expression), after the evaluation of the first operand of a
1912 \f(CW&&\fR, \f(CW||\fR, \f(CW? :\fR or \f(CW,\fR (comma) operator, before a
1913 function is called (but after the evaluation of its arguments and the
1914 expression denoting the called function), and in certain other places.
1915 Other than as expressed by the sequence point rules, the order of
1916 evaluation of subexpressions of an expression is not specified.  All
1917 these rules describe only a partial order rather than a total order,
1918 since, for example, if two functions are called within one expression
1919 with no sequence point between them, the order in which the functions
1920 are called is not specified.  However, the standards committee have
1921 ruled that function calls do not overlap.
1922 .Sp
1923 It is not specified when between sequence points modifications to the
1924 values of objects take effect.  Programs whose behavior depends on this
1925 have undefined behavior; the C standard specifies that ``Between the
1926 previous and next sequence point an object shall have its stored value
1927 modified at most once by the evaluation of an expression.  Furthermore,
1928 the prior value shall be read only to determine the value to be
1929 stored.'\*(R'.  If a program breaks these rules, the results on any
1930 particular implementation are entirely unpredictable.
1931 .Sp
1932 Examples of code with undefined behavior are \f(CWa = a++;\fR, \f(CWa[n]
1933 = b[n++]\fR and \f(CWa[i++] = i;\fR.  Some more complicated cases are not
1934 diagnosed by this option, and it may give an occasional false positive
1935 result, but in general it has been found fairly effective at detecting
1936 this sort of problem in programs.
1937 .Sp
1938 The present implementation of this option only works for C programs.  A
1939 future implementation may also work for \*(C+ programs.
1940 .Sp
1941 The C standard is worded confusingly, therefore there is some debate
1942 over the precise meaning of the sequence point rules in subtle cases.
1943 Links to discussions of the problem, including proposed formal
1944 definitions, may be found on our readings page, at
1945 <\fBhttp://gcc.gnu.org/readings.html\fR>.
1946 .Ip "\fB\-Wreturn-type\fR" 4
1947 Warn whenever a function is defined with a return-type that defaults to
1948 \f(CWint\fR.  Also warn about any \f(CWreturn\fR statement with no
1949 return-value in a function whose return-type is not \f(CWvoid\fR.
1950 .Sp
1951 For \*(C+, a function without return type always produces a diagnostic
1952 message, even when \fB\-Wno-return-type\fR is specified.  The only
1953 exceptions are \fBmain\fR and functions defined in system headers.
1954 .Ip "\fB\-Wswitch\fR" 4
1955 Warn whenever a \f(CWswitch\fR statement has an index of enumeral type
1956 and lacks a \f(CWcase\fR for one or more of the named codes of that
1957 enumeration.  (The presence of a \f(CWdefault\fR label prevents this
1958 warning.)  \f(CWcase\fR labels outside the enumeration range also
1959 provoke warnings when this option is used.
1960 .Ip "\fB\-Wswitch-default\fR" 4
1961 Warn whenever a \f(CWswitch\fR statement does not have a \f(CWdefault\fR
1962 case.
1963 .Ip "\fB\-Wswitch-enum\fR" 4
1964 Warn whenever a \f(CWswitch\fR statement has an index of enumeral type
1965 and lacks a \f(CWcase\fR for one or more of the named codes of that
1966 enumeration.  \f(CWcase\fR labels outside the enumeration range also
1967 provoke warnings when this option is used.
1968 .Ip "\fB\-Wtrigraphs\fR" 4
1969 Warn if any trigraphs are encountered that might change the meaning of
1970 the program (trigraphs within comments are not warned about).
1971 .Ip "\fB\-Wunused-function\fR" 4
1972 Warn whenever a static function is declared but not defined or a
1973 non\e-inline static function is unused.
1974 .Ip "\fB\-Wunused-label\fR" 4
1975 Warn whenever a label is declared but not used.
1976 .Sp
1977 To suppress this warning use the \fBunused\fR attribute.
1978 .Ip "\fB\-Wunused-parameter\fR" 4
1979 Warn whenever a function parameter is unused aside from its declaration.
1980 .Sp
1981 To suppress this warning use the \fBunused\fR attribute.
1982 .Ip "\fB\-Wunused-variable\fR" 4
1983 Warn whenever a local variable or non-constant static variable is unused
1984 aside from its declaration
1985 .Sp
1986 To suppress this warning use the \fBunused\fR attribute.
1987 .Ip "\fB\-Wunused-value\fR" 4
1988 Warn whenever a statement computes a result that is explicitly not used.
1989 .Sp
1990 To suppress this warning cast the expression to \fBvoid\fR.
1991 .Ip "\fB\-Wunused\fR" 4
1992 All the above \fB\-Wunused\fR options combined.
1993 .Sp
1994 In order to get a warning about an unused function parameter, you must
1995 either specify \fB\-Wextra \-Wunused\fR (note that \fB\-Wall\fR implies
1996 \fB\-Wunused\fR), or separately specify \fB\-Wunused-parameter\fR.
1997 .Ip "\fB\-Wuninitialized\fR" 4
1998 Warn if an automatic variable is used without first being initialized or
1999 if a variable may be clobbered by a \f(CWsetjmp\fR call.
2000 .Sp
2001 These warnings are possible only in optimizing compilation,
2002 because they require data flow information that is computed only
2003 when optimizing.  If you don't specify \fB\-O\fR, you simply won't
2004 get these warnings.
2005 .Sp
2006 If you want to warn about code which uses the uninitialized value of the
2007 variable in its own initializer, use the \fB\-Winit-self\fR option.
2008 .Sp
2009 These warnings occur only for variables that are candidates for
2010 register allocation.  Therefore, they do not occur for a variable that
2011 is declared \f(CWvolatile\fR, or whose address is taken, or whose size
2012 is other than 1, 2, 4 or 8 bytes.  Also, they do not occur for
2013 structures, unions or arrays, even when they are in registers.
2014 .Sp
2015 Note that there may be no warning about a variable that is used only
2016 to compute a value that itself is never used, because such
2017 computations may be deleted by data flow analysis before the warnings
2018 are printed.
2019 .Sp
2020 These warnings are made optional because \s-1GCC\s0 is not smart
2021 enough to see all the reasons why the code might be correct
2022 despite appearing to have an error.  Here is one example of how
2023 this can happen:
2024 .Sp
2025 .Vb 13
2026 \&        
2027 \&        {
2028 \&          int x;
2029 \&          switch (y)
2030 \&            {
2031 \&            case 1: x = 1;
2032 \&              break;
2033 \&            case 2: x = 4;
2034 \&              break;
2035 \&            case 3: x = 5;
2036 \&            }
2037 \&          foo (x);
2038 \&        }
2039 .Ve
2040 If the value of \f(CWy\fR is always 1, 2 or 3, then \f(CWx\fR is
2041 always initialized, but \s-1GCC\s0 doesn't know this.  Here is
2042 another common case:
2043 .Sp
2044 .Vb 7
2045 \&        
2046 \&        {
2047 \&          int save_y;
2048 \&          if (change_y) save_y = y, y = new_y;
2049 \&          ...
2050 \&          if (change_y) y = save_y;
2051 \&        }
2052 .Ve
2053 This has no bug because \f(CWsave_y\fR is used only if it is set.
2054 .Sp
2055 This option also warns when a non-volatile automatic variable might be
2056 changed by a call to \f(CWlongjmp\fR.  These warnings as well are possible
2057 only in optimizing compilation.
2058 .Sp
2059 The compiler sees only the calls to \f(CWsetjmp\fR.  It cannot know
2060 where \f(CWlongjmp\fR will be called; in fact, a signal handler could
2061 call it at any point in the code.  As a result, you may get a warning
2062 even when there is in fact no problem because \f(CWlongjmp\fR cannot
2063 in fact be called at the place which would cause a problem.
2064 .Sp
2065 Some spurious warnings can be avoided if you declare all the functions
2066 you use that never return as \f(CWnoreturn\fR.  
2067 .Ip "\fB\-Wunknown-pragmas\fR" 4
2068 Warn when a #pragma directive is encountered which is not understood by
2069 \s-1GCC\s0.  If this command line option is used, warnings will even be issued
2070 for unknown pragmas in system header files.  This is not the case if
2071 the warnings were only enabled by the \fB\-Wall\fR command line option.
2072 .Ip "\fB\-Wstrict-aliasing\fR" 4
2073 This option is only active when \fB\-fstrict-aliasing\fR is active.
2074 It warns about code which might break the strict aliasing rules that the
2075 compiler is using for optimization. The warning does not catch all
2076 cases, but does attempt to catch the more common pitfalls. It is
2077 included in \fB\-Wall\fR.
2078 .Ip "\fB\-Wall\fR" 4
2079 All of the above \fB\-W\fR options combined.  This enables all the
2080 warnings about constructions that some users consider questionable, and
2081 that are easy to avoid (or modify to prevent the warning), even in
2082 conjunction with macros.  This also enables some language-specific
2083 warnings described in \f(CW@ref\fR{\*(C+ Dialect Options} and
2084 \f(CW@ref\fR{Objective-C Dialect Options}.
2085 .PP
2086 The following \fB\-W...\fR options are not implied by \fB\-Wall\fR.
2087 Some of them warn about constructions that users generally do not
2088 consider questionable, but which occasionally you might wish to check
2089 for; others warn about constructions that are necessary or hard to avoid
2090 in some cases, and there is no simple way to modify the code to suppress
2091 the warning.
2092 .Ip "\fB\-Wextra\fR" 4
2093 (This option used to be called \fB\-W\fR.  The older name is still
2094 supported, but the newer name is more descriptive.)  Print extra warning
2095 messages for these events:
2096 .Ip "\(bu" 8
2097 A function can return either with or without a value.  (Falling
2098 off the end of the function body is considered returning without
2099 a value.)  For example, this function would evoke such a
2100 warning:
2101 .Sp
2102 .Vb 6
2103 \&        
2104 \&        foo (a)
2105 \&        {
2106 \&          if (a > 0)
2107 \&            return a;
2108 \&        }
2109 .Ve
2110 .Ip "\(bu" 8
2111 An expression-statement or the left-hand side of a comma expression
2112 contains no side effects.
2113 To suppress the warning, cast the unused expression to void.
2114 For example, an expression such as \fBx[i,j]\fR will cause a warning,
2115 but \fBx[(void)i,j]\fR will not.
2116 .Ip "\(bu" 8
2117 An unsigned value is compared against zero with \fB<\fR or \fB>=\fR.
2118 .Ip "\(bu" 8
2119 A comparison like \fBx<=y<=z\fR appears; this is equivalent to
2120 \fB(x<=y ? 1 : 0) <= z\fR, which is a different interpretation from
2121 that of ordinary mathematical notation.
2122 .Ip "\(bu" 8
2123 Storage-class specifiers like \f(CWstatic\fR are not the first things in
2124 a declaration.  According to the C Standard, this usage is obsolescent.
2125 .Ip "\(bu" 8
2126 The return type of a function has a type qualifier such as \f(CWconst\fR.
2127 Such a type qualifier has no effect, since the value returned by a
2128 function is not an lvalue.  (But don't warn about the \s-1GNU\s0 extension of
2129 \f(CWvolatile void\fR return types.  That extension will be warned about
2130 if \fB\-pedantic\fR is specified.)
2131 .Ip "\(bu" 8
2132 If \fB\-Wall\fR or \fB\-Wunused\fR is also specified, warn about unused
2133 arguments.
2134 .Ip "\(bu" 8
2135 A comparison between signed and unsigned values could produce an
2136 incorrect result when the signed value is converted to unsigned.
2137 (But don't warn if \fB\-Wno-sign-compare\fR is also specified.)
2138 .Ip "\(bu" 8
2139 An aggregate has an initializer which does not initialize all members.
2140 For example, the following code would cause such a warning, because
2141 \f(CWx.h\fR would be implicitly initialized to zero:
2142 .Sp
2143 .Vb 3
2144 \&        
2145 \&        struct s { int f, g, h; };
2146 \&        struct s x = { 3, 4 };
2147 .Ve
2148 .Ip "\(bu" 8
2149 A function parameter is declared without a type specifier in K&R\-style
2150 functions:
2151 .Sp
2152 .Vb 2
2153 \&        
2154 \&        void foo(bar) { }
2155 .Ve
2156 .Ip "\(bu" 8
2157 An empty body occurs in an \fBif\fR or \fBelse\fR statement.
2158 .Ip "\(bu" 8
2159 A pointer is compared against integer zero with \fB<\fR, \fB<=\fR,
2160 \fB>\fR, or \fB>=\fR.
2161 .Ip "\(bu" 8
2162 A variable might be changed by \fBlongjmp\fR or \fBvfork\fR.
2163 .Ip "\(bu" 8
2164 Any of several floating-point events that often indicate errors, such as
2165 overflow, underflow, loss of precision, etc.
2166 .Ip "*<(\*(C+ only)>" 8
2167 An enumerator and a non-enumerator both appear in a conditional expression.
2168 .Ip "*<(\*(C+ only)>" 8
2169 A non-static reference or non-static \fBconst\fR member appears in a
2170 class without constructors.
2171 .Ip "*<(\*(C+ only)>" 8
2172 Ambiguous virtual bases.
2173 .Ip "*<(\*(C+ only)>" 8
2174 Subscripting an array which has been declared \fBregister\fR.
2175 .Ip "*<(\*(C+ only)>" 8
2176 Taking the address of a variable which has been declared \fBregister\fR.
2177 .Ip "*<(\*(C+ only)>" 8
2178 A base class is not initialized in a derived class\*(R' copy constructor.
2179 .Ip "\fB\-Wno-div-by-zero\fR" 4
2180 Do not warn about compile-time integer division by zero.  Floating point
2181 division by zero is not warned about, as it can be a legitimate way of
2182 obtaining infinities and NaNs.
2183 .Ip "\fB\-Wsystem-headers\fR" 4
2184 Print warning messages for constructs found in system header files.
2185 Warnings from system headers are normally suppressed, on the assumption
2186 that they usually do not indicate real problems and would only make the
2187 compiler output harder to read.  Using this command line option tells
2188 \s-1GCC\s0 to emit warnings from system headers as if they occurred in user
2189 code.  However, note that using \fB\-Wall\fR in conjunction with this
2190 option will \fInot\fR warn about unknown pragmas in system
2191 headers---for that, \fB\-Wunknown-pragmas\fR must also be used.
2192 .Ip "\fB\-Wfloat-equal\fR" 4
2193 Warn if floating point values are used in equality comparisons.
2194 .Sp
2195 The idea behind this is that sometimes it is convenient (for the
2196 programmer) to consider floating-point values as approximations to
2197 infinitely precise real numbers.  If you are doing this, then you need
2198 to compute (by analyzing the code, or in some other way) the maximum or
2199 likely maximum error that the computation introduces, and allow for it
2200 when performing comparisons (and when producing output, but that's a
2201 different problem).  In particular, instead of testing for equality, you
2202 would check to see whether the two values have ranges that overlap; and
2203 this is done with the relational operators, so equality comparisons are
2204 probably mistaken.
2205 .Ip "\fB\-Wtraditional\fR (C only)" 4
2206 Warn about certain constructs that behave differently in traditional and
2207 \s-1ISO\s0 C.  Also warn about \s-1ISO\s0 C constructs that have no traditional C
2208 equivalent, and/or problematic constructs which should be avoided.
2209 .Ip "\(bu" 8
2210 Macro parameters that appear within string literals in the macro body.
2211 In traditional C macro replacement takes place within string literals,
2212 but does not in \s-1ISO\s0 C.
2213 .Ip "\(bu" 8
2214 In traditional C, some preprocessor directives did not exist.
2215 Traditional preprocessors would only consider a line to be a directive
2216 if the \fB#\fR appeared in column 1 on the line.  Therefore
2217 \fB\-Wtraditional\fR warns about directives that traditional C
2218 understands but would ignore because the \fB#\fR does not appear as the
2219 first character on the line.  It also suggests you hide directives like
2220 \fB#pragma\fR not understood by traditional C by indenting them.  Some
2221 traditional implementations would not recognize \fB#elif\fR, so it
2222 suggests avoiding it altogether.
2223 .Ip "\(bu" 8
2224 A function-like macro that appears without arguments.
2225 .Ip "\(bu" 8
2226 The unary plus operator.
2227 .Ip "\(bu" 8
2228 The \fBU\fR integer constant suffix, or the \fBF\fR or \fBL\fR floating point
2229 constant suffixes.  (Traditional C does support the \fBL\fR suffix on integer
2230 constants.)  Note, these suffixes appear in macros defined in the system
2231 headers of most modern systems, e.g. the \fB_MIN\fR/\fB_MAX\fR macros in \f(CW<limits.h>\fR.
2232 Use of these macros in user code might normally lead to spurious
2233 warnings, however \s-1GCC\s0's integrated preprocessor has enough context to
2234 avoid warning in these cases.
2235 .Ip "\(bu" 8
2236 A function declared external in one block and then used after the end of
2237 the block.
2238 .Ip "\(bu" 8
2239 A \f(CWswitch\fR statement has an operand of type \f(CWlong\fR.
2240 .Ip "\(bu" 8
2241 A non-\f(CWstatic\fR function declaration follows a \f(CWstatic\fR one.
2242 This construct is not accepted by some traditional C compilers.
2243 .Ip "\(bu" 8
2244 The \s-1ISO\s0 type of an integer constant has a different width or
2245 signedness from its traditional type.  This warning is only issued if
2246 the base of the constant is ten.  I.e. hexadecimal or octal values, which
2247 typically represent bit patterns, are not warned about.
2248 .Ip "\(bu" 8
2249 Usage of \s-1ISO\s0 string concatenation is detected.
2250 .Ip "\(bu" 8
2251 Initialization of automatic aggregates.
2252 .Ip "\(bu" 8
2253 Identifier conflicts with labels.  Traditional C lacks a separate
2254 namespace for labels.
2255 .Ip "\(bu" 8
2256 Initialization of unions.  If the initializer is zero, the warning is
2257 omitted.  This is done under the assumption that the zero initializer in
2258 user code appears conditioned on e.g. \f(CW__STDC__\fR to avoid missing
2259 initializer warnings and relies on default initialization to zero in the
2260 traditional C case.
2261 .Ip "\(bu" 8
2262 Conversions by prototypes between fixed/floating point values and vice
2263 versa.  The absence of these prototypes when compiling with traditional
2264 C would cause serious problems.  This is a subset of the possible
2265 conversion warnings, for the full set use \fB\-Wconversion\fR.
2266 .Ip "\(bu" 8
2267 Use of \s-1ISO\s0 C style function definitions.  This warning intentionally is
2268 \fInot\fR issued for prototype declarations or variadic functions
2269 because these \s-1ISO\s0 C features will appear in your code when using
2270 libiberty's traditional C compatibility macros, \f(CWPARAMS\fR and
2271 \f(CWVPARAMS\fR.  This warning is also bypassed for nested functions
2272 because that feature is already a \s-1GCC\s0 extension and thus not relevant to
2273 traditional C compatibility.
2274 .Ip "\fB\-Wdeclaration-after-statement\fR (C only)" 4
2275 Warn when a declaration is found after a statement in a block.  This
2276 construct, known from \*(C+, was introduced with \s-1ISO\s0 C99 and is by default
2277 allowed in \s-1GCC\s0.  It is not supported by \s-1ISO\s0 C90 and was not supported by
2278 \s-1GCC\s0 versions before \s-1GCC\s0 3.0.  
2279 .Ip "\fB\-Wundef\fR" 4
2280 Warn if an undefined identifier is evaluated in an \fB#if\fR directive.
2281 .Ip "\fB\-Wendif-labels\fR" 4
2282 Warn whenever an \fB#else\fR or an \fB#endif\fR are followed by text.
2283 .Ip "\fB\-Wshadow\fR" 4
2284 Warn whenever a local variable shadows another local variable, parameter or
2285 global variable or whenever a built-in function is shadowed.
2286 .Ip "\fB\-Wlarger-than-\fR\fIlen\fR" 4
2287 Warn whenever an object of larger than \fIlen\fR bytes is defined.
2288 .Ip "\fB\-Wpointer-arith\fR" 4
2289 Warn about anything that depends on the ``size of'\*(R' a function type or
2290 of \f(CWvoid\fR.  \s-1GNU\s0 C assigns these types a size of 1, for
2291 convenience in calculations with \f(CWvoid *\fR pointers and pointers
2292 to functions.
2293 .Ip "\fB\-Wbad-function-cast\fR (C only)" 4
2294 Warn whenever a function call is cast to a non-matching type.
2295 For example, warn if \f(CWint malloc()\fR is cast to \f(CWanything *\fR.
2296 .Ip "\fB\-Wcast-qual\fR" 4
2297 Warn whenever a pointer is cast so as to remove a type qualifier from
2298 the target type.  For example, warn if a \f(CWconst char *\fR is cast
2299 to an ordinary \f(CWchar *\fR.
2300 .Ip "\fB\-Wcast-align\fR" 4
2301 Warn whenever a pointer is cast such that the required alignment of the
2302 target is increased.  For example, warn if a \f(CWchar *\fR is cast to
2303 an \f(CWint *\fR on machines where integers can only be accessed at
2304 two- or four-byte boundaries.
2305 .Ip "\fB\-Wwrite-strings\fR" 4
2306 When compiling C, give string constants the type \f(CWconst
2307 char[\fIlength\fR]\fR so that
2308 copying the address of one into a non-\f(CWconst\fR \f(CWchar *\fR
2309 pointer will get a warning; when compiling \*(C+, warn about the
2310 deprecated conversion from string constants to \f(CWchar *\fR.
2311 These warnings will help you find at
2312 compile time code that can try to write into a string constant, but
2313 only if you have been very careful about using \f(CWconst\fR in
2314 declarations and prototypes.  Otherwise, it will just be a nuisance;
2315 this is why we did not make \fB\-Wall\fR request these warnings.
2316 .Ip "\fB\-Wconversion\fR" 4
2317 Warn if a prototype causes a type conversion that is different from what
2318 would happen to the same argument in the absence of a prototype.  This
2319 includes conversions of fixed point to floating and vice versa, and
2320 conversions changing the width or signedness of a fixed point argument
2321 except when the same as the default promotion.
2322 .Sp
2323 Also, warn if a negative integer constant expression is implicitly
2324 converted to an unsigned type.  For example, warn about the assignment
2325 \f(CWx = -1\fR if \f(CWx\fR is unsigned.  But do not warn about explicit
2326 casts like \f(CW(unsigned) -1\fR.
2327 .Ip "\fB\-Wsign-compare\fR" 4
2328 Warn when a comparison between signed and unsigned values could produce
2329 an incorrect result when the signed value is converted to unsigned.
2330 This warning is also enabled by \fB\-Wextra\fR; to get the other warnings
2331 of \fB\-Wextra\fR without this warning, use \fB\-Wextra \-Wno-sign-compare\fR.
2332 .Ip "\fB\-Waggregate-return\fR" 4
2333 Warn if any functions that return structures or unions are defined or
2334 called.  (In languages where you can return an array, this also elicits
2335 a warning.)
2336 .Ip "\fB\-Wstrict-prototypes\fR (C only)" 4
2337 Warn if a function is declared or defined without specifying the
2338 argument types.  (An old-style function definition is permitted without
2339 a warning if preceded by a declaration which specifies the argument
2340 types.)
2341 .Ip "\fB\-Wold-style-definition\fR (C only)" 4
2342 Warn if an old-style function definition is used.  A warning is given
2343 even if there is a previous prototype.
2344 .Ip "\fB\-Wmissing-prototypes\fR (C only)" 4
2345 Warn if a global function is defined without a previous prototype
2346 declaration.  This warning is issued even if the definition itself
2347 provides a prototype.  The aim is to detect global functions that fail
2348 to be declared in header files.
2349 .Ip "\fB\-Wmissing-declarations\fR (C only)" 4
2350 Warn if a global function is defined without a previous declaration.
2351 Do so even if the definition itself provides a prototype.
2352 Use this option to detect global functions that are not declared in
2353 header files.
2354 .Ip "\fB\-Wmissing-noreturn\fR" 4
2355 Warn about functions which might be candidates for attribute \f(CWnoreturn\fR.
2356 Note these are only possible candidates, not absolute ones.  Care should
2357 be taken to manually verify functions actually do not ever return before
2358 adding the \f(CWnoreturn\fR attribute, otherwise subtle code generation
2359 bugs could be introduced.  You will not get a warning for \f(CWmain\fR in
2360 hosted C environments.
2361 .Ip "\fB\-Wmissing-format-attribute\fR" 4
2362 If \fB\-Wformat\fR is enabled, also warn about functions which might be
2363 candidates for \f(CWformat\fR attributes.  Note these are only possible
2364 candidates, not absolute ones.  \s-1GCC\s0 will guess that \f(CWformat\fR
2365 attributes might be appropriate for any function that calls a function
2366 like \f(CWvprintf\fR or \f(CWvscanf\fR, but this might not always be the
2367 case, and some functions for which \f(CWformat\fR attributes are
2368 appropriate may not be detected.  This option has no effect unless
2369 \fB\-Wformat\fR is enabled (possibly by \fB\-Wall\fR).
2370 .Ip "\fB\-Wno-multichar\fR" 4
2371 Do not warn if a multicharacter constant (\fB'\s-1FOOF\s0\*(R'\fR) is used.
2372 Usually they indicate a typo in the user's code, as they have
2373 implementation-defined values, and should not be used in portable code.
2374 .Ip "\fB\-Wno-deprecated-declarations\fR" 4
2375 Do not warn about uses of functions, variables, and types marked as
2376 deprecated by using the \f(CWdeprecated\fR attribute.
2377 (@pxref{Function Attributes}, \f(CW@pxref\fR{Variable Attributes},
2378 \f(CW@pxref\fR{Type Attributes}.)
2379 .Ip "\fB\-Wpacked\fR" 4
2380 Warn if a structure is given the packed attribute, but the packed
2381 attribute has no effect on the layout or size of the structure.
2382 Such structures may be mis-aligned for little benefit.  For
2383 instance, in this code, the variable \f(CWf.x\fR in \f(CWstruct bar\fR
2384 will be misaligned even though \f(CWstruct bar\fR does not itself
2385 have the packed attribute:
2386 .Sp
2387 .Vb 9
2388 \&        
2389 \&        struct foo {
2390 \&          int x;
2391 \&          char a, b, c, d;
2392 \&        } __attribute__((packed));
2393 \&        struct bar {
2394 \&          char z;
2395 \&          struct foo f;
2396 \&        };
2397 .Ve
2398 .Ip "\fB\-Wpadded\fR" 4
2399 Warn if padding is included in a structure, either to align an element
2400 of the structure or to align the whole structure.  Sometimes when this
2401 happens it is possible to rearrange the fields of the structure to
2402 reduce the padding and so make the structure smaller.
2403 .Ip "\fB\-Wredundant-decls\fR" 4
2404 Warn if anything is declared more than once in the same scope, even in
2405 cases where multiple declaration is valid and changes nothing.
2406 .Ip "\fB\-Wnested-externs\fR (C only)" 4
2407 Warn if an \f(CWextern\fR declaration is encountered within a function.
2408 .Ip "\fB\-Wunreachable-code\fR" 4
2409 Warn if the compiler detects that code will never be executed.
2410 .Sp
2411 This option is intended to warn when the compiler detects that at
2412 least a whole line of source code will never be executed, because
2413 some condition is never satisfied or because it is after a
2414 procedure that never returns.
2415 .Sp
2416 It is possible for this option to produce a warning even though there
2417 are circumstances under which part of the affected line can be executed,
2418 so care should be taken when removing apparently-unreachable code.
2419 .Sp
2420 For instance, when a function is inlined, a warning may mean that the
2421 line is unreachable in only one inlined copy of the function.
2422 .Sp
2423 This option is not made part of \fB\-Wall\fR because in a debugging
2424 version of a program there is often substantial code which checks
2425 correct functioning of the program and is, hopefully, unreachable
2426 because the program does work.  Another common use of unreachable
2427 code is to provide behavior which is selectable at compile-time.
2428 .Ip "\fB\-Winline\fR" 4
2429 Warn if a function can not be inlined and it was declared as inline.
2430 Even with this option, the compiler will not warn about failures to
2431 inline functions declared in system headers.
2432 .Sp
2433 The compiler uses a variety of heuristics to determine whether or not
2434 to inline a function.  For example, the compiler takes into account
2435 the size of the function being inlined and the the amount of inlining
2436 that has already been done in the current function.  Therefore,
2437 seemingly insignificant changes in the source program can cause the
2438 warnings produced by \fB\-Winline\fR to appear or disappear.
2439 .Ip "\fB\-Wno-invalid-offsetof\fR (\*(C+ only)" 4
2440 Suppress warnings from applying the \fBoffsetof\fR macro to a non-\s-1POD\s0
2441 type.  According to the 1998 \s-1ISO\s0 \*(C+ standard, applying \fBoffsetof\fR
2442 to a non-\s-1POD\s0 type is undefined.  In existing \*(C+ implementations,
2443 however, \fBoffsetof\fR typically gives meaningful results even when
2444 applied to certain kinds of non-\s-1POD\s0 types. (Such as a simple
2445 \fBstruct\fR that fails to be a \s-1POD\s0 type only by virtue of having a
2446 constructor.)  This flag is for users who are aware that they are
2447 writing nonportable code and who have deliberately chosen to ignore the
2448 warning about it.
2449 .Sp
2450 The restrictions on \fBoffsetof\fR may be relaxed in a future version
2451 of the \*(C+ standard.
2452 .Ip "\fB\-Winvalid-pch\fR" 4
2453 Warn if a precompiled header is found in
2454 the search path but can't be used.
2455 .Ip "\fB\-Wlong-long\fR" 4
2456 Warn if \fBlong long\fR type is used.  This is default.  To inhibit
2457 the warning messages, use \fB\-Wno-long-long\fR.  Flags
2458 \fB\-Wlong-long\fR and \fB\-Wno-long-long\fR are taken into account
2459 only when \fB\-pedantic\fR flag is used.
2460 .Ip "\fB\-Wdisabled-optimization\fR" 4
2461 Warn if a requested optimization pass is disabled.  This warning does
2462 not generally indicate that there is anything wrong with your code; it
2463 merely indicates that \s-1GCC\s0's optimizers were unable to handle the code
2464 effectively.  Often, the problem is that your code is too big or too
2465 complex; \s-1GCC\s0 will refuse to optimize programs when the optimization
2466 itself is likely to take inordinate amounts of time.
2467 .Ip "\fB\-Werror\fR" 4
2468 Make all warnings into errors.
2469 .Sh "Options for Debugging Your Program or \s-1GCC\s0"
2470 \s-1GCC\s0 has various special options that are used for debugging
2471 either your program or \s-1GCC\s0:
2472 .Ip "\fB\-g\fR" 4
2473 Produce debugging information in the operating system's native format
2474 (stabs, \s-1COFF\s0, \s-1XCOFF\s0, or \s-1DWARF\s0).  \s-1GDB\s0 can work with this debugging
2475 information.
2476 .Sp
2477 On most systems that use stabs format, \fB\-g\fR enables use of extra
2478 debugging information that only \s-1GDB\s0 can use; this extra information
2479 makes debugging work better in \s-1GDB\s0 but will probably make other debuggers
2480 crash or
2481 refuse to read the program.  If you want to control for certain whether
2482 to generate the extra information, use \fB\-gstabs+\fR, \fB\-gstabs\fR,
2483 \fB\-gxcoff+\fR, \fB\-gxcoff\fR, or \fB\-gvms\fR (see below).
2484 .Sp
2485 Unlike most other C compilers, \s-1GCC\s0 allows you to use \fB\-g\fR with
2486 \fB\-O\fR.  The shortcuts taken by optimized code may occasionally
2487 produce surprising results: some variables you declared may not exist
2488 at all; flow of control may briefly move where you did not expect it;
2489 some statements may not be executed because they compute constant
2490 results or their values were already at hand; some statements may
2491 execute in different places because they were moved out of loops.
2492 .Sp
2493 Nevertheless it proves possible to debug optimized output.  This makes
2494 it reasonable to use the optimizer for programs that might have bugs.
2495 .Sp
2496 The following options are useful when \s-1GCC\s0 is generated with the
2497 capability for more than one debugging format.
2498 .Ip "\fB\-ggdb\fR" 4
2499 Produce debugging information for use by \s-1GDB\s0.  This means to use the
2500 most expressive format available (\s-1DWARF\s0 2, stabs, or the native format
2501 if neither of those are supported), including \s-1GDB\s0 extensions if at all
2502 possible.
2503 .Ip "\fB\-gstabs\fR" 4
2504 Produce debugging information in stabs format (if that is supported),
2505 without \s-1GDB\s0 extensions.  This is the format used by \s-1DBX\s0 on most \s-1BSD\s0
2506 systems.  On \s-1MIPS\s0, Alpha and System V Release 4 systems this option
2507 produces stabs debugging output which is not understood by \s-1DBX\s0 or \s-1SDB\s0.
2508 On System V Release 4 systems this option requires the \s-1GNU\s0 assembler.
2509 .Ip "\fB\-feliminate-unused-debug-symbols\fR" 4
2510 Produce debugging information in stabs format (if that is supported),
2511 for only symbols that are actually used.
2512 .Ip "\fB\-gstabs+\fR" 4
2513 Produce debugging information in stabs format (if that is supported),
2514 using \s-1GNU\s0 extensions understood only by the \s-1GNU\s0 debugger (\s-1GDB\s0).  The
2515 use of these extensions is likely to make other debuggers crash or
2516 refuse to read the program.
2517 .Ip "\fB\-gcoff\fR" 4
2518 Produce debugging information in \s-1COFF\s0 format (if that is supported).
2519 This is the format used by \s-1SDB\s0 on most System V systems prior to
2520 System V Release 4.
2521 .Ip "\fB\-gxcoff\fR" 4
2522 Produce debugging information in \s-1XCOFF\s0 format (if that is supported).
2523 This is the format used by the \s-1DBX\s0 debugger on \s-1IBM\s0 \s-1RS/6000\s0 systems.
2524 .Ip "\fB\-gxcoff+\fR" 4
2525 Produce debugging information in \s-1XCOFF\s0 format (if that is supported),
2526 using \s-1GNU\s0 extensions understood only by the \s-1GNU\s0 debugger (\s-1GDB\s0).  The
2527 use of these extensions is likely to make other debuggers crash or
2528 refuse to read the program, and may cause assemblers other than the \s-1GNU\s0
2529 assembler (\s-1GAS\s0) to fail with an error.
2530 .Ip "\fB\-gdwarf-2\fR" 4
2531 Produce debugging information in \s-1DWARF\s0 version 2 format (if that is
2532 supported).  This is the format used by \s-1DBX\s0 on \s-1IRIX\s0 6.
2533 .Ip "\fB\-gvms\fR" 4
2534 Produce debugging information in \s-1VMS\s0 debug format (if that is
2535 supported).  This is the format used by \s-1DEBUG\s0 on \s-1VMS\s0 systems.
2536 .Ip "\fB\-g\fR\fIlevel\fR" 4
2537 .Ip "\fB\-ggdb\fR\fIlevel\fR" 4
2538 .Ip "\fB\-gstabs\fR\fIlevel\fR" 4
2539 .Ip "\fB\-gcoff\fR\fIlevel\fR" 4
2540 .Ip "\fB\-gxcoff\fR\fIlevel\fR" 4
2541 .Ip "\fB\-gvms\fR\fIlevel\fR" 4
2542 Request debugging information and also use \fIlevel\fR to specify how
2543 much information.  The default level is 2.
2544 .Sp
2545 Level 1 produces minimal information, enough for making backtraces in
2546 parts of the program that you don't plan to debug.  This includes
2547 descriptions of functions and external variables, but no information
2548 about local variables and no line numbers.
2549 .Sp
2550 Level 3 includes extra information, such as all the macro definitions
2551 present in the program.  Some debuggers support macro expansion when
2552 you use \fB\-g3\fR.
2553 .Sp
2554 Note that in order to avoid confusion between \s-1DWARF1\s0 debug level 2,
2555 and \s-1DWARF2\s0 \fB\-gdwarf-2\fR does not accept a concatenated debug
2556 level.  Instead use an additional \fB\-g\fR\fIlevel\fR option to
2557 change the debug level for \s-1DWARF2\s0.
2558 .Ip "\fB\-feliminate-dwarf2-dups\fR" 4
2559 Compress \s-1DWARF2\s0 debugging information by eliminating duplicated
2560 information about each symbol.  This option only makes sense when
2561 generating \s-1DWARF2\s0 debugging information with \fB\-gdwarf-2\fR.
2562 .Ip "\fB\-p\fR" 4
2563 Generate extra code to write profile information suitable for the
2564 analysis program \fBprof\fR.  You must use this option when compiling
2565 the source files you want data about, and you must also use it when
2566 linking.
2567 .Ip "\fB\-pg\fR" 4
2568 Generate extra code to write profile information suitable for the
2569 analysis program \fBgprof\fR.  You must use this option when compiling
2570 the source files you want data about, and you must also use it when
2571 linking.
2572 .Ip "\fB\-Q\fR" 4
2573 Makes the compiler print out each function name as it is compiled, and
2574 print some statistics about each pass when it finishes.
2575 .Ip "\fB\-ftime-report\fR" 4
2576 Makes the compiler print some statistics about the time consumed by each
2577 pass when it finishes.
2578 .Ip "\fB\-fmem-report\fR" 4
2579 Makes the compiler print some statistics about permanent memory
2580 allocation when it finishes.
2581 .Ip "\fB\-fprofile-arcs\fR" 4
2582 Add code so that program flow \fIarcs\fR are instrumented.  During
2583 execution the program records how many times each branch and call is
2584 executed and how many times it is taken or returns.  When the compiled
2585 program exits it saves this data to a file called
2586 \fI\fIauxname\fR.gcda\fR for each source file. The data may be used for
2587 profile-directed optimizations (\fB\-fbranch-probabilities\fR), or for
2588 test coverage analysis (\fB\-ftest-coverage\fR). Each object file's
2589 \fIauxname\fR is generated from the name of the output file, if
2590 explicitly specified and it is not the final executable, otherwise it is
2591 the basename of the source file. In both cases any suffix is removed
2592 (e.g.  \fIfoo.gcda\fR for input file \fIdir/foo.c\fR, or
2593 \fIdir/foo.gcda\fR for output file specified as \fB\-o dir/foo.o\fR).
2594 .Ip "@bullet" 8
2595 Compile the source files with \fB\-fprofile-arcs\fR plus optimization
2596 and code generation options. For test coverage analysis, use the
2597 additional \fB\-ftest-coverage\fR option. You do not need to profile
2598 every source file in a program.
2599 .Ip "@cvmmfu" 8
2600 Link your object files with \fB\-lgcov\fR or \fB\-fprofile-arcs\fR
2601 (the latter implies the former).
2602 .Ip "@dwnngv" 8
2603 Run the program on a representative workload to generate the arc profile
2604 information. This may be repeated any number of times. You can run
2605 concurrent instances of your program, and provided that the file system
2606 supports locking, the data files will be correctly updated. Also
2607 \f(CWfork\fR calls are detected and correctly handled (double counting
2608 will not happen).
2609 .Ip "@exoohw" 8
2610 For profile-directed optimizations, compile the source files again with
2611 the same optimization and code generation options plus
2612 \fB\-fbranch-probabilities\fR.
2613 .Ip "@fyppix" 8
2614 For test coverage analysis, use \fBgcov\fR to produce human readable
2615 information from the \fI.gcno\fR and \fI.gcda\fR files. Refer to the
2616 \fBgcov\fR documentation for further information.
2617 .Sp
2618 With \fB\-fprofile-arcs\fR, for each function of your program \s-1GCC\s0
2619 creates a program flow graph, then finds a spanning tree for the graph.
2620 Only arcs that are not on the spanning tree have to be instrumented: the
2621 compiler adds code to count the number of times that these arcs are
2622 executed.  When an arc is the only exit or only entrance to a block, the
2623 instrumentation code can be added to the block; otherwise, a new basic
2624 block must be created to hold the instrumentation code.
2625 .Ip "\fB\-ftest-coverage\fR" 4
2626 Produce a notes file that the \fBgcov\fR code-coverage utility can use to
2627 show program coverage. Each source file's note file is called
2628 \fI\fIauxname\fR.gcno\fR. Refer to the \fB\-fprofile-arcs\fR option
2629 above for a description of \fIauxname\fR and instructions on how to
2630 generate test coverage data. Coverage data will match the source files
2631 more closely, if you do not optimize.
2632 .Ip "\fB\-d\fR\fIletters\fR" 4
2633 Says to make debugging dumps during compilation at times specified by
2634 \fIletters\fR.  This is used for debugging the compiler.  The file names
2635 for most of the dumps are made by appending a pass number and a word to
2636 the \fIdumpname\fR. \fIdumpname\fR is generated from the name of the
2637 output file, if explicitly specified and it is not an executable,
2638 otherwise it is the basename of the source file. In both cases any
2639 suffix is removed (e.g.  \fIfoo.01.rtl\fR or \fIfoo.02.sibling\fR).
2640 Here are the possible letters for use in \fIletters\fR, and their
2641 meanings:
2642 .Ip "\fBA\fR" 8
2643 Annotate the assembler output with miscellaneous debugging information.
2644 .Ip "\fBb\fR" 8
2645 Dump after computing branch probabilities, to \fI\fIfile\fR.12.bp\fR.
2646 .Ip "\fBB\fR" 8
2647 Dump after block reordering, to \fI\fIfile\fR.31.bbro\fR.
2648 .Ip "\fBc\fR" 8
2649 Dump after instruction combination, to the file \fI\fIfile\fR.20.combine\fR.
2650 .Ip "\fBC\fR" 8
2651 Dump after the first if conversion, to the file \fI\fIfile\fR.14.ce1\fR.
2652 Also dump after the second if conversion, to the file \fI\fIfile\fR.21.ce2\fR.
2653 .Ip "\fBd\fR" 8
2654 Dump after branch target load optimization, to to \fI\fIfile\fR.32.btl\fR.
2655 Also dump after delayed branch scheduling, to \fI\fIfile\fR.36.dbr\fR.
2656 .Ip "\fBD\fR" 8
2657 Dump all macro definitions, at the end of preprocessing, in addition to
2658 normal output.
2659 .Ip "\fBE\fR" 8
2660 Dump after the third if conversion, to \fI\fIfile\fR.30.ce3\fR.
2661 .Ip "\fBf\fR" 8
2662 Dump after control and data flow analysis, to \fI\fIfile\fR.11.cfg\fR.
2663 Also dump after life analysis, to \fI\fIfile\fR.19.life\fR.
2664 .Ip "\fBF\fR" 8
2665 Dump after purging \f(CWADDRESSOF\fR codes, to \fI\fIfile\fR.07.addressof\fR.
2666 .Ip "\fBg\fR" 8
2667 Dump after global register allocation, to \fI\fIfile\fR.25.greg\fR.
2668 .Ip "\fBG\fR" 8
2669 Dump after \s-1GCSE\s0, to \fI\fIfile\fR.08.gcse\fR.
2670 Also dump after jump bypassing and control flow optimizations, to
2671 \fI\fIfile\fR.10.bypass\fR.
2672 .Ip "\fBh\fR" 8
2673 Dump after finalization of \s-1EH\s0 handling code, to \fI\fIfile\fR.03.eh\fR.
2674 .Ip "\fBi\fR" 8
2675 Dump after sibling call optimizations, to \fI\fIfile\fR.02.sibling\fR.
2676 .Ip "\fBj\fR" 8
2677 Dump after the first jump optimization, to \fI\fIfile\fR.04.jump\fR.
2678 .Ip "\fBk\fR" 8
2679 Dump after conversion from registers to stack, to \fI\fIfile\fR.34.stack\fR.
2680 .Ip "\fBl\fR" 8
2681 Dump after local register allocation, to \fI\fIfile\fR.24.lreg\fR.
2682 .Ip "\fBL\fR" 8
2683 Dump after loop optimization passes, to \fI\fIfile\fR.09.loop\fR and
2684 \fI\fIfile\fR.16.loop2\fR.
2685 .Ip "\fBM\fR" 8
2686 Dump after performing the machine dependent reorganization pass, to
2687 \fI\fIfile\fR.35.mach\fR.
2688 .Ip "\fBn\fR" 8
2689 Dump after register renumbering, to \fI\fIfile\fR.29.rnreg\fR.
2690 .Ip "\fBN\fR" 8
2691 Dump after the register move pass, to \fI\fIfile\fR.22.regmove\fR.
2692 .Ip "\fBo\fR" 8
2693 Dump after post-reload optimizations, to \fI\fIfile\fR.26.postreload\fR.
2694 .Ip "\fBr\fR" 8
2695 Dump after \s-1RTL\s0 generation, to \fI\fIfile\fR.01.rtl\fR.
2696 .Ip "\fBR\fR" 8
2697 Dump after the second scheduling pass, to \fI\fIfile\fR.33.sched2\fR.
2698 .Ip "\fBs\fR" 8
2699 Dump after \s-1CSE\s0 (including the jump optimization that sometimes follows
2700 \s-1CSE\s0), to \fI\fIfile\fR.06.cse\fR.
2701 .Ip "\fBS\fR" 8
2702 Dump after the first scheduling pass, to \fI\fIfile\fR.23.sched\fR.
2703 .Ip "\fBt\fR" 8
2704 Dump after the second \s-1CSE\s0 pass (including the jump optimization that
2705 sometimes follows \s-1CSE\s0), to \fI\fIfile\fR.18.cse2\fR.
2706 .Ip "\fBT\fR" 8
2707 Dump after running tracer, to \fI\fIfile\fR.15.tracer\fR.
2708 .Ip "\fBu\fR" 8
2709 Dump after null pointer elimination pass to \fI\fIfile\fR.05.null\fR.
2710 .Ip "\fBU\fR" 8
2711 Dump callgraph and unit-at-a-time optimization \fI\fIfile\fR.00.unit\fR.
2712 .Ip "\fBV\fR" 8
2713 Dump after the value profile transformations, to \fI\fIfile\fR.13.vpt\fR.
2714 .Ip "\fBw\fR" 8
2715 Dump after the second flow pass, to \fI\fIfile\fR.27.flow2\fR.
2716 .Ip "\fBz\fR" 8
2717 Dump after the peephole pass, to \fI\fIfile\fR.28.peephole2\fR.
2718 .Ip "\fBZ\fR" 8
2719 Dump after constructing the web, to \fI\fIfile\fR.17.web\fR.
2720 .Ip "\fBa\fR" 8
2721 Produce all the dumps listed above.
2722 .Ip "\fBH\fR" 8
2723 Produce a core dump whenever an error occurs.
2724 .Ip "\fBm\fR" 8
2725 Print statistics on memory usage, at the end of the run, to
2726 standard error.
2727 .Ip "\fBp\fR" 8
2728 Annotate the assembler output with a comment indicating which
2729 pattern and alternative was used.  The length of each instruction is
2730 also printed.
2731 .Ip "\fBP\fR" 8
2732 Dump the \s-1RTL\s0 in the assembler output as a comment before each instruction.
2733 Also turns on \fB\-dp\fR annotation.
2734 .Ip "\fBv\fR" 8
2735 For each of the other indicated dump files (except for
2736 \fI\fIfile\fR.01.rtl\fR), dump a representation of the control flow graph
2737 suitable for viewing with \s-1VCG\s0 to \fI\fIfile\fR.\fIpass\fR.vcg\fR.
2738 .Ip "\fBx\fR" 8
2739 Just generate \s-1RTL\s0 for a function instead of compiling it.  Usually used
2740 with \fBr\fR.
2741 .Ip "\fBy\fR" 8
2742 Dump debugging information during parsing, to standard error.
2743 .Ip "\fB\-fdump-unnumbered\fR" 4
2744 When doing debugging dumps (see \fB\-d\fR option above), suppress instruction
2745 numbers and line number note output.  This makes it more feasible to
2746 use diff on debugging dumps for compiler invocations with different
2747 options, in particular with and without \fB\-g\fR.
2748 .Ip "\fB\-fdump-translation-unit\fR (C and \*(C+ only)" 4
2749 .Ip "\fB\-fdump-translation-unit-\fR\fIoptions\fR\fB \fR(C and \*(C+ only)" 4
2750 Dump a representation of the tree structure for the entire translation
2751 unit to a file.  The file name is made by appending \fI.tu\fR to the
2752 source file name.  If the \fB\-\fR\fIoptions\fR form is used, \fIoptions\fR
2753 controls the details of the dump as described for the
2754 \fB\-fdump-tree\fR options.
2755 .Ip "\fB\-fdump-class-hierarchy\fR (\*(C+ only)" 4
2756 .Ip "\fB\-fdump-class-hierarchy-\fR\fIoptions\fR\fB \fR(\*(C+ only)" 4
2757 Dump a representation of each class's hierarchy and virtual function
2758 table layout to a file.  The file name is made by appending \fI.class\fR
2759 to the source file name.  If the \fB\-\fR\fIoptions\fR form is used,
2760 \fIoptions\fR controls the details of the dump as described for the
2761 \fB\-fdump-tree\fR options.
2762 .Ip "\fB\-fdump-tree-\fR\fIswitch\fR\fB \fR(\*(C+ only)" 4
2763 .Ip "\fB\-fdump-tree-\fR\fIswitch\fR\fB\-\fR\fIoptions\fR\fB \fR(\*(C+ only)" 4
2764 Control the dumping at various stages of processing the intermediate
2765 language tree to a file.  The file name is generated by appending a switch
2766 specific suffix to the source file name.  If the \fB\-\fR\fIoptions\fR
2767 form is used, \fIoptions\fR is a list of \fB\-\fR separated options that
2768 control the details of the dump. Not all options are applicable to all
2769 dumps, those which are not meaningful will be ignored. The following
2770 options are available
2771 .Ip "\fBaddress\fR" 8
2772 Print the address of each node.  Usually this is not meaningful as it
2773 changes according to the environment and source file. Its primary use
2774 is for tying up a dump file with a debug environment.
2775 .Ip "\fBslim\fR" 8
2776 Inhibit dumping of members of a scope or body of a function merely
2777 because that scope has been reached. Only dump such items when they
2778 are directly reachable by some other path.
2779 .Ip "\fBall\fR" 8
2780 Turn on all options.
2781 .Sp
2782 The following tree dumps are possible:
2783 .Ip "\fBoriginal\fR" 8
2784 Dump before any tree based optimization, to \fI\fIfile\fR.original\fR.
2785 .Ip "\fBoptimized\fR" 8
2786 Dump after all tree based optimization, to \fI\fIfile\fR.optimized\fR.
2787 .Ip "\fBinlined\fR" 8
2788 Dump after function inlining, to \fI\fIfile\fR.inlined\fR.
2789 .Ip "\fB\-frandom-seed=\fR\fIstring\fR" 4
2790 This option provides a seed that \s-1GCC\s0 uses when it would otherwise use
2791 random numbers.  It is used to generate certain symbol names
2792 that have to be different in every compiled file. It is also used to
2793 place unique stamps in coverage data files and the object files that
2794 produce them. You can use the \fB\-frandom-seed\fR option to produce
2795 reproducibly identical object files.
2796 .Sp
2797 The \fIstring\fR should be different for every file you compile.
2798 .Ip "\fB\-fsched-verbose=\fR\fIn\fR" 4
2799 On targets that use instruction scheduling, this option controls the
2800 amount of debugging output the scheduler prints.  This information is
2801 written to standard error, unless \fB\-dS\fR or \fB\-dR\fR is
2802 specified, in which case it is output to the usual dump
2803 listing file, \fI.sched\fR or \fI.sched2\fR respectively.  However
2804 for \fIn\fR greater than nine, the output is always printed to standard
2805 error.
2806 .Sp
2807 For \fIn\fR greater than zero, \fB\-fsched-verbose\fR outputs the
2808 same information as \fB\-dRS\fR.  For \fIn\fR greater than one, it
2809 also output basic block probabilities, detailed ready list information
2810 and unit/insn info.  For \fIn\fR greater than two, it includes \s-1RTL\s0
2811 at abort point, control-flow and regions info.  And for \fIn\fR over
2812 four, \fB\-fsched-verbose\fR also includes dependence info.
2813 .Ip "\fB\-save-temps\fR" 4
2814 Store the usual ``temporary'\*(R' intermediate files permanently; place them
2815 in the current directory and name them based on the source file.  Thus,
2816 compiling \fIfoo.c\fR with \fB\-c \-save-temps\fR would produce files
2817 \fIfoo.i\fR and \fIfoo.s\fR, as well as \fIfoo.o\fR.  This creates a
2818 preprocessed \fIfoo.i\fR output file even though the compiler now
2819 normally uses an integrated preprocessor.
2820 .Ip "\fB\-time\fR" 4
2821 Report the \s-1CPU\s0 time taken by each subprocess in the compilation
2822 sequence.  For C source files, this is the compiler proper and assembler
2823 (plus the linker if linking is done).  The output looks like this:
2824 .Sp
2825 .Vb 3
2826 \&        
2827 \&        # cc1 0.12 0.01
2828 \&        # as 0.00 0.01
2829 .Ve
2830 The first number on each line is the ``user time,'\*(R' that is time spent
2831 executing the program itself.  The second number is ``system time,'\*(R'
2832 time spent executing operating system routines on behalf of the program.
2833 Both numbers are in seconds.
2834 .Ip "\fB\-print-file-name=\fR\fIlibrary\fR" 4
2835 Print the full absolute name of the library file \fIlibrary\fR that
2836 would be used when linking---and don't do anything else.  With this
2837 option, \s-1GCC\s0 does not compile or link anything; it just prints the
2838 file name.
2839 .Ip "\fB\-print-multi-directory\fR" 4
2840 Print the directory name corresponding to the multilib selected by any
2841 other switches present in the command line.  This directory is supposed
2842 to exist in \fB\s-1GCC_EXEC_PREFIX\s0\fR.
2843 .Ip "\fB\-print-multi-lib\fR" 4
2844 Print the mapping from multilib directory names to compiler switches
2845 that enable them.  The directory name is separated from the switches by
2846 \fB;\fR, and each switch starts with an \fB@} instead of the
2847 @samp{\-\fR, without spaces between multiple switches.  This is supposed to
2848 ease shell-processing.
2849 .Ip "\fB\-print-prog-name=\fR\fIprogram\fR" 4
2850 Like \fB\-print-file-name\fR, but searches for a program such as \fBcpp\fR.
2851 .Ip "\fB\-print-libgcc-file-name\fR" 4
2852 Same as \fB\-print-file-name=libgcc.a\fR.
2853 .Sp
2854 This is useful when you use \fB\-nostdlib\fR or \fB\-nodefaultlibs\fR
2855 but you do want to link with \fIlibgcc.a\fR.  You can do
2856 .Sp
2857 .Vb 2
2858 \&        
2859 \&        gcc -nostdlib <files>... `gcc -print-libgcc-file-name`
2860 .Ve
2861 .Ip "\fB\-print-search-dirs\fR" 4
2862 Print the name of the configured installation directory and a list of
2863 program and library directories \fBgcc\fR will search---and don't do anything else.
2864 .Sp
2865 This is useful when \fBgcc\fR prints the error message
2866 \fBinstallation problem, cannot exec cpp0: No such file or directory\fR.
2867 To resolve this you either need to put \fIcpp0\fR and the other compiler
2868 components where \fBgcc\fR expects to find them, or you can set the environment
2869 variable \fB\s-1GCC_EXEC_PREFIX\s0\fR to the directory where you installed them.
2870 Don't forget the trailing \*(L'/\*(R'.
2871 .Ip "\fB\-dumpmachine\fR" 4
2872 Print the compiler's target machine (for example,
2873 \fBi686-pc-linux-gnu\fR)---and don't do anything else.
2874 .Ip "\fB\-dumpversion\fR" 4
2875 Print the compiler version (for example, \fB3.0\fR)---and don't do
2876 anything else.
2877 .Ip "\fB\-dumpspecs\fR" 4
2878 Print the compiler's built-in specs---and don't do anything else.  (This
2879 is used when \s-1GCC\s0 itself is being built.)  
2880 .Ip "\fB\-feliminate-unused-debug-types\fR" 4
2881 Normally, when producing \s-1DWARF2\s0 output, \s-1GCC\s0 will emit debugging
2882 information for all types declared in a compilation
2883 unit, regardless of whether or not they are actually used
2884 in that compilation unit.  Sometimes this is useful, such as
2885 if, in the debugger, you want to cast a value to a type that is
2886 not actually used in your program (but is declared).  More often,
2887 however, this results in a significant amount of wasted space.
2888 With this option, \s-1GCC\s0 will avoid producing debug symbol output
2889 for types that are nowhere used in the source file being compiled.
2890 .Sh "Options That Control Optimization"
2891 These options control various sorts of optimizations.
2892 .PP
2893 Without any optimization option, the compiler's goal is to reduce the
2894 cost of compilation and to make debugging produce the expected
2895 results.  Statements are independent: if you stop the program with a
2896 breakpoint between statements, you can then assign a new value to any
2897 variable or change the program counter to any other statement in the
2898 function and get exactly the results you would expect from the source
2899 code.
2900 .PP
2901 Turning on optimization flags makes the compiler attempt to improve
2902 the performance and/or code size at the expense of compilation time
2903 and possibly the ability to debug the program.
2904 .PP
2905 The compiler performs optimization based on the knowledge it has of
2906 the program.  Using the \fB\-funit-at-a-time\fR flag will allow the
2907 compiler to consider information gained from later functions in the
2908 file when compiling a function.  Compiling multiple files at once to a
2909 single output file (and using \fB\-funit-at-a-time\fR) will allow
2910 the compiler to use information gained from all of the files when
2911 compiling each of them.
2912 .PP
2913 Not all optimizations are controlled directly by a flag.  Only
2914 optimizations that have a flag are listed.
2915 .Ip "\fB\-O\fR" 4
2916 .Ip "\fB\-O1\fR" 4
2917 Optimize.  Optimizing compilation takes somewhat more time, and a lot
2918 more memory for a large function.
2919 .Sp
2920 With \fB\-O\fR, the compiler tries to reduce code size and execution
2921 time, without performing any optimizations that take a great deal of
2922 compilation time.
2923 .Sp
2924 \fB\-O\fR turns on the following optimization flags:
2925 \fB\-fdefer-pop 
2926 \-fmerge-constants 
2927 \-fthread-jumps 
2928 \-floop-optimize 
2929 \-fif-conversion 
2930 \-fif-conversion2 
2931 \-fdelayed-branch 
2932 \-fguess-branch-probability 
2933 \-fcprop-registers\fR
2934 .Sp
2935 \fB\-O\fR also turns on \fB\-fomit-frame-pointer\fR on machines
2936 where doing so does not interfere with debugging.
2937 .Ip "\fB\-O2\fR" 4
2938 Optimize even more.  \s-1GCC\s0 performs nearly all supported optimizations
2939 that do not involve a space-speed tradeoff.  The compiler does not
2940 perform loop unrolling or function inlining when you specify \fB\-O2\fR.
2941 As compared to \fB\-O\fR, this option increases both compilation time
2942 and the performance of the generated code.
2943 .Sp
2944 \fB\-O2\fR turns on all optimization flags specified by \fB\-O\fR.  It
2945 also turns on the following optimization flags:
2946 \fB\-fforce-mem 
2947 \-foptimize-sibling-calls 
2948 \-fstrength-reduce 
2949 \-fcse-follow-jumps  \-fcse-skip-blocks 
2950 \-frerun-cse-after-loop  \-frerun-loop-opt 
2951 \-fgcse  \-fgcse-lm  \-fgcse-sm  \-fgcse-las 
2952 \-fdelete-null-pointer-checks 
2953 \-fexpensive-optimizations 
2954 \-fregmove 
2955 \-fschedule-insns  \-fschedule-insns2 
2956 \-fsched-interblock  \-fsched-spec 
2957 \-fcaller-saves 
2958 \-fpeephole2 
2959 \-freorder-blocks  \-freorder-functions 
2960 \-fstrict-aliasing 
2961 \-funit-at-a-time 
2962 \-falign-functions  \-falign-jumps 
2963 \-falign-loops  \-falign-labels 
2964 \-fcrossjumping\fR
2965 .Sp
2966 Please note the warning under \fB\-fgcse\fR about
2967 invoking \fB\-O2\fR on programs that use computed gotos.
2968 .Ip "\fB\-O3\fR" 4
2969 Optimize yet more.  \fB\-O3\fR turns on all optimizations specified by
2970 \fB\-O2\fR and also turns on the \fB\-finline-functions\fR,
2971 \fB\-fweb\fR and \fB\-frename-registers\fR options.
2972 .Ip "\fB\-O0\fR" 4
2973 Do not optimize.  This is the default.
2974 .Ip "\fB\-Os\fR" 4
2975 Optimize for size.  \fB\-Os\fR enables all \fB\-O2\fR optimizations that
2976 do not typically increase code size.  It also performs further
2977 optimizations designed to reduce code size.
2978 .Sp
2979 \fB\-Os\fR disables the following optimization flags:
2980 \fB\-falign-functions  \-falign-jumps  \-falign-loops 
2981 \-falign-labels  \-freorder-blocks  \-fprefetch-loop-arrays\fR
2982 .Sp
2983 If you use multiple \fB\-O\fR options, with or without level numbers,
2984 the last such option is the one that is effective.
2985 .PP
2986 Options of the form \fB\-f\fR\fIflag\fR specify machine-independent
2987 flags.  Most flags have both positive and negative forms; the negative
2988 form of \fB\-ffoo\fR would be \fB\-fno-foo\fR.  In the table
2989 below, only one of the forms is listed---the one you typically will
2990 use.  You can figure out the other form by either removing \fBno-\fR
2991 or adding it.
2992 .PP
2993 The following options control specific optimizations.  They are either
2994 activated by \fB\-O\fR options or are related to ones that are.  You
2995 can use the following flags in the rare cases when ``fine-tuning'\*(R' of
2996 optimizations to be performed is desired.
2997 .Ip "\fB\-fno-default-inline\fR" 4
2998 Do not make member functions inline by default merely because they are
2999 defined inside the class scope (\*(C+ only).  Otherwise, when you specify
3000 \fB\-O\fR, member functions defined inside class scope are compiled
3001 inline by default; i.e., you don't need to add \fBinline\fR in front of
3002 the member function name.
3003 .Ip "\fB\-fno-defer-pop\fR" 4
3004 Always pop the arguments to each function call as soon as that function
3005 returns.  For machines which must pop arguments after a function call,
3006 the compiler normally lets arguments accumulate on the stack for several
3007 function calls and pops them all at once.
3008 .Sp
3009 Disabled at levels \fB\-O\fR, \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3010 .Ip "\fB\-fforce-mem\fR" 4
3011 Force memory operands to be copied into registers before doing
3012 arithmetic on them.  This produces better code by making all memory
3013 references potential common subexpressions.  When they are not common
3014 subexpressions, instruction combination should eliminate the separate
3015 register-load.
3016 .Sp
3017 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3018 .Ip "\fB\-fforce-addr\fR" 4
3019 Force memory address constants to be copied into registers before
3020 doing arithmetic on them.  This may produce better code just as
3021 \fB\-fforce-mem\fR may.
3022 .Ip "\fB\-fomit-frame-pointer\fR" 4
3023 Don't keep the frame pointer in a register for functions that
3024 don't need one.  This avoids the instructions to save, set up and
3025 restore frame pointers; it also makes an extra register available
3026 in many functions.  \fBIt also makes debugging impossible on
3027 some machines.\fR
3028 .Sp
3029 On some machines, such as the \s-1VAX\s0, this flag has no effect, because
3030 the standard calling sequence automatically handles the frame pointer
3031 and nothing is saved by pretending it doesn't exist.  The
3032 machine-description macro \f(CWFRAME_POINTER_REQUIRED\fR controls
3033 whether a target machine supports this flag.  
3034 .Sp
3035 Enabled at levels \fB\-O\fR, \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3036 .Ip "\fB\-foptimize-sibling-calls\fR" 4
3037 Optimize sibling and tail recursive calls.
3038 .Sp
3039 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3040 .Ip "\fB\-fno-inline\fR" 4
3041 Don't pay attention to the \f(CWinline\fR keyword.  Normally this option
3042 is used to keep the compiler from expanding any functions inline.
3043 Note that if you are not optimizing, no functions can be expanded inline.
3044 .Ip "\fB\-finline-functions\fR" 4
3045 Integrate all simple functions into their callers.  The compiler
3046 heuristically decides which functions are simple enough to be worth
3047 integrating in this way.
3048 .Sp
3049 If all calls to a given function are integrated, and the function is
3050 declared \f(CWstatic\fR, then the function is normally not output as
3051 assembler code in its own right.
3052 .Sp
3053 Enabled at level \fB\-O3\fR.
3054 .Ip "\fB\-finline-limit=\fR\fIn\fR" 4
3055 By default, \s-1GCC\s0 limits the size of functions that can be inlined.  This flag
3056 allows the control of this limit for functions that are explicitly marked as
3057 inline (i.e., marked with the inline keyword or defined within the class
3058 definition in c++).  \fIn\fR is the size of functions that can be inlined in
3059 number of pseudo instructions (not counting parameter handling).  The default
3060 value of \fIn\fR is 600.
3061 Increasing this value can result in more inlined code at
3062 the cost of compilation time and memory consumption.  Decreasing usually makes
3063 the compilation faster and less code will be inlined (which presumably
3064 means slower programs).  This option is particularly useful for programs that
3065 use inlining heavily such as those based on recursive templates with \*(C+.
3066 .Sp
3067 Inlining is actually controlled by a number of parameters, which may be
3068 specified individually by using \fB--param\fR \fIname\fR\fB=\fR\fIvalue\fR.
3069 The \fB\-finline-limit=\fR\fIn\fR option sets some of these parameters
3070 as follows:
3071 .Sp
3072 .Vb 8
3073 \& @item max-inline-insns-single
3074 \&  is set to I<n>/2.
3075 \& @item max-inline-insns-auto
3076 \&  is set to I<n>/2.
3077 \& @item min-inline-insns
3078 \&  is set to 130 or I<n>/4, whichever is smaller.
3079 \& @item max-inline-insns-rtl
3080 \&  is set to I<n>.
3081 .Ve
3082 .Sp
3083 See below for a documentation of the individual
3084 parameters controlling inlining.
3085 .Sp
3086 \fINote:\fR pseudo instruction represents, in this particular context, an
3087 abstract measurement of function's size.  In no way, it represents a count
3088 of assembly instructions and as such its exact meaning might change from one
3089 release to an another.
3090 .Ip "\fB\-fkeep-inline-functions\fR" 4
3091 Even if all calls to a given function are integrated, and the function
3092 is declared \f(CWstatic\fR, nevertheless output a separate run-time
3093 callable version of the function.  This switch does not affect
3094 \f(CWextern inline\fR functions.
3095 .Ip "\fB\-fkeep-static-consts\fR" 4
3096 Emit variables declared \f(CWstatic const\fR when optimization isn't turned
3097 on, even if the variables aren't referenced.
3098 .Sp
3099 \s-1GCC\s0 enables this option by default.  If you want to force the compiler to
3100 check if the variable was referenced, regardless of whether or not
3101 optimization is turned on, use the \fB\-fno-keep-static-consts\fR option.
3102 .Ip "\fB\-fmerge-constants\fR" 4
3103 Attempt to merge identical constants (string constants and floating point
3104 constants) across compilation units.
3105 .Sp
3106 This option is the default for optimized compilation if the assembler and
3107 linker support it.  Use \fB\-fno-merge-constants\fR to inhibit this
3108 behavior.
3109 .Sp
3110 Enabled at levels \fB\-O\fR, \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3111 .Ip "\fB\-fmerge-all-constants\fR" 4
3112 Attempt to merge identical constants and identical variables.
3113 .Sp
3114 This option implies \fB\-fmerge-constants\fR.  In addition to
3115 \fB\-fmerge-constants\fR this considers e.g. even constant initialized
3116 arrays or initialized constant variables with integral or floating point
3117 types.  Languages like C or \*(C+ require each non-automatic variable to
3118 have distinct location, so using this option will result in non-conforming
3119 behavior.
3120 .Ip "\fB\-fnew-ra\fR" 4
3121 Use a graph coloring register allocator.  Currently this option is meant
3122 only for testing.  Users should not specify this option, since it is not
3123 yet ready for production use.
3124 .Ip "\fB\-fno-branch-count-reg\fR" 4
3125 Do not use ``decrement and branch'\*(R' instructions on a count register,
3126 but instead generate a sequence of instructions that decrement a
3127 register, compare it against zero, then branch based upon the result.
3128 This option is only meaningful on architectures that support such
3129 instructions, which include x86, PowerPC, \s-1IA\s0\-64 and S/390.
3130 .Sp
3131 The default is \fB\-fbranch-count-reg\fR, enabled when
3132 \fB\-fstrength-reduce\fR is enabled.
3133 .Ip "\fB\-fno-function-cse\fR" 4
3134 Do not put function addresses in registers; make each instruction that
3135 calls a constant function contain the function's address explicitly.
3136 .Sp
3137 This option results in less efficient code, but some strange hacks
3138 that alter the assembler output may be confused by the optimizations
3139 performed when this option is not used.
3140 .Sp
3141 The default is \fB\-ffunction-cse\fR
3142 .Ip "\fB\-fno-zero-initialized-in-bss\fR" 4
3143 If the target supports a \s-1BSS\s0 section, \s-1GCC\s0 by default puts variables that
3144 are initialized to zero into \s-1BSS\s0.  This can save space in the resulting
3145 code.
3146 .Sp
3147 This option turns off this behavior because some programs explicitly
3148 rely on variables going to the data section.  E.g., so that the
3149 resulting executable can find the beginning of that section and/or make
3150 assumptions based on that.
3151 .Sp
3152 The default is \fB\-fzero-initialized-in-bss\fR.
3153 .Ip "\fB\-fstrength-reduce\fR" 4
3154 Perform the optimizations of loop strength reduction and
3155 elimination of iteration variables.
3156 .Sp
3157 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3158 .Ip "\fB\-fthread-jumps\fR" 4
3159 Perform optimizations where we check to see if a jump branches to a
3160 location where another comparison subsumed by the first is found.  If
3161 so, the first branch is redirected to either the destination of the
3162 second branch or a point immediately following it, depending on whether
3163 the condition is known to be true or false.
3164 .Sp
3165 Enabled at levels \fB\-O\fR, \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3166 .Ip "\fB\-fcse-follow-jumps\fR" 4
3167 In common subexpression elimination, scan through jump instructions
3168 when the target of the jump is not reached by any other path.  For
3169 example, when \s-1CSE\s0 encounters an \f(CWif\fR statement with an
3170 \f(CWelse\fR clause, \s-1CSE\s0 will follow the jump when the condition
3171 tested is false.
3172 .Sp
3173 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3174 .Ip "\fB\-fcse-skip-blocks\fR" 4
3175 This is similar to \fB\-fcse-follow-jumps\fR, but causes \s-1CSE\s0 to
3176 follow jumps which conditionally skip over blocks.  When \s-1CSE\s0
3177 encounters a simple \f(CWif\fR statement with no else clause,
3178 \fB\-fcse-skip-blocks\fR causes \s-1CSE\s0 to follow the jump around the
3179 body of the \f(CWif\fR.
3180 .Sp
3181 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3182 .Ip "\fB\-frerun-cse-after-loop\fR" 4
3183 Re-run common subexpression elimination after loop optimizations has been
3184 performed.
3185 .Sp
3186 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3187 .Ip "\fB\-frerun-loop-opt\fR" 4
3188 Run the loop optimizer twice.
3189 .Sp
3190 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3191 .Ip "\fB\-fgcse\fR" 4
3192 Perform a global common subexpression elimination pass.
3193 This pass also performs global constant and copy propagation.
3194 .Sp
3195 \fINote:\fR When compiling a program using computed gotos, a \s-1GCC\s0
3196 extension, you may get better runtime performance if you disable
3197 the global common subexpression elimination pass by adding
3198 \fB\-fno-gcse\fR to the command line.
3199 .Sp
3200 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3201 .Ip "\fB\-fgcse-lm\fR" 4
3202 When \fB\-fgcse-lm\fR is enabled, global common subexpression elimination will
3203 attempt to move loads which are only killed by stores into themselves.  This
3204 allows a loop containing a load/store sequence to be changed to a load outside
3205 the loop, and a copy/store within the loop.
3206 .Sp
3207 Enabled by default when gcse is enabled.
3208 .Ip "\fB\-fgcse-sm\fR" 4
3209 When \fB\-fgcse-sm\fR is enabled, a store motion pass is run after
3210 global common subexpression elimination.  This pass will attempt to move
3211 stores out of loops.  When used in conjunction with \fB\-fgcse-lm\fR,
3212 loops containing a load/store sequence can be changed to a load before
3213 the loop and a store after the loop.
3214 .Sp
3215 Enabled by default when gcse is enabled.
3216 .Ip "\fB\-fgcse-las\fR" 4
3217 When \fB\-fgcse-las\fR is enabled, the global common subexpression
3218 elimination pass eliminates redundant loads that come after stores to the
3219 same memory location (both partial and full redundancies).
3220 .Sp
3221 Enabled by default when gcse is enabled.
3222 .Ip "\fB\-floop-optimize\fR" 4
3223 Perform loop optimizations: move constant expressions out of loops, simplify
3224 exit test conditions and optionally do strength-reduction and loop unrolling as
3225 well.
3226 .Sp
3227 Enabled at levels \fB\-O\fR, \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3228 .Ip "\fB\-fcrossjumping\fR" 4
3229 Perform cross-jumping transformation. This transformation unifies equivalent code and save code size. The
3230 resulting code may or may not perform better than without cross-jumping.
3231 .Sp
3232 Enabled at levels \fB\-O\fR, \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3233 .Ip "\fB\-fif-conversion\fR" 4
3234 Attempt to transform conditional jumps into branch-less equivalents.  This
3235 include use of conditional moves, min, max, set flags and abs instructions, and
3236 some tricks doable by standard arithmetics.  The use of conditional execution
3237 on chips where it is available is controlled by \f(CWif-conversion2\fR.
3238 .Sp
3239 Enabled at levels \fB\-O\fR, \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3240 .Ip "\fB\-fif-conversion2\fR" 4
3241 Use conditional execution (where available) to transform conditional jumps into
3242 branch-less equivalents.
3243 .Sp
3244 Enabled at levels \fB\-O\fR, \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3245 .Ip "\fB\-fdelete-null-pointer-checks\fR" 4
3246 Use global dataflow analysis to identify and eliminate useless checks
3247 for null pointers.  The compiler assumes that dereferencing a null
3248 pointer would have halted the program.  If a pointer is checked after
3249 it has already been dereferenced, it cannot be null.
3250 .Sp
3251 In some environments, this assumption is not true, and programs can
3252 safely dereference null pointers.  Use
3253 \fB\-fno-delete-null-pointer-checks\fR to disable this optimization
3254 for programs which depend on that behavior.
3255 .Sp
3256 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3257 .Ip "\fB\-fexpensive-optimizations\fR" 4
3258 Perform a number of minor optimizations that are relatively expensive.
3259 .Sp
3260 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3261 .Ip "\fB\-foptimize-register-move\fR" 4
3262 .Ip "\fB\-fregmove\fR" 4
3263 Attempt to reassign register numbers in move instructions and as
3264 operands of other simple instructions in order to maximize the amount of
3265 register tying.  This is especially helpful on machines with two-operand
3266 instructions.
3267 .Sp
3268 Note \fB\-fregmove\fR and \fB\-foptimize-register-move\fR are the same
3269 optimization.
3270 .Sp
3271 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3272 .Ip "\fB\-fdelayed-branch\fR" 4
3273 If supported for the target machine, attempt to reorder instructions
3274 to exploit instruction slots available after delayed branch
3275 instructions.
3276 .Sp
3277 Enabled at levels \fB\-O\fR, \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3278 .Ip "\fB\-fschedule-insns\fR" 4
3279 If supported for the target machine, attempt to reorder instructions to
3280 eliminate execution stalls due to required data being unavailable.  This
3281 helps machines that have slow floating point or memory load instructions
3282 by allowing other instructions to be issued until the result of the load
3283 or floating point instruction is required.
3284 .Sp
3285 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3286 .Ip "\fB\-fschedule-insns2\fR" 4
3287 Similar to \fB\-fschedule-insns\fR, but requests an additional pass of
3288 instruction scheduling after register allocation has been done.  This is
3289 especially useful on machines with a relatively small number of
3290 registers and where memory load instructions take more than one cycle.
3291 .Sp
3292 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3293 .Ip "\fB\-fno-sched-interblock\fR" 4
3294 Don't schedule instructions across basic blocks.  This is normally
3295 enabled by default when scheduling before register allocation, i.e.
3296 with \fB\-fschedule-insns\fR or at \fB\-O2\fR or higher.
3297 .Ip "\fB\-fno-sched-spec\fR" 4
3298 Don't allow speculative motion of non-load instructions.  This is normally
3299 enabled by default when scheduling before register allocation, i.e.
3300 with \fB\-fschedule-insns\fR or at \fB\-O2\fR or higher.
3301 .Ip "\fB\-fsched-spec-load\fR" 4
3302 Allow speculative motion of some load instructions.  This only makes
3303 sense when scheduling before register allocation, i.e. with
3304 \fB\-fschedule-insns\fR or at \fB\-O2\fR or higher.
3305 .Ip "\fB\-fsched-spec-load-dangerous\fR" 4
3306 Allow speculative motion of more load instructions.  This only makes
3307 sense when scheduling before register allocation, i.e. with
3308 \fB\-fschedule-insns\fR or at \fB\-O2\fR or higher.
3309 .Ip "\fB\-fsched-stalled-insns=\fR\fIn\fR" 4
3310 Define how many insns (if any) can be moved prematurely from the queue
3311 of stalled insns into the ready list, during the second scheduling pass.
3312 .Ip "\fB\-fsched-stalled-insns-dep=\fR\fIn\fR" 4
3313 Define how many insn groups (cycles) will be examined for a dependency
3314 on a stalled insn that is candidate for premature removal from the queue
3315 of stalled insns.  Has an effect only during the second scheduling pass,
3316 and only if \fB\-fsched-stalled-insns\fR is used and its value is not zero.
3317 .Ip "\fB\-fsched2-use-superblocks\fR" 4
3318 When scheduling after register allocation, do use superblock scheduling
3319 algorithm.  Superblock scheduling allows motion across basic block boundaries
3320 resulting on faster schedules.  This option is experimental, as not all machine
3321 descriptions used by \s-1GCC\s0 model the \s-1CPU\s0 closely enough to avoid unreliable
3322 results from the algorithm.
3323 .Sp
3324 This only makes sense when scheduling after register allocation, i.e. with
3325 \fB\-fschedule-insns2\fR or at \fB\-O2\fR or higher.
3326 .Ip "\fB\-fsched2-use-traces\fR" 4
3327 Use \fB\-fsched2-use-superblocks\fR algorithm when scheduling after register
3328 allocation and additionally perform code duplication in order to increase the
3329 size of superblocks using tracer pass.  See \fB\-ftracer\fR for details on
3330 trace formation.
3331 .Sp
3332 This mode should produce faster but significantly longer programs.  Also
3333 without \f(CW-fbranch-probabilities\fR the traces constructed may not match the
3334 reality and hurt the performance.  This only makes
3335 sense when scheduling after register allocation, i.e. with
3336 \fB\-fschedule-insns2\fR or at \fB\-O2\fR or higher.
3337 .Ip "\fB\-fcaller-saves\fR" 4
3338 Enable values to be allocated in registers that will be clobbered by
3339 function calls, by emitting extra instructions to save and restore the
3340 registers around such calls.  Such allocation is done only when it
3341 seems to result in better code than would otherwise be produced.
3342 .Sp
3343 This option is always enabled by default on certain machines, usually
3344 those which have no call-preserved registers to use instead.
3345 .Sp
3346 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3347 .Ip "\fB\-fmove-all-movables\fR" 4
3348 Forces all invariant computations in loops to be moved
3349 outside the loop.
3350 .Ip "\fB\-freduce-all-givs\fR" 4
3351 Forces all general-induction variables in loops to be
3352 strength-reduced.
3353 .Sp
3354 \fINote:\fR When compiling programs written in Fortran,
3355 \fB\-fmove-all-movables\fR and \fB\-freduce-all-givs\fR are enabled
3356 by default when you use the optimizer.
3357 .Sp
3358 These options may generate better or worse code; results are highly
3359 dependent on the structure of loops within the source code.
3360 .Sp
3361 These two options are intended to be removed someday, once
3362 they have helped determine the efficacy of various
3363 approaches to improving loop optimizations.
3364 .Sp
3365 Please let us (<\fBgcc@gcc.gnu.org\fR> and <\fBfortran@gnu.org\fR>)
3366 know how use of these options affects
3367 the performance of your production code.
3368 We're very interested in code that runs \fIslower\fR
3369 when these options are \fIenabled\fR.
3370 .Ip "\fB\-fno-peephole\fR" 4
3371 .Ip "\fB\-fno-peephole2\fR" 4
3372 Disable any machine-specific peephole optimizations.  The difference
3373 between \fB\-fno-peephole\fR and \fB\-fno-peephole2\fR is in how they
3374 are implemented in the compiler; some targets use one, some use the
3375 other, a few use both.
3376 .Sp
3377 \fB\-fpeephole\fR is enabled by default.
3378 \fB\-fpeephole2\fR enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3379 .Ip "\fB\-fno-guess-branch-probability\fR" 4
3380 Do not guess branch probabilities using a randomized model.
3381 .Sp
3382 Sometimes \s-1GCC\s0 will opt to use a randomized model to guess branch
3383 probabilities, when none are available from either profiling feedback
3384 (\fB\-fprofile-arcs\fR) or \fB_\|_builtin_expect\fR.  This means that
3385 different runs of the compiler on the same program may produce different
3386 object code.
3387 .Sp
3388 In a hard real-time system, people don't want different runs of the
3389 compiler to produce code that has different behavior; minimizing
3390 non-determinism is of paramount import.  This switch allows users to
3391 reduce non-determinism, possibly at the expense of inferior
3392 optimization.
3393 .Sp
3394 The default is \fB\-fguess-branch-probability\fR at levels
3395 \fB\-O\fR, \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3396 .Ip "\fB\-freorder-blocks\fR" 4
3397 Reorder basic blocks in the compiled function in order to reduce number of
3398 taken branches and improve code locality.
3399 .Sp
3400 Enabled at levels \fB\-O2\fR, \fB\-O3\fR.
3401 .Ip "\fB\-freorder-functions\fR" 4
3402 Reorder basic blocks in the compiled function in order to reduce number of
3403 taken branches and improve code locality. This is implemented by using special
3404 subsections \f(CWtext.hot\fR for most frequently executed functions and
3405 \f(CWtext.unlikely\fR for unlikely executed functions.  Reordering is done by
3406 the linker so object file format must support named sections and linker must
3407 place them in a reasonable way.
3408 .Sp
3409 Also profile feedback must be available in to make this option effective.  See
3410 \fB\-fprofile-arcs\fR for details.
3411 .Sp
3412 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3413 .Ip "\fB\-fstrict-aliasing\fR" 4
3414 Allows the compiler to assume the strictest aliasing rules applicable to
3415 the language being compiled.  For C (and \*(C+), this activates
3416 optimizations based on the type of expressions.  In particular, an
3417 object of one type is assumed never to reside at the same address as an
3418 object of a different type, unless the types are almost the same.  For
3419 example, an \f(CWunsigned int\fR can alias an \f(CWint\fR, but not a
3420 \f(CWvoid*\fR or a \f(CWdouble\fR.  A character type may alias any other
3421 type.
3422 .Sp
3423 Pay special attention to code like this:
3424         
3425         union a_union {
3426           int i;
3427           double d;
3428         };
3429         
3430         int \fIf()\fR {
3431           a_union t;
3432           t.d = 3.0;
3433           return t.i;
3434         }
3435 .Sp
3436 The practice of reading from a different union member than the one most
3437 recently written to (called ``type-punning'') is common.  Even with
3438 \fB\-fstrict-aliasing\fR, type-punning is allowed, provided the memory
3439 is accessed through the union type.  So, the code above will work as
3440 expected.  However, this code might not:
3441         
3442         int \fIf()\fR {
3443           a_union t;
3444           int* ip;
3445           t.d = 3.0;
3446           ip = &t.i;
3447           return *ip;
3448         }
3449 .Sp
3450 Every language that wishes to perform language-specific alias analysis
3451 should define a function that computes, given an \f(CWtree\fR
3452 node, an alias set for the node.  Nodes in different alias sets are not
3453 allowed to alias.  For an example, see the C front-end function
3454 \f(CWc_get_alias_set\fR.
3455 .Sp
3456 Enabled at levels \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3457 .Ip "\fB\-falign-functions\fR" 4
3458 .Ip "\fB\-falign-functions=\fR\fIn\fR" 4
3459 Align the start of functions to the next power-of-two greater than
3460 \fIn\fR, skipping up to \fIn\fR bytes.  For instance,
3461 \fB\-falign-functions=32\fR aligns functions to the next 32-byte
3462 boundary, but \fB\-falign-functions=24\fR would align to the next
3463 32-byte boundary only if this can be done by skipping 23 bytes or less.
3464 .Sp
3465 \fB\-fno-align-functions\fR and \fB\-falign-functions=1\fR are
3466 equivalent and mean that functions will not be aligned.
3467 .Sp
3468 Some assemblers only support this flag when \fIn\fR is a power of two;
3469 in that case, it is rounded up.
3470 .Sp
3471 If \fIn\fR is not specified or is zero, use a machine-dependent default.
3472 .Sp
3473 Enabled at levels \fB\-O2\fR, \fB\-O3\fR.
3474 .Ip "\fB\-falign-labels\fR" 4
3475 .Ip "\fB\-falign-labels=\fR\fIn\fR" 4
3476 Align all branch targets to a power-of-two boundary, skipping up to
3477 \fIn\fR bytes like \fB\-falign-functions\fR.  This option can easily
3478 make code slower, because it must insert dummy operations for when the
3479 branch target is reached in the usual flow of the code.
3480 .Sp
3481 \fB\-fno-align-labels\fR and \fB\-falign-labels=1\fR are
3482 equivalent and mean that labels will not be aligned.
3483 .Sp
3484 If \fB\-falign-loops\fR or \fB\-falign-jumps\fR are applicable and
3485 are greater than this value, then their values are used instead.
3486 .Sp
3487 If \fIn\fR is not specified or is zero, use a machine-dependent default
3488 which is very likely to be \fB1\fR, meaning no alignment.
3489 .Sp
3490 Enabled at levels \fB\-O2\fR, \fB\-O3\fR.
3491 .Ip "\fB\-falign-loops\fR" 4
3492 .Ip "\fB\-falign-loops=\fR\fIn\fR" 4
3493 Align loops to a power-of-two boundary, skipping up to \fIn\fR bytes
3494 like \fB\-falign-functions\fR.  The hope is that the loop will be
3495 executed many times, which will make up for any execution of the dummy
3496 operations.
3497 .Sp
3498 \fB\-fno-align-loops\fR and \fB\-falign-loops=1\fR are
3499 equivalent and mean that loops will not be aligned.
3500 .Sp
3501 If \fIn\fR is not specified or is zero, use a machine-dependent default.
3502 .Sp
3503 Enabled at levels \fB\-O2\fR, \fB\-O3\fR.
3504 .Ip "\fB\-falign-jumps\fR" 4
3505 .Ip "\fB\-falign-jumps=\fR\fIn\fR" 4
3506 Align branch targets to a power-of-two boundary, for branch targets
3507 where the targets can only be reached by jumping, skipping up to \fIn\fR
3508 bytes like \fB\-falign-functions\fR.  In this case, no dummy operations
3509 need be executed.
3510 .Sp
3511 \fB\-fno-align-jumps\fR and \fB\-falign-jumps=1\fR are
3512 equivalent and mean that loops will not be aligned.
3513 .Sp
3514 If \fIn\fR is not specified or is zero, use a machine-dependent default.
3515 .Sp
3516 Enabled at levels \fB\-O2\fR, \fB\-O3\fR.
3517 .Ip "\fB\-frename-registers\fR" 4
3518 Attempt to avoid false dependencies in scheduled code by making use
3519 of registers left over after register allocation.  This optimization
3520 will most benefit processors with lots of registers.  It can, however,
3521 make debugging impossible, since variables will no longer stay in
3522 a ``home register'\*(R'.
3523 .Ip "\fB\-fweb\fR" 4
3524 Constructs webs as commonly used for register allocation purposes and assign
3525 each web individual pseudo register.  This allows our register allocation pass
3526 to operate on pseudos directly, but also strengthens several other optimization
3527 passes, such as \s-1CSE\s0, loop optimizer and trivial dead code remover.  It can,
3528 however, make debugging impossible, since variables will no longer stay in a
3529 ``home register'\*(R'.
3530 .Sp
3531 Enabled at levels \fB\-O3\fR.
3532 .Ip "\fB\-fno-cprop-registers\fR" 4
3533 After register allocation and post-register allocation instruction splitting,
3534 we perform a copy-propagation pass to try to reduce scheduling dependencies
3535 and occasionally eliminate the copy.
3536 .Sp
3537 Disabled at levels \fB\-O\fR, \fB\-O2\fR, \fB\-O3\fR, \fB\-Os\fR.
3538 .Ip "\fB\-fprofile-generate\fR" 4
3539 Enable options usually used for instrumenting application to produce
3540 profile useful for later recompilation with profile feedback based
3541 optimization.  You must use \f(CW-fprofile-generate\fR both when
3542 compiling and when linking your program.
3543 .Sp
3544 The following options are enabled: \f(CW-fprofile-arcs\fR, \f(CW-fprofile-values\fR, \f(CW-fvpt\fR.
3545 .Ip "\fB\-fprofile-use\fR" 4
3546 Enable profile feedback directed optimizations, and optimizations
3547 generally profitable only with profile feedback available.
3548 .Sp
3549 The following options are enabled: \f(CW-fbranch-probabilities\fR,
3550 \f(CW-fvpt\fR, \f(CW-funroll-loops\fR, \f(CW-fpeel-loops\fR, \f(CW-ftracer\fR.
3551 .PP
3552 The following options control compiler behavior regarding floating
3553 point arithmetic.  These options trade off between speed and
3554 correctness.  All must be specifically enabled.
3555 .Ip "\fB\-ffloat-store\fR" 4
3556 Do not store floating point variables in registers, and inhibit other
3557 options that might change whether a floating point value is taken from a
3558 register or memory.
3559 .Sp
3560 This option prevents undesirable excess precision on machines such as
3561 the 68000 where the floating registers (of the 68881) keep more
3562 precision than a \f(CWdouble\fR is supposed to have.  Similarly for the
3563 x86 architecture.  For most programs, the excess precision does only
3564 good, but a few programs rely on the precise definition of \s-1IEEE\s0 floating
3565 point.  Use \fB\-ffloat-store\fR for such programs, after modifying
3566 them to store all pertinent intermediate computations into variables.
3567 .Ip "\fB\-ffast-math\fR" 4
3568 Sets \fB\-fno-math-errno\fR, \fB\-funsafe-math-optimizations\fR, \fB\-fno-trapping-math\fR, \fB\-ffinite-math-only\fR,
3569 \fB\-fno-rounding-math\fR and \fB\-fno-signaling-nans\fR.
3570 .Sp
3571 This option causes the preprocessor macro \f(CW__FAST_MATH__\fR to be defined.
3572 .Sp
3573 This option should never be turned on by any \fB\-O\fR option since
3574 it can result in incorrect output for programs which depend on
3575 an exact implementation of \s-1IEEE\s0 or \s-1ISO\s0 rules/specifications for
3576 math functions.
3577 .Ip "\fB\-fno-math-errno\fR" 4
3578 Do not set \s-1ERRNO\s0 after calling math functions that are executed
3579 with a single instruction, e.g., sqrt.  A program that relies on
3580 \s-1IEEE\s0 exceptions for math error handling may want to use this flag
3581 for speed while maintaining \s-1IEEE\s0 arithmetic compatibility.
3582 .Sp
3583 This option should never be turned on by any \fB\-O\fR option since
3584 it can result in incorrect output for programs which depend on
3585 an exact implementation of \s-1IEEE\s0 or \s-1ISO\s0 rules/specifications for
3586 math functions.
3587 .Sp
3588 The default is \fB\-fmath-errno\fR.
3589 .Ip "\fB\-funsafe-math-optimizations\fR" 4
3590 Allow optimizations for floating-point arithmetic that (a) assume
3591 that arguments and results are valid and (b) may violate \s-1IEEE\s0 or
3592 \s-1ANSI\s0 standards.  When used at link-time, it may include libraries
3593 or startup files that change the default \s-1FPU\s0 control word or other
3594 similar optimizations.
3595 .Sp
3596 This option should never be turned on by any \fB\-O\fR option since
3597 it can result in incorrect output for programs which depend on
3598 an exact implementation of \s-1IEEE\s0 or \s-1ISO\s0 rules/specifications for
3599 math functions.
3600 .Sp
3601 The default is \fB\-fno-unsafe-math-optimizations\fR.
3602 .Ip "\fB\-ffinite-math-only\fR" 4
3603 Allow optimizations for floating-point arithmetic that assume
3604 that arguments and results are not NaNs or +\-Infs.
3605 .Sp
3606 This option should never be turned on by any \fB\-O\fR option since
3607 it can result in incorrect output for programs which depend on
3608 an exact implementation of \s-1IEEE\s0 or \s-1ISO\s0 rules/specifications.
3609 .Sp
3610 The default is \fB\-fno-finite-math-only\fR.
3611 .Ip "\fB\-fno-trapping-math\fR" 4
3612 Compile code assuming that floating-point operations cannot generate
3613 user-visible traps.  These traps include division by zero, overflow,
3614 underflow, inexact result and invalid operation.  This option implies
3615 \fB\-fno-signaling-nans\fR.  Setting this option may allow faster
3616 code if one relies on ``non-stop'\*(R' \s-1IEEE\s0 arithmetic, for example.
3617 .Sp
3618 This option should never be turned on by any \fB\-O\fR option since
3619 it can result in incorrect output for programs which depend on
3620 an exact implementation of \s-1IEEE\s0 or \s-1ISO\s0 rules/specifications for
3621 math functions.
3622 .Sp
3623 The default is \fB\-ftrapping-math\fR.
3624 .Ip "\fB\-frounding-math\fR" 4
3625 Disable transformations and optimizations that assume default floating
3626 point rounding behavior.  This is round-to-zero for all floating point
3627 to integer conversions, and round-to-nearest for all other arithmetic
3628 truncations.  This option should be specified for programs that change
3629 the \s-1FP\s0 rounding mode dynamically, or that may be executed with a
3630 non-default rounding mode.  This option disables constant folding of
3631 floating point expressions at compile-time (which may be affected by
3632 rounding mode) and arithmetic transformations that are unsafe in the
3633 presence of sign-dependent rounding modes.
3634 .Sp
3635 The default is \fB\-fno-rounding-math\fR.
3636 .Sp
3637 This option is experimental and does not currently guarantee to
3638 disable all \s-1GCC\s0 optimizations that are affected by rounding mode.
3639 Future versions of \s-1GCC\s0 may provide finer control of this setting
3640 using C99's \f(CWFENV_ACCESS\fR pragma.  This command line option
3641 will be used to specify the default state for \f(CWFENV_ACCESS\fR.
3642 .Ip "\fB\-fsignaling-nans\fR" 4
3643 Compile code assuming that \s-1IEEE\s0 signaling NaNs may generate user-visible
3644 traps during floating-point operations.  Setting this option disables
3645 optimizations that may change the number of exceptions visible with
3646 signaling NaNs.  This option implies \fB\-ftrapping-math\fR.
3647 .Sp
3648 This option causes the preprocessor macro \f(CW__SUPPORT_SNAN__\fR to
3649 be defined.
3650 .Sp
3651 The default is \fB\-fno-signaling-nans\fR.
3652 .Sp
3653 This option is experimental and does not currently guarantee to
3654 disable all \s-1GCC\s0 optimizations that affect signaling NaN behavior.
3655 .Ip "\fB\-fsingle-precision-constant\fR" 4
3656 Treat floating point constant as single precision constant instead of
3657 implicitly converting it to double precision constant.
3658 .PP
3659 The following options control optimizations that may improve
3660 performance, but are not enabled by any \fB\-O\fR options.  This
3661 section includes experimental options that may produce broken code.
3662 .Ip "\fB\-fbranch-probabilities\fR" 4
3663 After running a program compiled with \fB\-fprofile-arcs\fR, you can compile it a second time using
3664 \fB\-fbranch-probabilities\fR, to improve optimizations based on
3665 the number of times each branch was taken.  When the program
3666 compiled with \fB\-fprofile-arcs\fR exits it saves arc execution
3667 counts to a file called \fI\fIsourcename\fR.gcda\fR for each source
3668 file  The information in this data file is very dependent on the
3669 structure of the generated code, so you must use the same source code
3670 and the same optimization options for both compilations.
3671 .Sp
3672 With \fB\-fbranch-probabilities\fR, \s-1GCC\s0 puts a
3673 \fB\s-1REG_BR_PROB\s0\fR note on each \fB\s-1JUMP_INSN\s0\fR and \fB\s-1CALL_INSN\s0\fR.
3674 These can be used to improve optimization.  Currently, they are only
3675 used in one place: in \fIreorg.c\fR, instead of guessing which path a
3676 branch is mostly to take, the \fB\s-1REG_BR_PROB\s0\fR values are used to
3677 exactly determine which path is taken more often.
3678 .Ip "\fB\-fprofile-values\fR" 4
3679 If combined with \fB\-fprofile-arcs\fR, it adds code so that some
3680 data about values of expressions in the program is gathered.
3681 .Sp
3682 With \fB\-fbranch-probabilities\fR, it reads back the data gathered
3683 from profiling values of expressions and adds \fB\s-1REG_VALUE_PROFILE\s0\fR
3684 notes to instructions for their later usage in optimizations.
3685 .Ip "\fB\-fvpt\fR" 4
3686 If combined with \fB\-fprofile-arcs\fR, it instructs the compiler to add
3687 a code to gather information about values of expressions.
3688 .Sp
3689 With \fB\-fbranch-probabilities\fR, it reads back the data gathered
3690 and actually performs the optimizations based on them.
3691 Currently the optimizations include specialization of division operation
3692 using the knowledge about the value of the denominator.
3693 .Ip "\fB\-fnew-ra\fR" 4
3694 Use a graph coloring register allocator.  Currently this option is meant
3695 for testing, so we are interested to hear about miscompilations with
3696 \fB\-fnew-ra\fR.
3697 .Ip "\fB\-ftracer\fR" 4
3698 Perform tail duplication to enlarge superblock size. This transformation
3699 simplifies the control flow of the function allowing other optimizations to do
3700 better job.
3701 .Ip "\fB\-funit-at-a-time\fR" 4
3702 Parse the whole compilation unit before starting to produce code.
3703 This allows some extra optimizations to take place but consumes more
3704 memory.
3705 .Ip "\fB\-funroll-loops\fR" 4
3706 Unroll loops whose number of iterations can be determined at compile time or
3707 upon entry to the loop.  \fB\-funroll-loops\fR implies
3708 \fB\-frerun-cse-after-loop\fR.  It also turns on complete loop peeling
3709 (i.e. complete removal of loops with small constant number of iterations).
3710 This option makes code larger, and may or may not make it run faster.
3711 .Ip "\fB\-funroll-all-loops\fR" 4
3712 Unroll all loops, even if their number of iterations is uncertain when
3713 the loop is entered.  This usually makes programs run more slowly.
3714 \fB\-funroll-all-loops\fR implies the same options as
3715 \fB\-funroll-loops\fR.
3716 .Ip "\fB\-fpeel-loops\fR" 4
3717 Peels the loops for that there is enough information that they do not
3718 roll much (from profile feedback).  It also turns on complete loop peeling
3719 (i.e. complete removal of loops with small constant number of iterations).
3720 .Ip "\fB\-funswitch-loops\fR" 4
3721 Move branches with loop invariant conditions out of the loop, with duplicates
3722 of the loop on both branches (modified according to result of the condition).
3723 .Ip "\fB\-fold-unroll-loops\fR" 4
3724 Unroll loops whose number of iterations can be determined at compile
3725 time or upon entry to the loop, using the old loop unroller whose loop
3726 recognition is based on notes from frontend.  \fB\-fold-unroll-loops\fR implies
3727 both \fB\-fstrength-reduce\fR and \fB\-frerun-cse-after-loop\fR.  This
3728 option makes code larger, and may or may not make it run faster.
3729 .Ip "\fB\-fold-unroll-all-loops\fR" 4
3730 Unroll all loops, even if their number of iterations is uncertain when
3731 the loop is entered. This is done using the old loop unroller whose loop
3732 recognition is based on notes from frontend.  This usually makes programs run more slowly.
3733 \fB\-fold-unroll-all-loops\fR implies the same options as
3734 \fB\-fold-unroll-loops\fR.
3735 .Ip "\fB\-funswitch-loops\fR" 4
3736 Move branches with loop invariant conditions out of the loop, with duplicates
3737 of the loop on both branches (modified according to result of the condition).
3738 .Ip "\fB\-funswitch-loops\fR" 4
3739 Move branches with loop invariant conditions out of the loop, with duplicates
3740 of the loop on both branches (modified according to result of the condition).
3741 .Ip "\fB\-fprefetch-loop-arrays\fR" 4
3742 If supported by the target machine, generate instructions to prefetch
3743 memory to improve the performance of loops that access large arrays.
3744 .Sp
3745 Disabled at level \fB\-Os\fR.
3746 .Ip "\fB\-ffunction-sections\fR" 4
3747 .Ip "\fB\-fdata-sections\fR" 4
3748 Place each function or data item into its own section in the output
3749 file if the target supports arbitrary sections.  The name of the
3750 function or the name of the data item determines the section's name
3751 in the output file.
3752 .Sp
3753 Use these options on systems where the linker can perform optimizations
3754 to improve locality of reference in the instruction space.  Most systems
3755 using the \s-1ELF\s0 object format and \s-1SPARC\s0 processors running Solaris 2 have
3756 linkers with such optimizations.  \s-1AIX\s0 may have these optimizations in
3757 the future.
3758 .Sp
3759 Only use these options when there are significant benefits from doing
3760 so.  When you specify these options, the assembler and linker will
3761 create larger object and executable files and will also be slower.
3762 You will not be able to use \f(CWgprof\fR on all systems if you
3763 specify this option and you may have problems with debugging if
3764 you specify both this option and \fB\-g\fR.
3765 .Ip "\fB\-fbranch-target-load-optimize\fR" 4
3766 Perform branch target register load optimization before prologue / epilogue
3767 threading.
3768 The use of target registers can typically be exposed only during reload,
3769 thus hoisting loads out of loops and doing inter-block scheduling needs
3770 a separate optimization pass.
3771 .Ip "\fB\-fbranch-target-load-optimize2\fR" 4
3772 Perform branch target register load optimization after prologue / epilogue
3773 threading.
3774 .Ip "\fB--param\fR \fIname\fR\fB=\fR\fIvalue\fR" 4
3775 In some places, \s-1GCC\s0 uses various constants to control the amount of
3776 optimization that is done.  For example, \s-1GCC\s0 will not inline functions
3777 that contain more that a certain number of instructions.  You can
3778 control some of these constants on the command-line using the
3779 \fB--param\fR option.
3780 .Sp
3781 The names of specific parameters, and the meaning of the values, are
3782 tied to the internals of the compiler, and are subject to change
3783 without notice in future releases.
3784 .Sp
3785 In each case, the \fIvalue\fR is an integer.  The allowable choices for
3786 \fIname\fR are given in the following table:
3787 .Ip "\fBmax-crossjump-edges\fR" 8
3788 The maximum number of incoming edges to consider for crossjumping.
3789 The algorithm used by \fB\-fcrossjumping\fR is \fIO\fR\|(N^2) in
3790 the number of edges incoming to each block.  Increasing values mean
3791 more aggressive optimization, making the compile time increase with
3792 probably small improvement in executable size.
3793 .Ip "\fBmax-delay-slot-insn-search\fR" 8
3794 The maximum number of instructions to consider when looking for an
3795 instruction to fill a delay slot.  If more than this arbitrary number of
3796 instructions is searched, the time savings from filling the delay slot
3797 will be minimal so stop searching.  Increasing values mean more
3798 aggressive optimization, making the compile time increase with probably
3799 small improvement in executable run time.
3800 .Ip "\fBmax-delay-slot-live-search\fR" 8
3801 When trying to fill delay slots, the maximum number of instructions to
3802 consider when searching for a block with valid live register
3803 information.  Increasing this arbitrarily chosen value means more
3804 aggressive optimization, increasing the compile time.  This parameter
3805 should be removed when the delay slot code is rewritten to maintain the
3806 control-flow graph.
3807 .Ip "\fBmax-gcse-memory\fR" 8
3808 The approximate maximum amount of memory that will be allocated in
3809 order to perform the global common subexpression elimination
3810 optimization.  If more memory than specified is required, the
3811 optimization will not be done.
3812 .Ip "\fBmax-gcse-passes\fR" 8
3813 The maximum number of passes of \s-1GCSE\s0 to run.
3814 .Ip "\fBmax-pending-list-length\fR" 8
3815 The maximum number of pending dependencies scheduling will allow
3816 before flushing the current state and starting over.  Large functions
3817 with few branches or calls can create excessively large lists which
3818 needlessly consume memory and resources.
3819 .Ip "\fBmax-inline-insns-single\fR" 8
3820 Several parameters control the tree inliner used in gcc.
3821 This number sets the maximum number of instructions (counted in \s-1GCC\s0's
3822 internal representation) in a single function that the tree inliner
3823 will consider for inlining.  This only affects functions declared
3824 inline and methods implemented in a class declaration (\*(C+).
3825 The default value is 500.
3826 .Ip "\fBmax-inline-insns-auto\fR" 8
3827 When you use \fB\-finline-functions\fR (included in \fB\-O3\fR),
3828 a lot of functions that would otherwise not be considered for inlining
3829 by the compiler will be investigated.  To those functions, a different
3830 (more restrictive) limit compared to functions declared inline can
3831 be applied.
3832 The default value is 100.
3833 .Ip "\fBlarge-function-insns\fR" 8
3834 The limit specifying really large functions.  For functions greater than this
3835 limit inlining is constrained by \fB--param large-function-growth\fR.
3836 This parameter is useful primarily to avoid extreme compilation time caused by non-linear
3837 algorithms used by the backend.
3838 This parameter is ignored when \fB\-funit-at-a-time\fR is not used.
3839 The default value is 3000.
3840 .Ip "\fBlarge-function-growth\fR" 8
3841 Specifies maximal growth of large function caused by inlining in percents.
3842 This parameter is ignored when \fB\-funit-at-a-time\fR is not used.
3843 The default value is 200.
3844 .Ip "\fBinline-unit-growth\fR" 8
3845 Specifies maximal overall growth of the compilation unit caused by inlining.
3846 This parameter is ignored when \fB\-funit-at-a-time\fR is not used.
3847 The default value is 150.
3848 .Ip "\fBmax-inline-insns-rtl\fR" 8
3849 For languages that use the \s-1RTL\s0 inliner (this happens at a later stage
3850 than tree inlining), you can set the maximum allowable size (counted
3851 in \s-1RTL\s0 instructions) for the \s-1RTL\s0 inliner with this parameter.
3852 The default value is 600.
3853 .Ip "\fBmax-unrolled-insns\fR" 8
3854 The maximum number of instructions that a loop should have if that loop
3855 is unrolled, and if the loop is unrolled, it determines how many times
3856 the loop code is unrolled.
3857 .Ip "\fBmax-average-unrolled-insns\fR" 8
3858 The maximum number of instructions biased by probabilities of their execution
3859 that a loop should have if that loop is unrolled, and if the loop is unrolled,
3860 it determines how many times the loop code is unrolled.
3861 .Ip "\fBmax-unroll-times\fR" 8
3862 The maximum number of unrollings of a single loop.
3863 .Ip "\fBmax-peeled-insns\fR" 8
3864 The maximum number of instructions that a loop should have if that loop
3865 is peeled, and if the loop is peeled, it determines how many times
3866 the loop code is peeled.
3867 .Ip "\fBmax-peel-times\fR" 8
3868 The maximum number of peelings of a single loop.
3869 .Ip "\fBmax-completely-peeled-insns\fR" 8
3870 The maximum number of insns of a completely peeled loop.
3871 .Ip "\fBmax-completely-peel-times\fR" 8
3872 The maximum number of iterations of a loop to be suitable for complete peeling.
3873 .Ip "\fBmax-unswitch-insns\fR" 8
3874 The maximum number of insns of an unswitched loop.
3875 .Ip "\fBmax-unswitch-level\fR" 8
3876 The maximum number of branches unswitched in a single loop.
3877 .Ip "\fBhot-bb-count-fraction\fR" 8
3878 Select fraction of the maximal count of repetitions of basic block in program
3879 given basic block needs to have to be considered hot.
3880 .Ip "\fBhot-bb-frequency-fraction\fR" 8
3881 Select fraction of the maximal frequency of executions of basic block in
3882 function given basic block needs to have to be considered hot
3883 .Ip "\fBtracer-dynamic-coverage\fR" 8
3884 .Ip "\fBtracer-dynamic-coverage-feedback\fR" 8
3885 This value is used to limit superblock formation once the given percentage of
3886 executed instructions is covered.  This limits unnecessary code size
3887 expansion.
3888 .Sp
3889 The \fBtracer-dynamic-coverage-feedback\fR is used only when profile
3890 feedback is available.  The real profiles (as opposed to statically estimated
3891 ones) are much less balanced allowing the threshold to be larger value.
3892 .Ip "\fBtracer-max-code-growth\fR" 8
3893 Stop tail duplication once code growth has reached given percentage.  This is
3894 rather hokey argument, as most of the duplicates will be eliminated later in
3895 cross jumping, so it may be set to much higher values than is the desired code
3896 growth.
3897 .Ip "\fBtracer-min-branch-ratio\fR" 8
3898 Stop reverse growth when the reverse probability of best edge is less than this
3899 threshold (in percent).
3900 .Ip "\fBtracer-min-branch-ratio\fR" 8
3901 .Ip "\fBtracer-min-branch-ratio-feedback\fR" 8
3902 Stop forward growth if the best edge do have probability lower than this
3903 threshold.
3904 .Sp
3905 Similarly to \fBtracer-dynamic-coverage\fR two values are present, one for
3906 compilation for profile feedback and one for compilation without.  The value
3907 for compilation with profile feedback needs to be more conservative (higher) in
3908 order to make tracer effective.
3909 .Ip "\fBmax-cse-path-length\fR" 8
3910 Maximum number of basic blocks on path that cse considers.
3911 .Ip "\fBggc-min-expand\fR" 8
3912 \s-1GCC\s0 uses a garbage collector to manage its own memory allocation.  This
3913 parameter specifies the minimum percentage by which the garbage
3914 collector's heap should be allowed to expand between collections.
3915 Tuning this may improve compilation speed; it has no effect on code
3916 generation.
3917 .Sp
3918 The default is 30% + 70% * (\s-1RAM/1GB\s0) with an upper bound of 100% when
3919 \s-1RAM\s0 >= 1GB.  If \f(CWgetrlimit\fR is available, the notion of \*(L"\s-1RAM\s0\*(R" is
3920 the smallest of actual \s-1RAM\s0, \s-1RLIMIT_RSS\s0, \s-1RLIMIT_DATA\s0 and \s-1RLIMIT_AS\s0.  If
3921 \s-1GCC\s0 is not able to calculate \s-1RAM\s0 on a particular platform, the lower
3922 bound of 30% is used.  Setting this parameter and
3923 \fBggc-min-heapsize\fR to zero causes a full collection to occur at
3924 every opportunity.  This is extremely slow, but can be useful for
3925 debugging.
3926 .Ip "\fBggc-min-heapsize\fR" 8
3927 Minimum size of the garbage collector's heap before it begins bothering
3928 to collect garbage.  The first collection occurs after the heap expands
3929 by \fBggc-min-expand\fR% beyond \fBggc-min-heapsize\fR.  Again,
3930 tuning this may improve compilation speed, and has no effect on code
3931 generation.
3932 .Sp
3933 The default is \s-1RAM/8\s0, with a lower bound of 4096 (four megabytes) and an
3934 upper bound of 131072 (128 megabytes).  If \f(CWgetrlimit\fR is
3935 available, the notion of \*(L"\s-1RAM\s0\*(R" is the smallest of actual \s-1RAM\s0,
3936 \s-1RLIMIT_RSS\s0, \s-1RLIMIT_DATA\s0 and \s-1RLIMIT_AS\s0.  If \s-1GCC\s0 is not able to calculate
3937 \s-1RAM\s0 on a particular platform, the lower bound is used.  Setting this
3938 parameter very large effectively disables garbage collection.  Setting
3939 this parameter and \fBggc-min-expand\fR to zero causes a full
3940 collection to occur at every opportunity.
3941 .Ip "\fBmax-reload-search-insns\fR" 8
3942 The maximum number of instruction reload should look backward for equivalent
3943 register.  Increasing values mean more aggressive optimization, making the
3944 compile time increase with probably slightly better performance.  The default
3945 value is 100.
3946 .Ip "\fBmax-cselib-memory-location\fR" 8
3947 The maximum number of memory locations cselib should take into acount.
3948 Increasing values mean more aggressive optimization, making the compile time
3949 increase with probably slightly better performance.  The default value is 500.
3950 .Ip "\fBreorder-blocks-duplicate\fR" 8
3951 .Ip "\fBreorder-blocks-duplicate-feedback\fR" 8
3952 Used by basic block reordering pass to decide whether to use unconditional
3953 branch or duplicate the code on its destination.  Code is duplicated when its
3954 estimated size is smaller than this value multiplied by the estimated size of
3955 unconditional jump in the hot spots of the program.
3956 .Sp
3957 The \fBreorder-block-duplicate-feedback\fR is used only when profile
3958 feedback is available and may be set to higher values than
3959 \fBreorder-block-duplicate\fR since information about the hot spots is more
3960 accurate.
3961 .Sh "Options Controlling the Preprocessor"
3962 These options control the C preprocessor, which is run on each C source
3963 file before actual compilation.
3964 .PP
3965 If you use the \fB\-E\fR option, nothing is done except preprocessing.
3966 Some of these options make sense only together with \fB\-E\fR because
3967 they cause the preprocessor output to be unsuitable for actual
3968 compilation.
3969 You can use \fB\-Wp,\fR\fIoption\fR to bypass the compiler driver
3970 and pass \fIoption\fR directly through to the preprocessor.  If
3971 \fIoption\fR contains commas, it is split into multiple options at the
3972 commas.  However, many options are modified, translated or interpreted
3973 by the compiler driver before being passed to the preprocessor, and
3974 \fB\-Wp\fR forcibly bypasses this phase.  The preprocessor's direct
3975 interface is undocumented and subject to change, so whenever possible
3976 you should avoid using \fB\-Wp\fR and let the driver handle the
3977 options instead.
3978 .Ip "\fB\-Xpreprocessor\fR \fIoption\fR" 4
3979 Pass \fIoption\fR as an option to the preprocessor.  You can use this to
3980 supply system-specific preprocessor options which \s-1GCC\s0 does not know how to
3981 recognize.
3982 .Sp
3983 If you want to pass an option that takes an argument, you must use
3984 \fB\-Xpreprocessor\fR twice, once for the option and once for the argument.
3985 .Ip "\fB\-D\fR \fIname\fR" 4
3986 Predefine \fIname\fR as a macro, with definition \f(CW1\fR.
3987 .Ip "\fB\-D\fR \fIname\fR\fB=\fR\fIdefinition\fR" 4
3988 Predefine \fIname\fR as a macro, with definition \fIdefinition\fR.
3989 There are no restrictions on the contents of \fIdefinition\fR, but if
3990 you are invoking the preprocessor from a shell or shell-like program you
3991 may need to use the shell's quoting syntax to protect characters such as
3992 spaces that have a meaning in the shell syntax.
3993 .Sp
3994 If you wish to define a function-like macro on the command line, write
3995 its argument list with surrounding parentheses before the equals sign
3996 (if any).  Parentheses are meaningful to most shells, so you will need
3997 to quote the option.  With \fBsh\fR and \fBcsh\fR,
3998 \fB\-D\*(R'\fR\fIname\fR\fB(\fR\fIargs...\fR\fB)=\fR\fIdefinition\fR\fB\*(R'\fR works.
3999 .Sp
4000 \fB\-D\fR and \fB\-U\fR options are processed in the order they
4001 are given on the command line.  All \fB\-imacros\fR \fIfile\fR and
4002 \fB\-include\fR \fIfile\fR options are processed after all
4003 \fB\-D\fR and \fB\-U\fR options.
4004 .Ip "\fB\-U\fR \fIname\fR" 4
4005 Cancel any previous definition of \fIname\fR, either built in or
4006 provided with a \fB\-D\fR option.
4007 .Ip "\fB\-undef\fR" 4
4008 Do not predefine any system-specific or \s-1GCC\s0\-specific macros.  The
4009 standard predefined macros remain defined.
4010 .Ip "\fB\-I\fR \fIdir\fR" 4
4011 Add the directory \fIdir\fR to the list of directories to be searched
4012 for header files.
4013 Directories named by \fB\-I\fR are searched before the standard
4014 system include directories.  If the directory \fIdir\fR is a standard
4015 system include directory, the option is ignored to ensure that the
4016 default search order for system directories and the special treatment
4017 of system headers are not defeated
4018 \&.
4019 .Ip "\fB\-o\fR \fIfile\fR" 4
4020 Write output to \fIfile\fR.  This is the same as specifying \fIfile\fR
4021 as the second non-option argument to \fBcpp\fR.  \fBgcc\fR has a
4022 different interpretation of a second non-option argument, so you must
4023 use \fB\-o\fR to specify the output file.
4024 .Ip "\fB\-Wall\fR" 4
4025 Turns on all optional warnings which are desirable for normal code.
4026 At present this is \fB\-Wcomment\fR, \fB\-Wtrigraphs\fR,
4027 \fB\-Wmultichar\fR and a warning about integer promotion causing a
4028 change of sign in \f(CW#if\fR expressions.  Note that many of the
4029 preprocessor's warnings are on by default and have no options to
4030 control them.
4031 .Ip "\fB\-Wcomment\fR" 4
4032 .Ip "\fB\-Wcomments\fR" 4
4033 Warn whenever a comment-start sequence \fB/*\fR appears in a \fB/*\fR
4034 comment, or whenever a backslash-newline appears in a \fB//\fR comment.
4035 (Both forms have the same effect.)
4036 .Ip "\fB\-Wtrigraphs\fR" 4
4037 @anchor{Wtrigraphs}
4038 Most trigraphs in comments cannot affect the meaning of the program.
4039 However, a trigraph that would form an escaped newline (\fB??/\fR at
4040 the end of a line) can, by changing where the comment begins or ends.
4041 Therefore, only trigraphs that would form escaped newlines produce
4042 warnings inside a comment.
4043 .Sp
4044 This option is implied by \fB\-Wall\fR.  If \fB\-Wall\fR is not
4045 given, this option is still enabled unless trigraphs are enabled.  To
4046 get trigraph conversion without warnings, but get the other
4047 \fB\-Wall\fR warnings, use \fB\-trigraphs \-Wall \-Wno-trigraphs\fR.
4048 .Ip "\fB\-Wtraditional\fR" 4
4049 Warn about certain constructs that behave differently in traditional and
4050 \s-1ISO\s0 C.  Also warn about \s-1ISO\s0 C constructs that have no traditional C
4051 equivalent, and problematic constructs which should be avoided.
4052 .Ip "\fB\-Wimport\fR" 4
4053 Warn the first time \fB#import\fR is used.
4054 .Ip "\fB\-Wundef\fR" 4
4055 Warn whenever an identifier which is not a macro is encountered in an
4056 \fB#if\fR directive, outside of \fBdefined\fR.  Such identifiers are
4057 replaced with zero.
4058 .Ip "\fB\-Wunused-macros\fR" 4
4059 Warn about macros defined in the main file that are unused.  A macro
4060 is \fIused\fR if it is expanded or tested for existence at least once.
4061 The preprocessor will also warn if the macro has not been used at the
4062 time it is redefined or undefined.
4063 .Sp
4064 Built-in macros, macros defined on the command line, and macros
4065 defined in include files are not warned about.
4066 .Sp
4067 \fBNote:\fR If a macro is actually used, but only used in skipped
4068 conditional blocks, then \s-1CPP\s0 will report it as unused.  To avoid the
4069 warning in such a case, you might improve the scope of the macro's
4070 definition by, for example, moving it into the first skipped block.
4071 Alternatively, you could provide a dummy use with something like:
4072 .Sp
4073 .Vb 3
4074 \&        
4075 \&        #if defined the_macro_causing_the_warning
4076 \&        #endif
4077 .Ve
4078 .Ip "\fB\-Wendif-labels\fR" 4
4079 Warn whenever an \fB#else\fR or an \fB#endif\fR are followed by text.
4080 This usually happens in code of the form
4081 .Sp
4082 .Vb 6
4083 \&        
4084 \&        #if FOO
4085 \&        ...
4086 \&        #else FOO
4087 \&        ...
4088 \&        #endif FOO
4089 .Ve
4090 The second and third \f(CWFOO\fR should be in comments, but often are not
4091 in older programs.  This warning is on by default.
4092 .Ip "\fB\-Werror\fR" 4
4093 Make all warnings into hard errors.  Source code which triggers warnings
4094 will be rejected.
4095 .Ip "\fB\-Wsystem-headers\fR" 4
4096 Issue warnings for code in system headers.  These are normally unhelpful
4097 in finding bugs in your own code, therefore suppressed.  If you are
4098 responsible for the system library, you may want to see them.
4099 .Ip "\fB\-w\fR" 4
4100 Suppress all warnings, including those which \s-1GNU\s0 \s-1CPP\s0 issues by default.
4101 .Ip "\fB\-pedantic\fR" 4
4102 Issue all the mandatory diagnostics listed in the C standard.  Some of
4103 them are left out by default, since they trigger frequently on harmless
4104 code.
4105 .Ip "\fB\-pedantic-errors\fR" 4
4106 Issue all the mandatory diagnostics, and make all mandatory diagnostics
4107 into errors.  This includes mandatory diagnostics that \s-1GCC\s0 issues
4108 without \fB\-pedantic\fR but treats as warnings.
4109 .Ip "\fB\-M\fR" 4
4110 Instead of outputting the result of preprocessing, output a rule
4111 suitable for \fBmake\fR describing the dependencies of the main
4112 source file.  The preprocessor outputs one \fBmake\fR rule containing
4113 the object file name for that source file, a colon, and the names of all
4114 the included files, including those coming from \fB\-include\fR or
4115 \fB\-imacros\fR command line options.
4116 .Sp
4117 Unless specified explicitly (with \fB\-\s-1MT\s0\fR or \fB\-\s-1MQ\s0\fR), the
4118 object file name consists of the basename of the source file with any
4119 suffix replaced with object file suffix.  If there are many included
4120 files then the rule is split into several lines using \fB\e\fR\-newline.
4121 The rule has no commands.
4122 .Sp
4123 This option does not suppress the preprocessor's debug output, such as
4124 \fB\-dM\fR.  To avoid mixing such debug output with the dependency
4125 rules you should explicitly specify the dependency output file with
4126 \fB\-\s-1MF\s0\fR, or use an environment variable like
4127 \fB\s-1DEPENDENCIES_OUTPUT\s0\fR.  Debug output
4128 will still be sent to the regular output stream as normal.
4129 .Sp
4130 Passing \fB\-M\fR to the driver implies \fB\-E\fR, and suppresses
4131 warnings with an implicit \fB\-w\fR.
4132 .Ip "\fB\-\s-1MM\s0\fR" 4
4133 Like \fB\-M\fR but do not mention header files that are found in
4134 system header directories, nor header files that are included,
4135 directly or indirectly, from such a header.
4136 .Sp
4137 This implies that the choice of angle brackets or double quotes in an
4138 \fB#include\fR directive does not in itself determine whether that
4139 header will appear in \fB\-\s-1MM\s0\fR dependency output.  This is a
4140 slight change in semantics from \s-1GCC\s0 versions 3.0 and earlier.
4141 .Sp
4142 @anchor{dashMF}
4143 .Ip "\fB\-\s-1MF\s0\fR \fIfile\fR" 4
4144 When used with \fB\-M\fR or \fB\-\s-1MM\s0\fR, specifies a
4145 file to write the dependencies to.  If no \fB\-\s-1MF\s0\fR switch is given
4146 the preprocessor sends the rules to the same place it would have sent
4147 preprocessed output.
4148 .Sp
4149 When used with the driver options \fB\-\s-1MD\s0\fR or \fB\-\s-1MMD\s0\fR,
4150 \fB\-\s-1MF\s0\fR overrides the default dependency output file.
4151 .Ip "\fB\-\s-1MG\s0\fR" 4
4152 In conjunction with an option such as \fB\-M\fR requesting
4153 dependency generation, \fB\-\s-1MG\s0\fR assumes missing header files are
4154 generated files and adds them to the dependency list without raising
4155 an error.  The dependency filename is taken directly from the
4156 \f(CW#include\fR directive without prepending any path.  \fB\-\s-1MG\s0\fR
4157 also suppresses preprocessed output, as a missing header file renders
4158 this useless.
4159 .Sp
4160 This feature is used in automatic updating of makefiles.
4161 .Ip "\fB\-\s-1MP\s0\fR" 4
4162 This option instructs \s-1CPP\s0 to add a phony target for each dependency
4163 other than the main file, causing each to depend on nothing.  These
4164 dummy rules work around errors \fBmake\fR gives if you remove header
4165 files without updating the \fIMakefile\fR to match.
4166 .Sp
4167 This is typical output:
4168 .Sp
4169 .Vb 4
4170 \&        
4171 \&        test.o: test.c test.h
4172 \&        
4173 \&        test.h:
4174 .Ve
4175 .Ip "\fB\-\s-1MT\s0\fR \fItarget\fR" 4
4176 Change the target of the rule emitted by dependency generation.  By
4177 default \s-1CPP\s0 takes the name of the main input file, including any path,
4178 deletes any file suffix such as \fB.c\fR, and appends the platform's
4179 usual object suffix.  The result is the target.
4180 .Sp
4181 An \fB\-\s-1MT\s0\fR option will set the target to be exactly the string you
4182 specify.  If you want multiple targets, you can specify them as a single
4183 argument to \fB\-\s-1MT\s0\fR, or use multiple \fB\-\s-1MT\s0\fR options.
4184 .Sp
4185 For example, \fB\-\s-1MT\s0\ \*(L'$(objpfx)foo.o\*(R'\fR might give
4186 .Sp
4187 .Vb 2
4188 \&        
4189 \&        $(objpfx)foo.o: foo.c
4190 .Ve
4191 .Ip "\fB\-\s-1MQ\s0\fR \fItarget\fR" 4
4192 Same as \fB\-\s-1MT\s0\fR, but it quotes any characters which are special to
4193 Make.  \fB\-\s-1MQ\s0\ \*(L'$(objpfx)foo.o\*(R'\fR gives
4194 .Sp
4195 .Vb 2
4196 \&        
4197 \&        $$(objpfx)foo.o: foo.c
4198 .Ve
4199 The default target is automatically quoted, as if it were given with
4200 \fB\-\s-1MQ\s0\fR.
4201 .Ip "\fB\-\s-1MD\s0\fR" 4
4202 \fB\-\s-1MD\s0\fR is equivalent to \fB\-M \-\s-1MF\s0\fR \fIfile\fR, except that
4203 \fB\-E\fR is not implied.  The driver determines \fIfile\fR based on
4204 whether an \fB\-o\fR option is given.  If it is, the driver uses its
4205 argument but with a suffix of \fI.d\fR, otherwise it take the
4206 basename of the input file and applies a \fI.d\fR suffix.
4207 .Sp
4208 If \fB\-\s-1MD\s0\fR is used in conjunction with \fB\-E\fR, any
4209 \fB\-o\fR switch is understood to specify the dependency output file
4210 (but \f(CW@pxref\fR{dashMF,,\-\s-1MF\s0}), but if used without \fB\-E\fR, each \fB\-o\fR
4211 is understood to specify a target object file.
4212 .Sp
4213 Since \fB\-E\fR is not implied, \fB\-\s-1MD\s0\fR can be used to generate
4214 a dependency output file as a side-effect of the compilation process.
4215 .Ip "\fB\-\s-1MMD\s0\fR" 4
4216 Like \fB\-\s-1MD\s0\fR except mention only user header files, not system
4217 \-header files.
4218 .Ip "\fB\-fpch-deps\fR" 4
4219 When using precompiled headers, this flag
4220 will cause the dependency-output flags to also list the files from the
4221 precompiled header's dependencies.  If not specified only the
4222 precompiled header would be listed and not the files that were used to
4223 create it because those files are not consulted when a precompiled
4224 header is used.
4225 .Ip "\fB\-x c\fR" 4
4226 .Ip "\fB\-x c++\fR" 4
4227 .Ip "\fB\-x objective-c\fR" 4
4228 .Ip "\fB\-x assembler-with-cpp\fR" 4
4229 Specify the source language: C, \*(C+, Objective-C, or assembly.  This has
4230 nothing to do with standards conformance or extensions; it merely
4231 selects which base syntax to expect.  If you give none of these options,
4232 cpp will deduce the language from the extension of the source file:
4233 \&\fB.c\fR, \fB.cc\fR, \fB.m\fR, or \fB.S\fR.  Some other common
4234 extensions for \*(C+ and assembly are also recognized.  If cpp does not
4235 recognize the extension, it will treat the file as C; this is the most
4236 generic mode.
4237 .Sp
4238 \fBNote:\fR Previous versions of cpp accepted a \fB\-lang\fR option
4239 which selected both the language and the standards conformance level.
4240 This option has been removed, because it conflicts with the \fB\-l\fR
4241 option.
4242 .Ip "\fB\-std=\fR\fIstandard\fR" 4
4243 .Ip "\fB\-ansi\fR" 4
4244 Specify the standard to which the code should conform.  Currently \s-1CPP\s0
4245 knows about C and \*(C+ standards; others may be added in the future.
4246 .Sp
4247 \fIstandard\fR
4248 may be one of:
4249 .Ip "\f(CWiso9899:1990\fR" 8
4250 .Ip "\f(CWc89\fR" 8
4251 The \s-1ISO\s0 C standard from 1990.  \fBc89\fR is the customary shorthand for
4252 this version of the standard.
4253 .Sp
4254 The \fB\-ansi\fR option is equivalent to \fB\-std=c89\fR.
4255 .Ip "\f(CWiso9899:199409\fR" 8
4256 The 1990 C standard, as amended in 1994.
4257 .Ip "\f(CWiso9899:1999\fR" 8
4258 .Ip "\f(CWc99\fR" 8
4259 .Ip "\f(CWiso9899:199x\fR" 8
4260 .Ip "\f(CWc9x\fR" 8
4261 The revised \s-1ISO\s0 C standard, published in December 1999.  Before
4262 publication, this was known as C9X.
4263 .Ip "\f(CWgnu89\fR" 8
4264 The 1990 C standard plus \s-1GNU\s0 extensions.  This is the default.
4265 .Ip "\f(CWgnu99\fR" 8
4266 .Ip "\f(CWgnu9x\fR" 8
4267 The 1999 C standard plus \s-1GNU\s0 extensions.
4268 .Ip "\f(CWc++98\fR" 8
4269 The 1998 \s-1ISO\s0 \*(C+ standard plus amendments.
4270 .Ip "\f(CWgnu++98\fR" 8
4271 The same as \fB\-std=c++98\fR plus \s-1GNU\s0 extensions.  This is the
4272 default for \*(C+ code.
4273 .Ip "\fB\-I-\fR" 4
4274 Split the include path.  Any directories specified with \fB\-I\fR
4275 options before \fB\-I-\fR are searched only for headers requested with
4276 \f(CW#include\ "\fIfile\fR"\fR; they are not searched for
4277 \f(CW#include\ <\fIfile\fR>\fR.  If additional directories are
4278 specified with \fB\-I\fR options after the \fB\-I-\fR, those
4279 directories are searched for all \fB#include\fR directives.
4280 .Sp
4281 In addition, \fB\-I-\fR inhibits the use of the directory of the current
4282 file directory as the first search directory for \f(CW#include
4283 "\fIfile\fR"\fR.
4284 .Ip "\fB\-nostdinc\fR" 4
4285 Do not search the standard system directories for header files.
4286 Only the directories you have specified with \fB\-I\fR options
4287 (and the directory of the current file, if appropriate) are searched.
4288 .Ip "\fB\-nostdinc++\fR" 4
4289 Do not search for header files in the \*(C+\-specific standard directories,
4290 but do still search the other standard directories.  (This option is
4291 used when building the \*(C+ library.)
4292 .Ip "\fB\-include\fR \fIfile\fR" 4
4293 Process \fIfile\fR as if \f(CW#include "file"\fR appeared as the first
4294 line of the primary source file.  However, the first directory searched
4295 for \fIfile\fR is the preprocessor's working directory \fIinstead of\fR
4296 the directory containing the main source file.  If not found there, it
4297 is searched for in the remainder of the \f(CW#include "..."\fR search
4298 chain as normal.
4299 .Sp
4300 If multiple \fB\-include\fR options are given, the files are included
4301 in the order they appear on the command line.
4302 .Ip "\fB\-imacros\fR \fIfile\fR" 4
4303 Exactly like \fB\-include\fR, except that any output produced by
4304 scanning \fIfile\fR is thrown away.  Macros it defines remain defined.
4305 This allows you to acquire all the macros from a header without also
4306 processing its declarations.
4307 .Sp
4308 All files specified by \fB\-imacros\fR are processed before all files
4309 specified by \fB\-include\fR.
4310 .Ip "\fB\-idirafter\fR \fIdir\fR" 4
4311 Search \fIdir\fR for header files, but do it \fIafter\fR all
4312 directories specified with \fB\-I\fR and the standard system directories
4313 have been exhausted.  \fIdir\fR is treated as a system include directory.
4314 .Ip "\fB\-iprefix\fR \fIprefix\fR" 4
4315 Specify \fIprefix\fR as the prefix for subsequent \fB\-iwithprefix\fR
4316 options.  If the prefix represents a directory, you should include the
4317 final \fB/\fR.
4318 .Ip "\fB\-iwithprefix\fR \fIdir\fR" 4
4319 .Ip "\fB\-iwithprefixbefore\fR \fIdir\fR" 4
4320 Append \fIdir\fR to the prefix specified previously with
4321 \fB\-iprefix\fR, and add the resulting directory to the include search
4322 path.  \fB\-iwithprefixbefore\fR puts it in the same place \fB\-I\fR
4323 would; \fB\-iwithprefix\fR puts it where \fB\-idirafter\fR would.
4324 .Ip "\fB\-isystem\fR \fIdir\fR" 4
4325 Search \fIdir\fR for header files, after all directories specified by
4326 \fB\-I\fR but before the standard system directories.  Mark it
4327 as a system directory, so that it gets the same special treatment as
4328 is applied to the standard system directories.
4329 .Ip "\fB\-fdollars-in-identifiers\fR" 4
4330 @anchor{fdollars-in-identifiers}
4331 Accept \fB$\fR in identifiers.
4332 .Ip "\fB\-fpreprocessed\fR" 4
4333 Indicate to the preprocessor that the input file has already been
4334 preprocessed.  This suppresses things like macro expansion, trigraph
4335 conversion, escaped newline splicing, and processing of most directives.
4336 The preprocessor still recognizes and removes comments, so that you can
4337 pass a file preprocessed with \fB\-C\fR to the compiler without
4338 problems.  In this mode the integrated preprocessor is little more than
4339 a tokenizer for the front ends.
4340 .Sp
4341 \fB\-fpreprocessed\fR is implicit if the input file has one of the
4342 extensions \fB.i\fR, \fB.ii\fR or \fB.mi\fR.  These are the
4343 extensions that \s-1GCC\s0 uses for preprocessed files created by
4344 \fB\-save-temps\fR.
4345 .Ip "\fB\-ftabstop=\fR\fIwidth\fR" 4
4346 Set the distance between tab stops.  This helps the preprocessor report
4347 correct column numbers in warnings or errors, even if tabs appear on the
4348 line.  If the value is less than 1 or greater than 100, the option is
4349 ignored.  The default is 8.
4350 .Ip "\fB\-fexec-charset=\fR\fIcharset\fR" 4
4351 Set the execution character set, used for string and character
4352 constants.  The default is \s-1UTF\s0\-8.  \fIcharset\fR can be any encoding
4353 supported by the system's \f(CWiconv\fR library routine.
4354 .Ip "\fB\-fwide-exec-charset=\fR\fIcharset\fR" 4
4355 Set the wide execution character set, used for wide string and
4356 character constants.  The default is \s-1UTF\s0\-32 or \s-1UTF\s0\-16, whichever
4357 corresponds to the width of \f(CWwchar_t\fR.  As with
4358 \fB\-ftarget-charset\fR, \fIcharset\fR can be any encoding supported
4359 by the system's \f(CWiconv\fR library routine; however, you will have
4360 problems with encodings that do not fit exactly in \f(CWwchar_t\fR.
4361 .Ip "\fB\-finput-charset=\fR\fIcharset\fR" 4
4362 Set the input character set, used for translation from the character
4363 set of the input file to the source character set used by \s-1GCC\s0. If the
4364 locale does not specify, or \s-1GCC\s0 cannot get this information from the
4365 locale, the default is \s-1UTF\s0\-8. This can be overridden by either the locale
4366 or this command line option. Currently the command line option takes
4367 precedence if there's a conflict. \fIcharset\fR can be any encoding
4368 supported by the system's \f(CWiconv\fR library routine.
4369 .Ip "\fB\-fworking-directory\fR" 4
4370 Enable generation of linemarkers in the preprocessor output that will
4371 let the compiler know the current working directory at the time of
4372 preprocessing.  When this option is enabled, the preprocessor will
4373 emit, after the initial linemarker, a second linemarker with the
4374 current working directory followed by two slashes.  \s-1GCC\s0 will use this
4375 directory, when it's present in the preprocessed input, as the
4376 directory emitted as the current working directory in some debugging
4377 information formats.  This option is implicitly enabled if debugging
4378 information is enabled, but this can be inhibited with the negated
4379 form \fB\-fno-working-directory\fR.  If the \fB\-P\fR flag is
4380 present in the command line, this option has no effect, since no
4381 \f(CW#line\fR directives are emitted whatsoever.
4382 .Ip "\fB\-fno-show-column\fR" 4
4383 Do not print column numbers in diagnostics.  This may be necessary if
4384 diagnostics are being scanned by a program that does not understand the
4385 column numbers, such as \fBdejagnu\fR.
4386 .Ip "\fB\-A\fR \fIpredicate\fR\fB=\fR\fIanswer\fR" 4
4387 Make an assertion with the predicate \fIpredicate\fR and answer
4388 \fIanswer\fR.  This form is preferred to the older form \fB\-A\fR
4389 \fIpredicate\fR\fB(\fR\fIanswer\fR\fB)\fR, which is still supported, because
4390 it does not use shell special characters.
4391 .Ip "\fB\-A \-\fR\fIpredicate\fR\fB=\fR\fIanswer\fR" 4
4392 Cancel an assertion with the predicate \fIpredicate\fR and answer
4393 \fIanswer\fR.
4394 .Ip "\fB\-dCHARS\fR" 4
4395 \fI\s-1CHARS\s0\fR is a sequence of one or more of the following characters,
4396 and must not be preceded by a space.  Other characters are interpreted
4397 by the compiler proper, or reserved for future versions of \s-1GCC\s0, and so
4398 are silently ignored.  If you specify characters whose behavior
4399 conflicts, the result is undefined.
4400 .Ip "\fBM\fR" 8
4401 Instead of the normal output, generate a list of \fB#define\fR
4402 directives for all the macros defined during the execution of the
4403 preprocessor, including predefined macros.  This gives you a way of
4404 finding out what is predefined in your version of the preprocessor.
4405 Assuming you have no file \fIfoo.h\fR, the command
4406 .Sp
4407 .Vb 2
4408 \&        
4409 \&        touch foo.h; cpp -dM foo.h
4410 .Ve
4411 will show all the predefined macros.
4412 .Ip "\fBD\fR" 8
4413 Like \fBM\fR except in two respects: it does \fInot\fR include the
4414 predefined macros, and it outputs \fIboth\fR the \fB#define\fR
4415 directives and the result of preprocessing.  Both kinds of output go to
4416 the standard output file.
4417 .Ip "\fBN\fR" 8
4418 Like \fBD\fR, but emit only the macro names, not their expansions.
4419 .Ip "\fBI\fR" 8
4420 Output \fB#include\fR directives in addition to the result of
4421 preprocessing.
4422 .Ip "\fB\-P\fR" 4
4423 Inhibit generation of linemarkers in the output from the preprocessor.
4424 This might be useful when running the preprocessor on something that is
4425 not C code, and will be sent to a program which might be confused by the
4426 linemarkers.
4427 .Ip "\fB\-C\fR" 4
4428 Do not discard comments.  All comments are passed through to the output
4429 file, except for comments in processed directives, which are deleted
4430 along with the directive.
4431 .Sp
4432 You should be prepared for side effects when using \fB\-C\fR; it
4433 causes the preprocessor to treat comments as tokens in their own right.
4434 For example, comments appearing at the start of what would be a
4435 directive line have the effect of turning that line into an ordinary
4436 source line, since the first token on the line is no longer a \fB#\fR.
4437 .Ip "\fB\-\s-1CC\s0\fR" 4
4438 Do not discard comments, including during macro expansion.  This is
4439 like \fB\-C\fR, except that comments contained within macros are
4440 also passed through to the output file where the macro is expanded.
4441 .Sp
4442 In addition to the side-effects of the \fB\-C\fR option, the
4443 \fB\-\s-1CC\s0\fR option causes all \*(C+\-style comments inside a macro
4444 to be converted to C\-style comments.  This is to prevent later use
4445 of that macro from inadvertently commenting out the remainder of
4446 the source line.
4447 .Sp
4448 The \fB\-\s-1CC\s0\fR option is generally used to support lint comments.
4449 .Ip "\fB\-traditional-cpp\fR" 4
4450 Try to imitate the behavior of old-fashioned C preprocessors, as
4451 opposed to \s-1ISO\s0 C preprocessors.
4452 .Ip "\fB\-trigraphs\fR" 4
4453 Process trigraph sequences.
4454 These are three-character sequences, all starting with \fB??\fR, that
4455 are defined by \s-1ISO\s0 C to stand for single characters.  For example,
4456 \fB??/\fR stands for \fB\e\fR, so \fB\*(R'??/n\*(R'\fR is a character
4457 constant for a newline.  By default, \s-1GCC\s0 ignores trigraphs, but in
4458 standard-conforming modes it converts them.  See the \fB\-std\fR and
4459 \fB\-ansi\fR options.
4460 .Sp
4461 The nine trigraphs and their replacements are
4462 .Sp
4463 .Vb 3
4464 \&        
4465 \&        Trigraph:       ??(  ??)  ??<  ??>  ??=  ??/  ??'  ??!  ??-
4466 \&        Replacement:      [    ]    {    }    #    \e    ^    |    ~
4467 .Ve
4468 .Ip "\fB\-remap\fR" 4
4469 Enable special code to work around file systems which only permit very
4470 short file names, such as \s-1MS\s0\-\s-1DOS\s0.
4471 .Ip "\fB--help\fR" 4
4472 .Ip "\fB--target-help\fR" 4
4473 Print text describing all the command line options instead of
4474 preprocessing anything.
4475 .Ip "\fB\-v\fR" 4
4476 Verbose mode.  Print out \s-1GNU\s0 \s-1CPP\s0's version number at the beginning of
4477 execution, and report the final form of the include path.
4478 .Ip "\fB\-H\fR" 4
4479 Print the name of each header file used, in addition to other normal
4480 activities.  Each name is indented to show how deep in the
4481 \fB#include\fR stack it is.  Precompiled header files are also
4482 printed, even if they are found to be invalid; an invalid precompiled
4483 header file is printed with \fB...x\fR and a valid one with \fB...!\fR .
4484 .Ip "\fB\-version\fR" 4
4485 .Ip "\fB--version\fR" 4
4486 Print out \s-1GNU\s0 \s-1CPP\s0's version number.  With one dash, proceed to
4487 preprocess as normal.  With two dashes, exit immediately.
4488 .Sh "Passing Options to the Assembler"
4489 You can pass options to the assembler.
4490 .Ip "\fB\-Wa,\fR\fIoption\fR" 4
4491 Pass \fIoption\fR as an option to the assembler.  If \fIoption\fR
4492 contains commas, it is split into multiple options at the commas.
4493 .Ip "\fB\-Xassembler\fR \fIoption\fR" 4
4494 Pass \fIoption\fR as an option to the assembler.  You can use this to
4495 supply system-specific assembler options which \s-1GCC\s0 does not know how to
4496 recognize.
4497 .Sp
4498 If you want to pass an option that takes an argument, you must use
4499 \fB\-Xassembler\fR twice, once for the option and once for the argument.
4500 .Sh "Options for Linking"
4501 These options come into play when the compiler links object files into
4502 an executable output file.  They are meaningless if the compiler is
4503 not doing a link step.
4504 .Ip "\fIobject-file-name\fR" 4
4505 A file name that does not end in a special recognized suffix is
4506 considered to name an object file or library.  (Object files are
4507 distinguished from libraries by the linker according to the file
4508 contents.)  If linking is done, these object files are used as input
4509 to the linker.
4510 .Ip "\fB\-c\fR" 4
4511 .Ip "\fB\-S\fR" 4
4512 .Ip "\fB\-E\fR" 4
4513 If any of these options is used, then the linker is not run, and
4514 object file names should not be used as arguments.  
4515 .Ip "\fB\-l\fR\fIlibrary\fR" 4
4516 .Ip "\fB\-l\fR \fIlibrary\fR" 4
4517 Search the library named \fIlibrary\fR when linking.  (The second
4518 alternative with the library as a separate argument is only for
4519 \s-1POSIX\s0 compliance and is not recommended.)
4520 .Sp
4521 It makes a difference where in the command you write this option; the
4522 linker searches and processes libraries and object files in the order they
4523 are specified.  Thus, \fBfoo.o \-lz bar.o\fR searches library \fBz\fR
4524 after file \fIfoo.o\fR but before \fIbar.o\fR.  If \fIbar.o\fR refers
4525 to functions in \fBz\fR, those functions may not be loaded.
4526 .Sp
4527 The linker searches a standard list of directories for the library,
4528 which is actually a file named \fIlib\fIlibrary\fR.a\fR.  The linker
4529 then uses this file as if it had been specified precisely by name.
4530 .Sp
4531 The directories searched include several standard system directories
4532 plus any that you specify with \fB\-L\fR.
4533 .Sp
4534 Normally the files found this way are library files---archive files
4535 whose members are object files.  The linker handles an archive file by
4536 scanning through it for members which define symbols that have so far
4537 been referenced but not defined.  But if the file that is found is an
4538 ordinary object file, it is linked in the usual fashion.  The only
4539 difference between using an \fB\-l\fR option and specifying a file name
4540 is that \fB\-l\fR surrounds \fIlibrary\fR with \fBlib\fR and \fB.a\fR
4541 and searches several directories.
4542 .Ip "\fB\-lobjc\fR" 4
4543 You need this special case of the \fB\-l\fR option in order to
4544 link an Objective-C program.
4545 .Ip "\fB\-nostartfiles\fR" 4
4546 Do not use the standard system startup files when linking.
4547 The standard system libraries are used normally, unless \fB\-nostdlib\fR
4548 or \fB\-nodefaultlibs\fR is used.
4549 .Ip "\fB\-nodefaultlibs\fR" 4
4550 Do not use the standard system libraries when linking.
4551 Only the libraries you specify will be passed to the linker.
4552 The standard startup files are used normally, unless \fB\-nostartfiles\fR
4553 is used.  The compiler may generate calls to memcmp, memset, and memcpy
4554 for System V (and \s-1ISO\s0 C) environments or to bcopy and bzero for
4555 \s-1BSD\s0 environments.  These entries are usually resolved by entries in
4556 libc.  These entry points should be supplied through some other
4557 mechanism when this option is specified.
4558 .Ip "\fB\-nostdlib\fR" 4
4559 Do not use the standard system startup files or libraries when linking.
4560 No startup files and only the libraries you specify will be passed to
4561 the linker.  The compiler may generate calls to memcmp, memset, and memcpy
4562 for System V (and \s-1ISO\s0 C) environments or to bcopy and bzero for
4563 \s-1BSD\s0 environments.  These entries are usually resolved by entries in
4564 libc.  These entry points should be supplied through some other
4565 mechanism when this option is specified.
4566 .Sp
4567 One of the standard libraries bypassed by \fB\-nostdlib\fR and
4568 \fB\-nodefaultlibs\fR is \fIlibgcc.a\fR, a library of internal subroutines
4569 that \s-1GCC\s0 uses to overcome shortcomings of particular machines, or special
4570 needs for some languages.
4571 .Sp
4572 In most cases, you need \fIlibgcc.a\fR even when you want to avoid
4573 other standard libraries.  In other words, when you specify \fB\-nostdlib\fR
4574 or \fB\-nodefaultlibs\fR you should usually specify \fB\-lgcc\fR as well.
4575 This ensures that you have no unresolved references to internal \s-1GCC\s0
4576 library subroutines.  (For example, \fB_\|_main\fR, used to ensure \*(C+
4577 constructors will be called.)
4578 .Ip "\fB\-pie\fR" 4
4579 Produce a position independent executable on targets which support it.
4580 For predictable results, you must also specify the same set of options
4581 that were used to generate code (\fB\-fpie\fR, \fB\-fPIE\fR,
4582 or model suboptions) when you specify this option.
4583 .Ip "\fB\-s\fR" 4
4584 Remove all symbol table and relocation information from the executable.
4585 .Ip "\fB\-static\fR" 4
4586 On systems that support dynamic linking, this prevents linking with the shared
4587 libraries.  On other systems, this option has no effect.
4588 .Ip "\fB\-shared\fR" 4
4589 Produce a shared object which can then be linked with other objects to
4590 form an executable.  Not all systems support this option.  For predictable
4591 results, you must also specify the same set of options that were used to
4592 generate code (\fB\-fpic\fR, \fB\-fPIC\fR, or model suboptions)
4593 when you specify this option.[1]
4594 .Ip "\fB\-shared-libgcc\fR" 4
4595 .Ip "\fB\-static-libgcc\fR" 4
4596 On systems that provide \fIlibgcc\fR as a shared library, these options
4597 force the use of either the shared or static version respectively.
4598 If no shared version of \fIlibgcc\fR was built when the compiler was
4599 configured, these options have no effect.
4600 .Sp
4601 There are several situations in which an application should use the
4602 shared \fIlibgcc\fR instead of the static version.  The most common
4603 of these is when the application wishes to throw and catch exceptions
4604 across different shared libraries.  In that case, each of the libraries
4605 as well as the application itself should use the shared \fIlibgcc\fR.
4606 .Sp
4607 Therefore, the G++ and \s-1GCJ\s0 drivers automatically add
4608 \fB\-shared-libgcc\fR whenever you build a shared library or a main
4609 executable, because \*(C+ and Java programs typically use exceptions, so
4610 this is the right thing to do.
4611 .Sp
4612 If, instead, you use the \s-1GCC\s0 driver to create shared libraries, you may
4613 find that they will not always be linked with the shared \fIlibgcc\fR.
4614 If \s-1GCC\s0 finds, at its configuration time, that you have a non-\s-1GNU\s0 linker
4615 or a \s-1GNU\s0 linker that does not support option \fB--eh-frame-hdr\fR,
4616 it will link the shared version of \fIlibgcc\fR into shared libraries
4617 by default.  Otherwise, it will take advantage of the linker and optimize
4618 away the linking with the shared version of \fIlibgcc\fR, linking with
4619 the static version of libgcc by default.  This allows exceptions to
4620 propagate through such shared libraries, without incurring relocation
4621 costs at library load time.
4622 .Sp
4623 However, if a library or main executable is supposed to throw or catch
4624 exceptions, you must link it using the G++ or \s-1GCJ\s0 driver, as appropriate
4625 for the languages used in the program, or using the option
4626 \fB\-shared-libgcc\fR, such that it is linked with the shared
4627 \fIlibgcc\fR.
4628 .Ip "\fB\-symbolic\fR" 4
4629 Bind references to global symbols when building a shared object.  Warn
4630 about any unresolved references (unless overridden by the link editor
4631 option \fB\-Xlinker \-z \-Xlinker defs\fR).  Only a few systems support
4632 this option.
4633 .Ip "\fB\-Xlinker\fR \fIoption\fR" 4
4634 Pass \fIoption\fR as an option to the linker.  You can use this to
4635 supply system-specific linker options which \s-1GCC\s0 does not know how to
4636 recognize.
4637 .Sp
4638 If you want to pass an option that takes an argument, you must use
4639 \fB\-Xlinker\fR twice, once for the option and once for the argument.
4640 For example, to pass \fB\-assert definitions\fR, you must write
4641 \fB\-Xlinker \-assert \-Xlinker definitions\fR.  It does not work to write
4642 \fB\-Xlinker \*(L"\-assert definitions\*(R"\fR, because this passes the entire
4643 string as a single argument, which is not what the linker expects.
4644 .Ip "\fB\-Wl,\fR\fIoption\fR" 4
4645 Pass \fIoption\fR as an option to the linker.  If \fIoption\fR contains
4646 commas, it is split into multiple options at the commas.
4647 .Ip "\fB\-u\fR \fIsymbol\fR" 4
4648 Pretend the symbol \fIsymbol\fR is undefined, to force linking of
4649 library modules to define it.  You can use \fB\-u\fR multiple times with
4650 different symbols to force loading of additional library modules.
4651 .Sh "Options for Directory Search"
4652 These options specify directories to search for header files, for
4653 libraries and for parts of the compiler:
4654 .Ip "\fB\-I\fR\fIdir\fR" 4
4655 Add the directory \fIdir\fR to the head of the list of directories to be
4656 searched for header files.  This can be used to override a system header
4657 file, substituting your own version, since these directories are
4658 searched before the system header file directories.  However, you should
4659 not use this option to add directories that contain vendor-supplied
4660 system header files (use \fB\-isystem\fR for that).  If you use more than
4661 one \fB\-I\fR option, the directories are scanned in left-to-right
4662 order; the standard system directories come after.
4663 .Sp
4664 If a standard system include directory, or a directory specified with
4665 \fB\-isystem\fR, is also specified with \fB\-I\fR, the \fB\-I\fR
4666 option will be ignored.  The directory will still be searched but as a
4667 system directory at its normal position in the system include chain.
4668 This is to ensure that \s-1GCC\s0's procedure to fix buggy system headers and
4669 the ordering for the include_next directive are not inadvertently changed.
4670 If you really need to change the search order for system directories,
4671 use the \fB\-nostdinc\fR and/or \fB\-isystem\fR options.
4672 .Ip "\fB\-I-\fR" 4
4673 Any directories you specify with \fB\-I\fR options before the \fB\-I-\fR
4674 option are searched only for the case of \fB#include \*(L"\fR\fIfile\fR\fB\*(R"\fR;
4675 they are not searched for \fB#include <\fR\fIfile\fR\fB>\fR.
4676 .Sp
4677 If additional directories are specified with \fB\-I\fR options after
4678 the \fB\-I-\fR, these directories are searched for all \fB#include\fR
4679 directives.  (Ordinarily \fIall\fR \fB\-I\fR directories are used
4680 this way.)
4681 .Sp
4682 In addition, the \fB\-I-\fR option inhibits the use of the current
4683 directory (where the current input file came from) as the first search
4684 directory for \fB#include \*(L"\fR\fIfile\fR\fB\*(R"\fR.  There is no way to
4685 override this effect of \fB\-I-\fR.  With \fB\-I.\fR you can specify
4686 searching the directory which was current when the compiler was
4687 invoked.  That is not exactly the same as what the preprocessor does
4688 by default, but it is often satisfactory.
4689 .Sp
4690 \fB\-I-\fR does not inhibit the use of the standard system directories
4691 for header files.  Thus, \fB\-I-\fR and \fB\-nostdinc\fR are
4692 independent.
4693 .Ip "\fB\-L\fR\fIdir\fR" 4
4694 Add directory \fIdir\fR to the list of directories to be searched
4695 for \fB\-l\fR.
4696 .Ip "\fB\-B\fR\fIprefix\fR" 4
4697 This option specifies where to find the executables, libraries,
4698 include files, and data files of the compiler itself.
4699 .Sp
4700 The compiler driver program runs one or more of the subprograms
4701 \fIcpp\fR, \fIcc1\fR, \fIas\fR and \fIld\fR.  It tries
4702 \fIprefix\fR as a prefix for each program it tries to run, both with and
4703 without \fImachine\fR\fB/\fR\fIversion\fR\fB/\fR.
4704 .Sp
4705 For each subprogram to be run, the compiler driver first tries the
4706 \fB\-B\fR prefix, if any.  If that name is not found, or if \fB\-B\fR
4707 was not specified, the driver tries two standard prefixes, which are
4708 \fI/usr/lib/gcc/\fR and \fI/usr/local/lib/gcc/\fR.  If neither of
4709 those results in a file name that is found, the unmodified program
4710 name is searched for using the directories specified in your
4711 \fB\s-1PATH\s0\fR environment variable.
4712 .Sp
4713 The compiler will check to see if the path provided by the \fB\-B\fR
4714 refers to a directory, and if necessary it will add a directory
4715 separator character at the end of the path.
4716 .Sp
4717 \fB\-B\fR prefixes that effectively specify directory names also apply
4718 to libraries in the linker, because the compiler translates these
4719 options into \fB\-L\fR options for the linker.  They also apply to
4720 includes files in the preprocessor, because the compiler translates these
4721 options into \fB\-isystem\fR options for the preprocessor.  In this case,
4722 the compiler appends \fBinclude\fR to the prefix.
4723 .Sp
4724 The run-time support file \fIlibgcc.a\fR can also be searched for using
4725 the \fB\-B\fR prefix, if needed.  If it is not found there, the two
4726 standard prefixes above are tried, and that is all.  The file is left
4727 out of the link if it is not found by those means.
4728 .Sp
4729 Another way to specify a prefix much like the \fB\-B\fR prefix is to use
4730 the environment variable \fB\s-1GCC_EXEC_PREFIX\s0\fR.  
4731 .Sp
4732 As a special kludge, if the path provided by \fB\-B\fR is
4733 \fI[dir/]stage\fIN\fR/\fR, where \fIN\fR is a number in the range 0 to
4734 9, then it will be replaced by \fI[dir/]include\fR.  This is to help
4735 with boot-strapping the compiler.
4736 .Ip "\fB\-specs=\fR\fIfile\fR" 4
4737 Process \fIfile\fR after the compiler reads in the standard \fIspecs\fR
4738 file, in order to override the defaults that the \fIgcc\fR driver
4739 program uses when determining what switches to pass to \fIcc1\fR,
4740 \fIcc1plus\fR, \fIas\fR, \fIld\fR, etc.  More than one
4741 \fB\-specs=\fR\fIfile\fR can be specified on the command line, and they
4742 are processed in order, from left to right.
4743 .Sh "Specifying Target Machine and Compiler Version"
4744 The usual way to run \s-1GCC\s0 is to run the executable called \fIgcc\fR, or
4745 \fI<machine>\-gcc\fR when cross-compiling, or
4746 \fI<machine>\-gcc-<version>\fR to run a version other than the one that
4747 was installed last.  Sometimes this is inconvenient, so \s-1GCC\s0 provides
4748 options that will switch to another cross-compiler or version.
4749 .Ip "\fB\-b\fR \fImachine\fR" 4
4750 The argument \fImachine\fR specifies the target machine for compilation.
4751 .Sp
4752 The value to use for \fImachine\fR is the same as was specified as the
4753 machine type when configuring \s-1GCC\s0 as a cross-compiler.  For
4754 example, if a cross-compiler was configured with \fBconfigure
4755 i386v\fR, meaning to compile for an 80386 running System V, then you
4756 would specify \fB\-b i386v\fR to run that cross compiler.
4757 .Ip "\fB\-V\fR \fIversion\fR" 4
4758 The argument \fIversion\fR specifies which version of \s-1GCC\s0 to run.
4759 This is useful when multiple versions are installed.  For example,
4760 \fIversion\fR might be \fB2.0\fR, meaning to run \s-1GCC\s0 version 2.0.
4761 .PP
4762 The \fB\-V\fR and \fB\-b\fR options work by running the
4763 \fI<machine>\-gcc-<version>\fR executable, so there's no real reason to
4764 use them if you can just run that directly.
4765 .Sh "Hardware Models and Configurations"
4766 Earlier we discussed the standard option \fB\-b\fR which chooses among
4767 different installed compilers for completely different target
4768 machines, such as \s-1VAX\s0 vs. 68000 vs. 80386.
4769 .PP
4770 In addition, each of these target machine types can have its own
4771 special options, starting with \fB\-m\fR, to choose among various
4772 hardware models or configurations---for example, 68010 vs 68020,
4773 floating coprocessor or none.  A single installed version of the
4774 compiler can compile for any model or configuration, according to the
4775 options specified.
4776 .PP
4777 Some configurations of the compiler also support additional special
4778 options, usually for compatibility with other compilers on the same
4779 platform.
4780 .PP
4781 These options are defined by the macro \f(CWTARGET_SWITCHES\fR in the
4782 machine description.  The default for the options is also defined by
4783 that macro, which enables you to change the defaults.
4784 These are the \fB\-m\fR options defined for the 68000 series.  The default
4785 values for these options depends on which style of 68000 was selected when
4786 the compiler was configured; the defaults for the most common choices are
4787 given below.
4788 .Ip "\fB\-m68000\fR" 4
4789 .Ip "\fB\-mc68000\fR" 4
4790 Generate output for a 68000.  This is the default
4791 when the compiler is configured for 68000-based systems.
4792 .Sp
4793 Use this option for microcontrollers with a 68000 or \s-1EC000\s0 core,
4794 including the 68008, 68302, 68306, 68307, 68322, 68328 and 68356.
4795 .Ip "\fB\-m68020\fR" 4
4796 .Ip "\fB\-mc68020\fR" 4
4797 Generate output for a 68020.  This is the default
4798 when the compiler is configured for 68020-based systems.
4799 .Ip "\fB\-m68881\fR" 4
4800 Generate output containing 68881 instructions for floating point.
4801 This is the default for most 68020 systems unless \fB--nfp\fR was
4802 specified when the compiler was configured.
4803 .Ip "\fB\-m68030\fR" 4
4804 Generate output for a 68030.  This is the default when the compiler is
4805 configured for 68030-based systems.
4806 .Ip "\fB\-m68040\fR" 4
4807 Generate output for a 68040.  This is the default when the compiler is
4808 configured for 68040-based systems.
4809 .Sp
4810 This option inhibits the use of 68881/68882 instructions that have to be
4811 emulated by software on the 68040.  Use this option if your 68040 does not
4812 have code to emulate those instructions.
4813 .Ip "\fB\-m68060\fR" 4
4814 Generate output for a 68060.  This is the default when the compiler is
4815 configured for 68060-based systems.
4816 .Sp
4817 This option inhibits the use of 68020 and 68881/68882 instructions that
4818 have to be emulated by software on the 68060.  Use this option if your 68060
4819 does not have code to emulate those instructions.
4820 .Ip "\fB\-mcpu32\fR" 4
4821 Generate output for a \s-1CPU32\s0.  This is the default
4822 when the compiler is configured for \s-1CPU32-\s0based systems.
4823 .Sp
4824 Use this option for microcontrollers with a
4825 \s-1CPU32\s0 or \s-1CPU32\s0+ core, including the 68330, 68331, 68332, 68333, 68334,
4826 68336, 68340, 68341, 68349 and 68360.
4827 .Ip "\fB\-m5200\fR" 4
4828 Generate output for a 520X ``coldfire'\*(R' family cpu.  This is the default
4829 when the compiler is configured for 520X\-based systems.
4830 .Sp
4831 Use this option for microcontroller with a 5200 core, including
4832 the \s-1MCF5202\s0, \s-1MCF5203\s0, \s-1MCF5204\s0 and \s-1MCF5202\s0.
4833 .Ip "\fB\-m68020-40\fR" 4
4834 Generate output for a 68040, without using any of the new instructions.
4835 This results in code which can run relatively efficiently on either a
4836 68020/68881 or a 68030 or a 68040.  The generated code does use the
4837 68881 instructions that are emulated on the 68040.
4838 .Ip "\fB\-m68020-60\fR" 4
4839 Generate output for a 68060, without using any of the new instructions.
4840 This results in code which can run relatively efficiently on either a
4841 68020/68881 or a 68030 or a 68040.  The generated code does use the
4842 68881 instructions that are emulated on the 68060.
4843 .Ip "\fB\-msoft-float\fR" 4
4844 Generate output containing library calls for floating point.
4845 \fBWarning:\fR the requisite libraries are not available for all m68k
4846 targets.  Normally the facilities of the machine's usual C compiler are
4847 used, but this can't be done directly in cross-compilation.  You must
4848 make your own arrangements to provide suitable library functions for
4849 cross-compilation.  The embedded targets \fBm68k-*\-aout\fR and
4850 \fBm68k-*\-coff\fR do provide software floating point support.
4851 .Ip "\fB\-mshort\fR" 4
4852 Consider type \f(CWint\fR to be 16 bits wide, like \f(CWshort int\fR.
4853 .Ip "\fB\-mnobitfield\fR" 4
4854 Do not use the bit-field instructions.  The \fB\-m68000\fR, \fB\-mcpu32\fR
4855 and \fB\-m5200\fR options imply \fB\-mnobitfield\fR.
4856 .Ip "\fB\-mbitfield\fR" 4
4857 Do use the bit-field instructions.  The \fB\-m68020\fR option implies
4858 \fB\-mbitfield\fR.  This is the default if you use a configuration
4859 designed for a 68020.
4860 .Ip "\fB\-mrtd\fR" 4
4861 Use a different function-calling convention, in which functions
4862 that take a fixed number of arguments return with the \f(CWrtd\fR
4863 instruction, which pops their arguments while returning.  This
4864 saves one instruction in the caller since there is no need to pop
4865 the arguments there.
4866 .Sp
4867 This calling convention is incompatible with the one normally
4868 used on Unix, so you cannot use it if you need to call libraries
4869 compiled with the Unix compiler.
4870 .Sp
4871 Also, you must provide function prototypes for all functions that
4872 take variable numbers of arguments (including \f(CWprintf\fR);
4873 otherwise incorrect code will be generated for calls to those
4874 functions.
4875 .Sp
4876 In addition, seriously incorrect code will result if you call a
4877 function with too many arguments.  (Normally, extra arguments are
4878 harmlessly ignored.)
4879 .Sp
4880 The \f(CWrtd\fR instruction is supported by the 68010, 68020, 68030,
4881 68040, 68060 and \s-1CPU32\s0 processors, but not by the 68000 or 5200.
4882 .Ip "\fB\-malign-int\fR" 4
4883 .Ip "\fB\-mno-align-int\fR" 4
4884 Control whether \s-1GCC\s0 aligns \f(CWint\fR, \f(CWlong\fR, \f(CWlong long\fR,
4885 \f(CWfloat\fR, \f(CWdouble\fR, and \f(CWlong double\fR variables on a 32-bit
4886 boundary (\fB\-malign-int\fR) or a 16-bit boundary (\fB\-mno-align-int\fR).
4887 Aligning variables on 32-bit boundaries produces code that runs somewhat
4888 faster on processors with 32-bit busses at the expense of more memory.
4889 .Sp
4890 \fBWarning:\fR if you use the \fB\-malign-int\fR switch, \s-1GCC\s0 will
4891 align structures containing the above types  differently than
4892 most published application binary interface specifications for the m68k.
4893 .Ip "\fB\-mpcrel\fR" 4
4894 Use the pc-relative addressing mode of the 68000 directly, instead of
4895 using a global offset table.  At present, this option implies \fB\-fpic\fR,
4896 allowing at most a 16-bit offset for pc-relative addressing.  \fB\-fPIC\fR is
4897 not presently supported with \fB\-mpcrel\fR, though this could be supported for
4898 68020 and higher processors.
4899 .Ip "\fB\-mno-strict-align\fR" 4
4900 .Ip "\fB\-mstrict-align\fR" 4
4901 Do not (do) assume that unaligned memory references will be handled by
4902 the system.
4903 .Ip "\fB\-msep-data\fR" 4
4904 Generate code that allows the data segment to be located in a different
4905 area of memory from the text segment.  This allows for execute in place in
4906 an environment without virtual memory management.  This option implies \-fPIC.
4907 .Ip "\fB\-mno-sep-data\fR" 4
4908 Generate code that assumes that the data segment follows the text segment.
4909 This is the default.
4910 .Ip "\fB\-mid-shared-library\fR" 4
4911 Generate code that supports shared libraries via the library \s-1ID\s0 method.
4912 This allows for execute in place and shared libraries in an environment
4913 without virtual memory management.  This option implies \-fPIC.
4914 .Ip "\fB\-mno-id-shared-library\fR" 4
4915 Generate code that doesn't assume \s-1ID\s0 based shared libraries are being used.
4916 This is the default.
4917 .Ip "\fB\-mshared-library-id=n\fR" 4
4918 Specified the identification number of the \s-1ID\s0 based shared library being
4919 compiled.  Specifying a value of 0 will generate more compact code, specifying
4920 other values will force the allocation of that number to the current
4921 library but is no more space or time efficient than omitting this option.
4922 These are the \fB\-m\fR options defined for the 68hc11 and 68hc12
4923 microcontrollers.  The default values for these options depends on
4924 which style of microcontroller was selected when the compiler was configured;
4925 the defaults for the most common choices are given below.
4926 .Ip "\fB\-m6811\fR" 4
4927 .Ip "\fB\-m68hc11\fR" 4
4928 Generate output for a 68HC11.  This is the default
4929 when the compiler is configured for 68HC11-based systems.
4930 .Ip "\fB\-m6812\fR" 4
4931 .Ip "\fB\-m68hc12\fR" 4
4932 Generate output for a 68HC12.  This is the default
4933 when the compiler is configured for 68HC12-based systems.
4934 .Ip "\fB\-m68S12\fR" 4
4935 .Ip "\fB\-m68hcs12\fR" 4
4936 Generate output for a 68HCS12.
4937 .Ip "\fB\-mauto-incdec\fR" 4
4938 Enable the use of 68HC12 pre and post auto-increment and auto-decrement
4939 addressing modes.
4940 .Ip "\fB\-minmax\fR" 4
4941 .Ip "\fB\-nominmax\fR" 4
4942 Enable the use of 68HC12 min and max instructions.
4943 .Ip "\fB\-mlong-calls\fR" 4
4944 .Ip "\fB\-mno-long-calls\fR" 4
4945 Treat all calls as being far away (near).  If calls are assumed to be
4946 far away, the compiler will use the \f(CWcall\fR instruction to
4947 call a function and the \f(CWrtc\fR instruction for returning.
4948 .Ip "\fB\-mshort\fR" 4
4949 Consider type \f(CWint\fR to be 16 bits wide, like \f(CWshort int\fR.
4950 .Ip "\fB\-msoft-reg-count=\fR\fIcount\fR" 4
4951 Specify the number of pseudo-soft registers which are used for the
4952 code generation.  The maximum number is 32.  Using more pseudo-soft
4953 register may or may not result in better code depending on the program.
4954 The default is 4 for 68HC11 and 2 for 68HC12.
4955 These \fB\-m\fR options are defined for the \s-1VAX\s0:
4956 .Ip "\fB\-munix\fR" 4
4957 Do not output certain jump instructions (\f(CWaobleq\fR and so on)
4958 that the Unix assembler for the \s-1VAX\s0 cannot handle across long
4959 ranges.
4960 .Ip "\fB\-mgnu\fR" 4
4961 Do output those jump instructions, on the assumption that you
4962 will assemble with the \s-1GNU\s0 assembler.
4963 .Ip "\fB\-mg\fR" 4
4964 Output code for g-format floating point numbers instead of d-format.
4965 These \fB\-m\fR options are supported on the \s-1SPARC\s0:
4966 .Ip "\fB\-mno-app-regs\fR" 4
4967 .Ip "\fB\-mapp-regs\fR" 4
4968 Specify \fB\-mapp-regs\fR to generate output using the global registers
4969 2 through 4, which the \s-1SPARC\s0 \s-1SVR4\s0 \s-1ABI\s0 reserves for applications.  This
4970 is the default.
4971 .Sp
4972 To be fully \s-1SVR4\s0 \s-1ABI\s0 compliant at the cost of some performance loss,
4973 specify \fB\-mno-app-regs\fR.  You should compile libraries and system
4974 software with this option.
4975 .Ip "\fB\-mfpu\fR" 4
4976 .Ip "\fB\-mhard-float\fR" 4
4977 Generate output containing floating point instructions.  This is the
4978 default.
4979 .Ip "\fB\-mno-fpu\fR" 4
4980 .Ip "\fB\-msoft-float\fR" 4
4981 Generate output containing library calls for floating point.
4982 \fBWarning:\fR the requisite libraries are not available for all \s-1SPARC\s0
4983 targets.  Normally the facilities of the machine's usual C compiler are
4984 used, but this cannot be done directly in cross-compilation.  You must make
4985 your own arrangements to provide suitable library functions for
4986 cross-compilation.  The embedded targets \fBsparc-*\-aout\fR and
4987 \fBsparclite-*\-*\fR do provide software floating point support.
4988 .Sp
4989 \fB\-msoft-float\fR changes the calling convention in the output file;
4990 therefore, it is only useful if you compile \fIall\fR of a program with
4991 this option.  In particular, you need to compile \fIlibgcc.a\fR, the
4992 library that comes with \s-1GCC\s0, with \fB\-msoft-float\fR in order for
4993 this to work.
4994 .Ip "\fB\-mhard-quad-float\fR" 4
4995 Generate output containing quad-word (long double) floating point
4996 instructions.
4997 .Ip "\fB\-msoft-quad-float\fR" 4
4998 Generate output containing library calls for quad-word (long double)
4999 floating point instructions.  The functions called are those specified
5000 in the \s-1SPARC\s0 \s-1ABI\s0.  This is the default.
5001 .Sp
5002 As of this writing, there are no \s-1SPARC\s0 implementations that have hardware
5003 support for the quad-word floating point instructions.  They all invoke
5004 a trap handler for one of these instructions, and then the trap handler
5005 emulates the effect of the instruction.  Because of the trap handler overhead,
5006 this is much slower than calling the \s-1ABI\s0 library routines.  Thus the
5007 \fB\-msoft-quad-float\fR option is the default.
5008 .Ip "\fB\-mno-flat\fR" 4
5009 .Ip "\fB\-mflat\fR" 4
5010 With \fB\-mflat\fR, the compiler does not generate save/restore instructions
5011 and will use a ``flat'\*(R' or single register window calling convention.
5012 This model uses \f(CW%i7\fR as the frame pointer and is compatible with the normal
5013 register window model.  Code from either may be intermixed.
5014 The local registers and the input registers (0\*(--5) are still treated as
5015 ``call saved'\*(R' registers and will be saved on the stack as necessary.
5016 .Sp
5017 With \fB\-mno-flat\fR (the default), the compiler emits save/restore
5018 instructions (except for leaf functions) and is the normal mode of operation.
5019 .Sp
5020 These options are deprecated and will be deleted in a future \s-1GCC\s0 release.
5021 .Ip "\fB\-mno-unaligned-doubles\fR" 4
5022 .Ip "\fB\-munaligned-doubles\fR" 4
5023 Assume that doubles have 8 byte alignment.  This is the default.
5024 .Sp
5025 With \fB\-munaligned-doubles\fR, \s-1GCC\s0 assumes that doubles have 8 byte
5026 alignment only if they are contained in another type, or if they have an
5027 absolute address.  Otherwise, it assumes they have 4 byte alignment.
5028 Specifying this option avoids some rare compatibility problems with code
5029 generated by other compilers.  It is not the default because it results
5030 in a performance loss, especially for floating point code.
5031 .Ip "\fB\-mno-faster-structs\fR" 4
5032 .Ip "\fB\-mfaster-structs\fR" 4
5033 With \fB\-mfaster-structs\fR, the compiler assumes that structures
5034 should have 8 byte alignment.  This enables the use of pairs of
5035 \f(CWldd\fR and \f(CWstd\fR instructions for copies in structure
5036 assignment, in place of twice as many \f(CWld\fR and \f(CWst\fR pairs.
5037 However, the use of this changed alignment directly violates the \s-1SPARC\s0
5038 \s-1ABI\s0.  Thus, it's intended only for use on targets where the developer
5039 acknowledges that their resulting code will not be directly in line with
5040 the rules of the \s-1ABI\s0.
5041 .Ip "\fB\-mimpure-text\fR" 4
5042 \fB\-mimpure-text\fR, used in addition to \fB\-shared\fR, tells
5043 the compiler to not pass \fB\-z text\fR to the linker when linking a
5044 shared object.  Using this option, you can link position-dependent
5045 code into a shared object.
5046 .Sp
5047 \fB\-mimpure-text\fR suppresses the ``relocations remain against
5048 allocatable but non-writable sections'\*(R' linker error message.
5049 However, the necessary relocations will trigger copy-on-write, and the
5050 shared object is not actually shared across processes.  Instead of
5051 using \fB\-mimpure-text\fR, you should compile all source code with
5052 \fB\-fpic\fR or \fB\-fPIC\fR.
5053 .Sp
5054 This option is only available on SunOS and Solaris.
5055 .Ip "\fB\-mv8\fR" 4
5056 .Ip "\fB\-msparclite\fR" 4
5057 These two options select variations on the \s-1SPARC\s0 architecture.
5058 These options are deprecated and will be deleted in a future \s-1GCC\s0 release.
5059 They have been replaced with \fB\-mcpu=xxx\fR.
5060 .Ip "\fB\-mcypress\fR" 4
5061 .Ip "\fB\-msupersparc\fR" 4
5062 .Ip "\fB\-mf930\fR" 4
5063 .Ip "\fB\-mf934\fR" 4
5064 These four options select the processor for which the code is optimized.
5065 These options are deprecated and will be deleted in a future \s-1GCC\s0 release.
5066 They have been replaced with \fB\-mcpu=xxx\fR.
5067 .Ip "\fB\-mcpu=\fR\fIcpu_type\fR" 4
5068 Set the instruction set, register set, and instruction scheduling parameters
5069 for machine type \fIcpu_type\fR.  Supported values for \fIcpu_type\fR are
5070 \fBv7\fR, \fBcypress\fR, \fBv8\fR, \fBsupersparc\fR, \fBsparclite\fR,
5071 \fBf930\fR, \fBf934\fR, \fBhypersparc\fR, \fBsparclite86x\fR,
5072 \fBsparclet\fR, \fBtsc701\fR, \fBv9\fR, \fBultrasparc\fR, and
5073 \fBultrasparc3\fR.
5074 .Sp
5075 Default instruction scheduling parameters are used for values that select
5076 an architecture and not an implementation.  These are \fBv7\fR, \fBv8\fR,
5077 \fBsparclite\fR, \fBsparclet\fR, \fBv9\fR.
5078 .Sp
5079 Here is a list of each supported architecture and their supported
5080 implementations.
5081 .Sp
5082 .Vb 6
5083 \&        
5084 \&            v7:             cypress
5085 \&            v8:             supersparc, hypersparc
5086 \&            sparclite:      f930, f934, sparclite86x
5087 \&            sparclet:       tsc701
5088 \&            v9:             ultrasparc, ultrasparc3
5089 .Ve
5090 By default (unless configured otherwise), \s-1GCC\s0 generates code for the V7
5091 variant of the \s-1SPARC\s0 architecture.  With \fB\-mcpu=cypress\fR, the compiler
5092 additionally optimizes it for the Cypress \s-1CY7C602\s0 chip, as used in the
5093 SPARCStation/SPARCServer 3xx series.  This is also appropriate for the older
5094 SPARCStation 1, 2, \s-1IPX\s0 etc.
5095 .Sp
5096 With \fB\-mcpu=v8\fR, \s-1GCC\s0 generates code for the V8 variant of the \s-1SPARC\s0
5097 architecture.  The only difference from V7 code is that the compiler emits
5098 the integer multiply and integer divide instructions which exist in \s-1SPARC\s0\-V8
5099 but not in \s-1SPARC\s0\-V7.  With \fB\-mcpu=supersparc\fR, the compiler additionally
5100 optimizes it for the SuperSPARC chip, as used in the SPARCStation 10, 1000 and
5101 2000 series.
5102 .Sp
5103 With \fB\-mcpu=sparclite\fR, \s-1GCC\s0 generates code for the SPARClite variant of
5104 the \s-1SPARC\s0 architecture.  This adds the integer multiply, integer divide step
5105 and scan (\f(CWffs\fR) instructions which exist in SPARClite but not in \s-1SPARC\s0\-V7.
5106 With \fB\-mcpu=f930\fR, the compiler additionally optimizes it for the
5107 Fujitsu \s-1MB86930\s0 chip, which is the original SPARClite, with no \s-1FPU\s0.  With
5108 \fB\-mcpu=f934\fR, the compiler additionally optimizes it for the Fujitsu
5109 \s-1MB86934\s0 chip, which is the more recent SPARClite with \s-1FPU\s0.
5110 .Sp
5111 With \fB\-mcpu=sparclet\fR, \s-1GCC\s0 generates code for the SPARClet variant of
5112 the \s-1SPARC\s0 architecture.  This adds the integer multiply, multiply/accumulate,
5113 integer divide step and scan (\f(CWffs\fR) instructions which exist in SPARClet
5114 but not in \s-1SPARC\s0\-V7.  With \fB\-mcpu=tsc701\fR, the compiler additionally
5115 optimizes it for the \s-1TEMIC\s0 SPARClet chip.
5116 .Sp
5117 With \fB\-mcpu=v9\fR, \s-1GCC\s0 generates code for the V9 variant of the \s-1SPARC\s0
5118 architecture.  This adds 64-bit integer and floating-point move instructions,
5119 3 additional floating-point condition code registers and conditional move
5120 instructions.  With \fB\-mcpu=ultrasparc\fR, the compiler additionally
5121 optimizes it for the Sun UltraSPARC I/\s-1II\s0 chips.  With
5122 \fB\-mcpu=ultrasparc3\fR, the compiler additionally optimizes it for the
5123 Sun UltraSPARC \s-1III\s0 chip.
5124 .Ip "\fB\-mtune=\fR\fIcpu_type\fR" 4
5125 Set the instruction scheduling parameters for machine type
5126 \fIcpu_type\fR, but do not set the instruction set or register set that the
5127 option \fB\-mcpu=\fR\fIcpu_type\fR would.
5128 .Sp
5129 The same values for \fB\-mcpu=\fR\fIcpu_type\fR can be used for
5130 \fB\-mtune=\fR\fIcpu_type\fR, but the only useful values are those
5131 that select a particular cpu implementation.  Those are \fBcypress\fR,
5132 \fBsupersparc\fR, \fBhypersparc\fR, \fBf930\fR, \fBf934\fR,
5133 \fBsparclite86x\fR, \fBtsc701\fR, \fBultrasparc\fR, and
5134 \fBultrasparc3\fR.
5135 .Ip "\fB\-mv8plus\fR" 4
5136 .Ip "\fB\-mno-v8plus\fR" 4
5137 With \fB\-mv8plus\fR, \s-1GCC\s0 generates code for the \s-1SPARC\s0\-V8+ \s-1ABI\s0.  The
5138 difference from the V8 \s-1ABI\s0 is that the global and out registers are
5139 considered 64-bit wide.  This is enabled by default on Solaris in 32-bit
5140 mode for all \s-1SPARC\s0\-V9 processors.
5141 .Ip "\fB\-mvis\fR" 4
5142 .Ip "\fB\-mno-vis\fR" 4
5143 With \fB\-mvis\fR, \s-1GCC\s0 generates code that takes advantage of the UltraSPARC
5144 Visual Instruction Set extensions.  The default is \fB\-mno-vis\fR.
5145 .PP
5146 These \fB\-m\fR options are supported in addition to the above
5147 on \s-1SPARC\s0\-V9 processors in 64-bit environments:
5148 .Ip "\fB\-mlittle-endian\fR" 4
5149 Generate code for a processor running in little-endian mode. It is only
5150 available for a few configurations and most notably not on Solaris.
5151 .Ip "\fB\-m32\fR" 4
5152 .Ip "\fB\-m64\fR" 4
5153 Generate code for a 32-bit or 64-bit environment.
5154 The 32-bit environment sets int, long and pointer to 32 bits.
5155 The 64-bit environment sets int to 32 bits and long and pointer
5156 to 64 bits.
5157 .Ip "\fB\-mcmodel=medlow\fR" 4
5158 Generate code for the Medium/Low code model: 64-bit addresses, programs
5159 must be linked in the low 32 bits of memory.  Programs can be statically
5160 or dynamically linked.
5161 .Ip "\fB\-mcmodel=medmid\fR" 4
5162 Generate code for the Medium/Middle code model: 64-bit addresses, programs
5163 must be linked in the low 44 bits of memory, the text and data segments must
5164 be less than 2GB in size and the data segment must be located within 2GB of
5165 the text segment.
5166 .Ip "\fB\-mcmodel=medany\fR" 4
5167 Generate code for the Medium/Anywhere code model: 64-bit addresses, programs
5168 may be linked anywhere in memory, the text and data segments must be less
5169 than 2GB in size and the data segment must be located within 2GB of the
5170 text segment.
5171 .Ip "\fB\-mcmodel=embmedany\fR" 4
5172 Generate code for the Medium/Anywhere code model for embedded systems:
5173 64-bit addresses, the text and data segments must be less than 2GB in
5174 size, both starting anywhere in memory (determined at link time).  The
5175 global register \f(CW%g4\fR points to the base of the data segment.  Programs
5176 are statically linked and \s-1PIC\s0 is not supported.
5177 .Ip "\fB\-mstack-bias\fR" 4
5178 .Ip "\fB\-mno-stack-bias\fR" 4
5179 With \fB\-mstack-bias\fR, \s-1GCC\s0 assumes that the stack pointer, and
5180 frame pointer if present, are offset by \-2047 which must be added back
5181 when making stack frame references.  This is the default in 64-bit mode.
5182 Otherwise, assume no such offset is present.
5183 These \fB\-m\fR options are defined for Advanced \s-1RISC\s0 Machines (\s-1ARM\s0)
5184 architectures:
5185 .Ip "\fB\-mapcs-frame\fR" 4
5186 Generate a stack frame that is compliant with the \s-1ARM\s0 Procedure Call
5187 Standard for all functions, even if this is not strictly necessary for
5188 correct execution of the code.  Specifying \fB\-fomit-frame-pointer\fR
5189 with this option will cause the stack frames not to be generated for
5190 leaf functions.  The default is \fB\-mno-apcs-frame\fR.
5191 .Ip "\fB\-mapcs\fR" 4
5192 This is a synonym for \fB\-mapcs-frame\fR.
5193 .Ip "\fB\-mapcs-26\fR" 4
5194 Generate code for a processor running with a 26-bit program counter,
5195 and conforming to the function calling standards for the \s-1APCS\s0 26-bit
5196 option.
5197 .Sp
5198 This option is deprecated.  Future releases of the \s-1GCC\s0 will only support
5199 generating code that runs in apcs-32 mode.
5200 .Ip "\fB\-mapcs-32\fR" 4
5201 Generate code for a processor running with a 32-bit program counter,
5202 and conforming to the function calling standards for the \s-1APCS\s0 32-bit
5203 option.
5204 .Sp
5205 This flag is deprecated.  Future releases of \s-1GCC\s0 will make this flag
5206 unconditional.
5207 .Ip "\fB\-mthumb-interwork\fR" 4
5208 Generate code which supports calling between the \s-1ARM\s0 and Thumb
5209 instruction sets.  Without this option the two instruction sets cannot
5210 be reliably used inside one program.  The default is
5211 \fB\-mno-thumb-interwork\fR, since slightly larger code is generated
5212 when \fB\-mthumb-interwork\fR is specified.
5213 .Ip "\fB\-mno-sched-prolog\fR" 4
5214 Prevent the reordering of instructions in the function prolog, or the
5215 merging of those instruction with the instructions in the function's
5216 body.  This means that all functions will start with a recognizable set
5217 of instructions (or in fact one of a choice from a small set of
5218 different function prologues), and this information can be used to
5219 locate the start if functions inside an executable piece of code.  The
5220 default is \fB\-msched-prolog\fR.
5221 .Ip "\fB\-mhard-float\fR" 4
5222 Generate output containing floating point instructions.  This is the
5223 default.
5224 .Ip "\fB\-msoft-float\fR" 4
5225 Generate output containing library calls for floating point.
5226 \fBWarning:\fR the requisite libraries are not available for all \s-1ARM\s0
5227 targets.  Normally the facilities of the machine's usual C compiler are
5228 used, but this cannot be done directly in cross-compilation.  You must make
5229 your own arrangements to provide suitable library functions for
5230 cross-compilation.
5231 .Sp
5232 \fB\-msoft-float\fR changes the calling convention in the output file;
5233 therefore, it is only useful if you compile \fIall\fR of a program with
5234 this option.  In particular, you need to compile \fIlibgcc.a\fR, the
5235 library that comes with \s-1GCC\s0, with \fB\-msoft-float\fR in order for
5236 this to work.
5237 .Ip "\fB\-mlittle-endian\fR" 4
5238 Generate code for a processor running in little-endian mode.  This is
5239 the default for all standard configurations.
5240 .Ip "\fB\-mbig-endian\fR" 4
5241 Generate code for a processor running in big-endian mode; the default is
5242 to compile code for a little-endian processor.
5243 .Ip "\fB\-mwords-little-endian\fR" 4
5244 This option only applies when generating code for big-endian processors.
5245 Generate code for a little-endian word order but a big-endian byte
5246 order.  That is, a byte order of the form \fB32107654\fR.  Note: this
5247 option should only be used if you require compatibility with code for
5248 big-endian \s-1ARM\s0 processors generated by versions of the compiler prior to
5249 2.8.
5250 .Ip "\fB\-malignment-traps\fR" 4
5251 Generate code that will not trap if the \s-1MMU\s0 has alignment traps enabled.
5252 On \s-1ARM\s0 architectures prior to ARMv4, there were no instructions to
5253 access half-word objects stored in memory.  However, when reading from
5254 memory a feature of the \s-1ARM\s0 architecture allows a word load to be used,
5255 even if the address is unaligned, and the processor core will rotate the
5256 data as it is being loaded.  This option tells the compiler that such
5257 misaligned accesses will cause a \s-1MMU\s0 trap and that it should instead
5258 synthesize the access as a series of byte accesses.  The compiler can
5259 still use word accesses to load half-word data if it knows that the
5260 address is aligned to a word boundary.
5261 .Sp
5262 This option has no effect when compiling for \s-1ARM\s0 architecture 4 or later,
5263 since these processors have instructions to directly access half-word
5264 objects in memory.
5265 .Ip "\fB\-mno-alignment-traps\fR" 4
5266 Generate code that assumes that the \s-1MMU\s0 will not trap unaligned
5267 accesses.  This produces better code when the target instruction set
5268 does not have half-word memory operations (i.e. implementations prior to
5269 ARMv4).
5270 .Sp
5271 Note that you cannot use this option to access unaligned word objects,
5272 since the processor will only fetch one 32-bit aligned object from
5273 memory.
5274 .Sp
5275 The default setting is \fB\-malignment-traps\fR, since this produces
5276 code that will also run on processors implementing \s-1ARM\s0 architecture
5277 version 6 or later.
5278 .Sp
5279 This option is deprecated and will be removed in the next release of \s-1GCC\s0.
5280 .Ip "\fB\-mcpu=\fR\fIname\fR" 4
5281 This specifies the name of the target \s-1ARM\s0 processor.  \s-1GCC\s0 uses this name
5282 to determine what kind of instructions it can emit when generating
5283 assembly code.  Permissible names are: \fBarm2\fR, \fBarm250\fR,
5284 \fBarm3\fR, \fBarm6\fR, \fBarm60\fR, \fBarm600\fR, \fBarm610\fR,
5285 \fBarm620\fR, \fBarm7\fR, \fBarm7m\fR, \fBarm7d\fR, \fBarm7dm\fR,
5286 \fBarm7di\fR, \fBarm7dmi\fR, \fBarm70\fR, \fBarm700\fR,
5287 \fBarm700i\fR, \fBarm710\fR, \fBarm710c\fR, \fBarm7100\fR,
5288 \fBarm7500\fR, \fBarm7500fe\fR, \fBarm7tdmi\fR, \fBarm8\fR,
5289 \fBstrongarm\fR, \fBstrongarm110\fR, \fBstrongarm1100\fR,
5290 \fBarm8\fR, \fBarm810\fR, \fBarm9\fR, \fBarm9e\fR, \fBarm920\fR,
5291 \fBarm920t\fR, \fBarm926ejs\fR, \fBarm940t\fR, \fBarm9tdmi\fR,
5292 \fBarm10tdmi\fR, \fBarm1020t\fR, \fBarm1026ejs\fR,
5293 \fBarm1136js\fR, \fBarm1136jfs\fR ,\fBxscale\fR, \fBiwmmxt\fR,
5294 \fBep9312\fR.
5295 .Ip "\fB\-mtune=\fR\fIname\fR" 4
5296 This option is very similar to the \fB\-mcpu=\fR option, except that
5297 instead of specifying the actual target processor type, and hence
5298 restricting which instructions can be used, it specifies that \s-1GCC\s0 should
5299 tune the performance of the code as if the target were of the type
5300 specified in this option, but still choosing the instructions that it
5301 will generate based on the cpu specified by a \fB\-mcpu=\fR option.
5302 For some \s-1ARM\s0 implementations better performance can be obtained by using
5303 this option.
5304 .Ip "\fB\-march=\fR\fIname\fR" 4
5305 This specifies the name of the target \s-1ARM\s0 architecture.  \s-1GCC\s0 uses this
5306 name to determine what kind of instructions it can emit when generating
5307 assembly code.  This option can be used in conjunction with or instead
5308 of the \fB\-mcpu=\fR option.  Permissible names are: \fBarmv2\fR,
5309 \fBarmv2a\fR, \fBarmv3\fR, \fBarmv3m\fR, \fBarmv4\fR, \fBarmv4t\fR,
5310 \fBarmv5\fR, \fBarmv5t\fR, \fBarmv5te\fR, \fBarmv6j\fR,
5311 \fBiwmmxt\fR, \fBep9312\fR.
5312 .Ip "\fB\-mfpe=\fR\fInumber\fR" 4
5313 .Ip "\fB\-mfp=\fR\fInumber\fR" 4
5314 This specifies the version of the floating point emulation available on
5315 the target.  Permissible values are 2 and 3.  \fB\-mfp=\fR is a synonym
5316 for \fB\-mfpe=\fR, for compatibility with older versions of \s-1GCC\s0.
5317 .Ip "\fB\-mstructure-size-boundary=\fR\fIn\fR" 4
5318 The size of all structures and unions will be rounded up to a multiple
5319 of the number of bits set by this option.  Permissible values are 8 and
5320 32.  The default value varies for different toolchains.  For the \s-1COFF\s0
5321 targeted toolchain the default value is 8.  Specifying the larger number
5322 can produce faster, more efficient code, but can also increase the size
5323 of the program.  The two values are potentially incompatible.  Code
5324 compiled with one value cannot necessarily expect to work with code or
5325 libraries compiled with the other value, if they exchange information
5326 using structures or unions.
5327 .Ip "\fB\-mabort-on-noreturn\fR" 4
5328 Generate a call to the function \f(CWabort\fR at the end of a
5329 \f(CWnoreturn\fR function.  It will be executed if the function tries to
5330 return.
5331 .Ip "\fB\-mlong-calls\fR" 4
5332 .Ip "\fB\-mno-long-calls\fR" 4
5333 Tells the compiler to perform function calls by first loading the
5334 address of the function into a register and then performing a subroutine
5335 call on this register.  This switch is needed if the target function
5336 will lie outside of the 64 megabyte addressing range of the offset based
5337 version of subroutine call instruction.
5338 .Sp
5339 Even if this switch is enabled, not all function calls will be turned
5340 into long calls.  The heuristic is that static functions, functions
5341 which have the \fBshort-call\fR attribute, functions that are inside
5342 the scope of a \fB#pragma no_long_calls\fR directive and functions whose
5343 definitions have already been compiled within the current compilation
5344 unit, will not be turned into long calls.  The exception to this rule is
5345 that weak function definitions, functions with the \fBlong-call\fR
5346 attribute or the \fBsection\fR attribute, and functions that are within
5347 the scope of a \fB#pragma long_calls\fR directive, will always be
5348 turned into long calls.
5349 .Sp
5350 This feature is not enabled by default.  Specifying
5351 \fB\-mno-long-calls\fR will restore the default behavior, as will
5352 placing the function calls within the scope of a \fB#pragma
5353 long_calls_off\fR directive.  Note these switches have no effect on how
5354 the compiler generates code to handle function calls via function
5355 pointers.
5356 .Ip "\fB\-mnop-fun-dllimport\fR" 4
5357 Disable support for the \f(CWdllimport\fR attribute.
5358 .Ip "\fB\-msingle-pic-base\fR" 4
5359 Treat the register used for \s-1PIC\s0 addressing as read-only, rather than
5360 loading it in the prologue for each function.  The run-time system is
5361 responsible for initializing this register with an appropriate value
5362 before execution begins.
5363 .Ip "\fB\-mpic-register=\fR\fIreg\fR" 4
5364 Specify the register to be used for \s-1PIC\s0 addressing.  The default is R10
5365 unless stack-checking is enabled, when R9 is used.
5366 .Ip "\fB\-mcirrus-fix-invalid-insns\fR" 4
5367 Insert NOPs into the instruction stream to in order to work around
5368 problems with invalid Maverick instruction combinations.  This option
5369 is only valid if the \fB\-mcpu=ep9312\fR option has been used to
5370 enable generation of instructions for the Cirrus Maverick floating
5371 point co-processor.  This option is not enabled by default, since the
5372 problem is only present in older Maverick implementations.  The default
5373 can be re-enabled by use of the \fB\-mno-cirrus-fix-invalid-insns\fR
5374 switch.
5375 .Ip "\fB\-mpoke-function-name\fR" 4
5376 Write the name of each function into the text section, directly
5377 preceding the function prologue.  The generated code is similar to this:
5378 .Sp
5379 .Vb 10
5380 \&        
5381 \&             t0
5382 \&                 .ascii "arm_poke_function_name", 0
5383 \&                 .align
5384 \&             t1
5385 \&                 .word 0xff000000 + (t1 - t0)
5386 \&             arm_poke_function_name
5387 \&                 mov     ip, sp
5388 \&                 stmfd   sp!, {fp, ip, lr, pc}
5389 \&                 sub     fp, ip, #4
5390 .Ve
5391 When performing a stack backtrace, code can inspect the value of
5392 \f(CWpc\fR stored at \f(CWfp + 0\fR.  If the trace function then looks at
5393 location \f(CWpc - 12\fR and the top 8 bits are set, then we know that
5394 there is a function name embedded immediately preceding this location
5395 and has length \f(CW((pc[-3]) & 0xff000000)\fR.
5396 .Ip "\fB\-mthumb\fR" 4
5397 Generate code for the 16-bit Thumb instruction set.  The default is to
5398 use the 32-bit \s-1ARM\s0 instruction set.
5399 .Ip "\fB\-mtpcs-frame\fR" 4
5400 Generate a stack frame that is compliant with the Thumb Procedure Call
5401 Standard for all non-leaf functions.  (A leaf function is one that does
5402 not call any other functions.)  The default is \fB\-mno-tpcs-frame\fR.
5403 .Ip "\fB\-mtpcs-leaf-frame\fR" 4
5404 Generate a stack frame that is compliant with the Thumb Procedure Call
5405 Standard for all leaf functions.  (A leaf function is one that does
5406 not call any other functions.)  The default is \fB\-mno-apcs-leaf-frame\fR.
5407 .Ip "\fB\-mcallee-super-interworking\fR" 4
5408 Gives all externally visible functions in the file being compiled an \s-1ARM\s0
5409 instruction set header which switches to Thumb mode before executing the
5410 rest of the function.  This allows these functions to be called from
5411 non-interworking code.
5412 .Ip "\fB\-mcaller-super-interworking\fR" 4
5413 Allows calls via function pointers (including virtual functions) to
5414 execute correctly regardless of whether the target code has been
5415 compiled for interworking or not.  There is a small overhead in the cost
5416 of executing a function pointer if this option is enabled.
5417 These \fB\-m\fR options are defined for Matsushita \s-1MN10300\s0 architectures:
5418 .Ip "\fB\-mmult-bug\fR" 4
5419 Generate code to avoid bugs in the multiply instructions for the \s-1MN10300\s0
5420 processors.  This is the default.
5421 .Ip "\fB\-mno-mult-bug\fR" 4
5422 Do not generate code to avoid bugs in the multiply instructions for the
5423 \s-1MN10300\s0 processors.
5424 .Ip "\fB\-mam33\fR" 4
5425 Generate code which uses features specific to the \s-1AM33\s0 processor.
5426 .Ip "\fB\-mno-am33\fR" 4
5427 Do not generate code which uses features specific to the \s-1AM33\s0 processor.  This
5428 is the default.
5429 .Ip "\fB\-mno-crt0\fR" 4
5430 Do not link in the C run-time initialization object file.
5431 .Ip "\fB\-mrelax\fR" 4
5432 Indicate to the linker that it should perform a relaxation optimization pass
5433 to shorten branches, calls and absolute memory addresses.  This option only
5434 has an effect when used on the command line for the final link step.
5435 .Sp
5436 This option makes symbolic debugging impossible.
5437 These \fB\-m\fR options are defined for Renesas M32R/D architectures:
5438 .Ip "\fB\-m32r2\fR" 4
5439 Generate code for the M32R/2.
5440 .Ip "\fB\-m32rx\fR" 4
5441 Generate code for the M32R/X.
5442 .Ip "\fB\-m32r\fR" 4
5443 Generate code for the M32R.  This is the default.
5444 .Ip "\fB\-mmodel=small\fR" 4
5445 Assume all objects live in the lower 16MB of memory (so that their addresses
5446 can be loaded with the \f(CWld24\fR instruction), and assume all subroutines
5447 are reachable with the \f(CWbl\fR instruction.
5448 This is the default.
5449 .Sp
5450 The addressability of a particular object can be set with the
5451 \f(CWmodel\fR attribute.
5452 .Ip "\fB\-mmodel=medium\fR" 4
5453 Assume objects may be anywhere in the 32-bit address space (the compiler
5454 will generate \f(CWseth/add3\fR instructions to load their addresses), and
5455 assume all subroutines are reachable with the \f(CWbl\fR instruction.
5456 .Ip "\fB\-mmodel=large\fR" 4
5457 Assume objects may be anywhere in the 32-bit address space (the compiler
5458 will generate \f(CWseth/add3\fR instructions to load their addresses), and
5459 assume subroutines may not be reachable with the \f(CWbl\fR instruction
5460 (the compiler will generate the much slower \f(CWseth/add3/jl\fR
5461 instruction sequence).
5462 .Ip "\fB\-msdata=none\fR" 4
5463 Disable use of the small data area.  Variables will be put into
5464 one of \fB.data\fR, \fBbss\fR, or \fB.rodata\fR (unless the
5465 \f(CWsection\fR attribute has been specified).
5466 This is the default.
5467 .Sp
5468 The small data area consists of sections \fB.sdata\fR and \fB.sbss\fR.
5469 Objects may be explicitly put in the small data area with the
5470 \f(CWsection\fR attribute using one of these sections.
5471 .Ip "\fB\-msdata=sdata\fR" 4
5472 Put small global and static data in the small data area, but do not
5473 generate special code to reference them.
5474 .Ip "\fB\-msdata=use\fR" 4
5475 Put small global and static data in the small data area, and generate
5476 special instructions to reference them.
5477 .Ip "\fB\-G\fR \fInum\fR" 4
5478 Put global and static objects less than or equal to \fInum\fR bytes
5479 into the small data or bss sections instead of the normal data or bss
5480 sections.  The default value of \fInum\fR is 8.
5481 The \fB\-msdata\fR option must be set to one of \fBsdata\fR or \fBuse\fR
5482 for this option to have any effect.
5483 .Sp
5484 All modules should be compiled with the same \fB\-G\fR \fInum\fR value.
5485 Compiling with different values of \fInum\fR may or may not work; if it
5486 doesn't the linker will give an error message---incorrect code will not be
5487 generated.
5488 .Ip "\fB\-mdebug\fR" 4
5489 Makes the M32R specific code in the compiler display some statistics
5490 that might help in debugging programs.
5491 .Ip "\fB\-malign-loops\fR" 4
5492 Align all loops to a 32-byte boundary.
5493 .Ip "\fB\-mno-align-loops\fR" 4
5494 Do not enforce a 32-byte alignment for loops.  This is the default.
5495 .Ip "\fB\-missue-rate=\fR\fInumber\fR" 4
5496 Issue \fInumber\fR instructions per cycle.  \fInumber\fR can only be 1
5497 or 2.
5498 .Ip "\fB\-mbranch-cost=\fR\fInumber\fR" 4
5499 \fInumber\fR can only be 1 or 2.  If it is 1 then branches will be
5500 preferred over conditional code, if it is 2, then the opposite will
5501 apply.
5502 .Ip "\fB\-mflush-trap=\fR\fInumber\fR" 4
5503 Specifies the trap number to use to flush the cache.  The default is
5504 12.  Valid numbers are between 0 and 15 inclusive.
5505 .Ip "\fB\-mno-flush-trap\fR" 4
5506 Specifies that the cache cannot be flushed by using a trap.
5507 .Ip "\fB\-mflush-func=\fR\fIname\fR" 4
5508 Specifies the name of the operating system function to call to flush
5509 the cache.  The default is \fI_flush_cache\fR, but a function call
5510 will only be used if a trap is not available.
5511 .Ip "\fB\-mno-flush-func\fR" 4
5512 Indicates that there is no \s-1OS\s0 function for flushing the cache.
5513 These \fB\-m\fR options are defined for the \s-1IBM\s0 \s-1RS/6000\s0 and PowerPC:
5514 .Ip "\fB\-mpower\fR" 4
5515 .Ip "\fB\-mno-power\fR" 4
5516 .Ip "\fB\-mpower2\fR" 4
5517 .Ip "\fB\-mno-power2\fR" 4
5518 .Ip "\fB\-mpowerpc\fR" 4
5519 .Ip "\fB\-mno-powerpc\fR" 4
5520 .Ip "\fB\-mpowerpc-gpopt\fR" 4
5521 .Ip "\fB\-mno-powerpc-gpopt\fR" 4
5522 .Ip "\fB\-mpowerpc-gfxopt\fR" 4
5523 .Ip "\fB\-mno-powerpc-gfxopt\fR" 4
5524 .Ip "\fB\-mpowerpc64\fR" 4
5525 .Ip "\fB\-mno-powerpc64\fR" 4
5526 \s-1GCC\s0 supports two related instruction set architectures for the
5527 \s-1RS/6000\s0 and PowerPC.  The \fI\s-1POWER\s0\fR instruction set are those
5528 instructions supported by the \fBrios\fR chip set used in the original
5529 \s-1RS/6000\s0 systems and the \fIPowerPC\fR instruction set is the
5530 architecture of the Motorola MPC5xx, MPC6xx, MPC8xx microprocessors, and
5531 the \s-1IBM\s0 4xx microprocessors.
5532 .Sp
5533 Neither architecture is a subset of the other.  However there is a
5534 large common subset of instructions supported by both.  An \s-1MQ\s0
5535 register is included in processors supporting the \s-1POWER\s0 architecture.
5536 .Sp
5537 You use these options to specify which instructions are available on the
5538 processor you are using.  The default value of these options is
5539 determined when configuring \s-1GCC\s0.  Specifying the
5540 \fB\-mcpu=\fR\fIcpu_type\fR overrides the specification of these
5541 options.  We recommend you use the \fB\-mcpu=\fR\fIcpu_type\fR option
5542 rather than the options listed above.
5543 .Sp
5544 The \fB\-mpower\fR option allows \s-1GCC\s0 to generate instructions that
5545 are found only in the \s-1POWER\s0 architecture and to use the \s-1MQ\s0 register.
5546 Specifying \fB\-mpower2\fR implies \fB\-power\fR and also allows \s-1GCC\s0
5547 to generate instructions that are present in the \s-1POWER2\s0 architecture but
5548 not the original \s-1POWER\s0 architecture.
5549 .Sp
5550 The \fB\-mpowerpc\fR option allows \s-1GCC\s0 to generate instructions that
5551 are found only in the 32-bit subset of the PowerPC architecture.
5552 Specifying \fB\-mpowerpc-gpopt\fR implies \fB\-mpowerpc\fR and also allows
5553 \s-1GCC\s0 to use the optional PowerPC architecture instructions in the
5554 General Purpose group, including floating-point square root.  Specifying
5555 \fB\-mpowerpc-gfxopt\fR implies \fB\-mpowerpc\fR and also allows \s-1GCC\s0 to
5556 use the optional PowerPC architecture instructions in the Graphics
5557 group, including floating-point select.
5558 .Sp
5559 The \fB\-mpowerpc64\fR option allows \s-1GCC\s0 to generate the additional
5560 64-bit instructions that are found in the full PowerPC64 architecture
5561 and to treat GPRs as 64-bit, doubleword quantities.  \s-1GCC\s0 defaults to
5562 \fB\-mno-powerpc64\fR.
5563 .Sp
5564 If you specify both \fB\-mno-power\fR and \fB\-mno-powerpc\fR, \s-1GCC\s0
5565 will use only the instructions in the common subset of both
5566 architectures plus some special \s-1AIX\s0 common-mode calls, and will not use
5567 the \s-1MQ\s0 register.  Specifying both \fB\-mpower\fR and \fB\-mpowerpc\fR
5568 permits \s-1GCC\s0 to use any instruction from either architecture and to
5569 allow use of the \s-1MQ\s0 register; specify this for the Motorola \s-1MPC601\s0.
5570 .Ip "\fB\-mnew-mnemonics\fR" 4
5571 .Ip "\fB\-mold-mnemonics\fR" 4
5572 Select which mnemonics to use in the generated assembler code.  With
5573 \fB\-mnew-mnemonics\fR, \s-1GCC\s0 uses the assembler mnemonics defined for
5574 the PowerPC architecture.  With \fB\-mold-mnemonics\fR it uses the
5575 assembler mnemonics defined for the \s-1POWER\s0 architecture.  Instructions
5576 defined in only one architecture have only one mnemonic; \s-1GCC\s0 uses that
5577 mnemonic irrespective of which of these options is specified.
5578 .Sp
5579 \s-1GCC\s0 defaults to the mnemonics appropriate for the architecture in
5580 use.  Specifying \fB\-mcpu=\fR\fIcpu_type\fR sometimes overrides the
5581 value of these option.  Unless you are building a cross-compiler, you
5582 should normally not specify either \fB\-mnew-mnemonics\fR or
5583 \fB\-mold-mnemonics\fR, but should instead accept the default.
5584 .Ip "\fB\-mcpu=\fR\fIcpu_type\fR" 4
5585 Set architecture type, register usage, choice of mnemonics, and
5586 instruction scheduling parameters for machine type \fIcpu_type\fR.
5587 Supported values for \fIcpu_type\fR are \fB401\fR, \fB403\fR,
5588 \fB405\fR, \fB405fp\fR, \fB440\fR, \fB440fp\fR, \fB505\fR,
5589 \fB601\fR, \fB602\fR, \fB603\fR, \fB603e\fR, \fB604\fR,
5590 \fB604e\fR, \fB620\fR, \fB630\fR, \fB740\fR, \fB7400\fR,
5591 \fB7450\fR, \fB750\fR, \fB801\fR, \fB821\fR, \fB823\fR,
5592 \fB860\fR, \fB970\fR, \fBcommon\fR, \fBec603e\fR, \fBG3\fR,
5593 \fBG4\fR, \fBG5\fR, \fBpower\fR, \fBpower2\fR, \fBpower3\fR,
5594 \fBpower4\fR, \fBpower5\fR, \fBpowerpc\fR, \fBpowerpc64\fR,
5595 \fBrios\fR, \fBrios1\fR, \fBrios2\fR, \fBrsc\fR, and \fBrs64a\fR.
5596 .Sp
5597 \fB\-mcpu=common\fR selects a completely generic processor.  Code
5598 generated under this option will run on any \s-1POWER\s0 or PowerPC processor.
5599 \s-1GCC\s0 will use only the instructions in the common subset of both
5600 architectures, and will not use the \s-1MQ\s0 register.  \s-1GCC\s0 assumes a generic
5601 processor model for scheduling purposes.
5602 .Sp
5603 \fB\-mcpu=power\fR, \fB\-mcpu=power2\fR, \fB\-mcpu=powerpc\fR, and
5604 \fB\-mcpu=powerpc64\fR specify generic \s-1POWER\s0, \s-1POWER2\s0, pure 32-bit
5605 PowerPC (i.e., not \s-1MPC601\s0), and 64-bit PowerPC architecture machine
5606 types, with an appropriate, generic processor model assumed for
5607 scheduling purposes.
5608 .Sp
5609 The other options specify a specific processor.  Code generated under
5610 those options will run best on that processor, and may not run at all on
5611 others.
5612 .Sp
5613 The \fB\-mcpu\fR options automatically enable or disable the
5614 following options: \fB\-maltivec\fR, \fB\-mhard-float\fR,
5615 \fB\-mmfcrf\fR, \fB\-mmultiple\fR, \fB\-mnew-mnemonics\fR,
5616 \fB\-mpower\fR, \fB\-mpower2\fR, \fB\-mpowerpc64\fR,
5617 \fB\-mpowerpc-gpopt\fR, \fB\-mpowerpc-gfxopt\fR,
5618 \fB\-mstring\fR.  The particular options set for any particular \s-1CPU\s0
5619 will vary between compiler versions, depending on what setting seems
5620 to produce optimal code for that \s-1CPU\s0; it doesn't necessarily reflect
5621 the actual hardware's capabilities.  If you wish to set an individual
5622 option to a particular value, you may specify it after the
5623 \fB\-mcpu\fR option, like \fB\-mcpu=970 \-mno-altivec\fR.
5624 .Sp
5625 On \s-1AIX\s0, the \fB\-maltivec\fR and \fB\-mpowerpc64\fR options are
5626 not enabled or disabled by the \fB\-mcpu\fR option at present, since
5627 \s-1AIX\s0 does not have full support for these options.  You may still
5628 enable or disable them individually if you're sure it'll work in your
5629 environment.
5630 .Ip "\fB\-mtune=\fR\fIcpu_type\fR" 4
5631 Set the instruction scheduling parameters for machine type
5632 \fIcpu_type\fR, but do not set the architecture type, register usage, or
5633 choice of mnemonics, as \fB\-mcpu=\fR\fIcpu_type\fR would.  The same
5634 values for \fIcpu_type\fR are used for \fB\-mtune\fR as for
5635 \fB\-mcpu\fR.  If both are specified, the code generated will use the
5636 architecture, registers, and mnemonics set by \fB\-mcpu\fR, but the
5637 scheduling parameters set by \fB\-mtune\fR.
5638 .Ip "\fB\-maltivec\fR" 4
5639 .Ip "\fB\-mno-altivec\fR" 4
5640 These switches enable or disable the use of built-in functions that
5641 allow access to the AltiVec instruction set.  You may also need to set
5642 \fB\-mabi=altivec\fR to adjust the current \s-1ABI\s0 with AltiVec \s-1ABI\s0
5643 enhancements.
5644 .Ip "\fB\-mabi=spe\fR" 4
5645 Extend the current \s-1ABI\s0 with \s-1SPE\s0 \s-1ABI\s0 extensions.  This does not change
5646 the default \s-1ABI\s0, instead it adds the \s-1SPE\s0 \s-1ABI\s0 extensions to the current
5647 \s-1ABI\s0.
5648 .Ip "\fB\-mabi=no-spe\fR" 4
5649 Disable Booke \s-1SPE\s0 \s-1ABI\s0 extensions for the current \s-1ABI\s0.
5650 .Ip "\fB\-misel=\fR\fIyes/no\fR" 4
5651 .Ip "\fB\-misel\fR" 4
5652 This switch enables or disables the generation of \s-1ISEL\s0 instructions.
5653 .Ip "\fB\-mspe=\fR\fIyes/no\fR" 4
5654 .Ip "\fB\-mspe\fR" 4
5655 This switch enables or disables the generation of \s-1SPE\s0 simd
5656 instructions.
5657 .Ip "\fB\-mfloat-gprs=\fR\fIyes/no\fR" 4
5658 .Ip "\fB\-mfloat-gprs\fR" 4
5659 This switch enables or disables the generation of floating point
5660 operations on the general purpose registers for architectures that
5661 support it.  This option is currently only available on the \s-1MPC8540\s0.
5662 .Ip "\fB\-mfull-toc\fR" 4
5663 .Ip "\fB\-mno-fp-in-toc\fR" 4
5664 .Ip "\fB\-mno-sum-in-toc\fR" 4
5665 .Ip "\fB\-mminimal-toc\fR" 4
5666 Modify generation of the \s-1TOC\s0 (Table Of Contents), which is created for
5667 every executable file.  The \fB\-mfull-toc\fR option is selected by
5668 default.  In that case, \s-1GCC\s0 will allocate at least one \s-1TOC\s0 entry for
5669 each unique non-automatic variable reference in your program.  \s-1GCC\s0
5670 will also place floating-point constants in the \s-1TOC\s0.  However, only
5671 16,384 entries are available in the \s-1TOC\s0.
5672 .Sp
5673 If you receive a linker error message that saying you have overflowed
5674 the available \s-1TOC\s0 space, you can reduce the amount of \s-1TOC\s0 space used
5675 with the \fB\-mno-fp-in-toc\fR and \fB\-mno-sum-in-toc\fR options.
5676 \fB\-mno-fp-in-toc\fR prevents \s-1GCC\s0 from putting floating-point
5677 constants in the \s-1TOC\s0 and \fB\-mno-sum-in-toc\fR forces \s-1GCC\s0 to
5678 generate code to calculate the sum of an address and a constant at
5679 run-time instead of putting that sum into the \s-1TOC\s0.  You may specify one
5680 or both of these options.  Each causes \s-1GCC\s0 to produce very slightly
5681 slower and larger code at the expense of conserving \s-1TOC\s0 space.
5682 .Sp
5683 If you still run out of space in the \s-1TOC\s0 even when you specify both of
5684 these options, specify \fB\-mminimal-toc\fR instead.  This option causes
5685 \s-1GCC\s0 to make only one \s-1TOC\s0 entry for every file.  When you specify this
5686 option, \s-1GCC\s0 will produce code that is slower and larger but which
5687 uses extremely little \s-1TOC\s0 space.  You may wish to use this option
5688 only on files that contain less frequently executed code.
5689 .Ip "\fB\-maix64\fR" 4
5690 .Ip "\fB\-maix32\fR" 4
5691 Enable 64-bit \s-1AIX\s0 \s-1ABI\s0 and calling convention: 64-bit pointers, 64-bit
5692 \f(CWlong\fR type, and the infrastructure needed to support them.
5693 Specifying \fB\-maix64\fR implies \fB\-mpowerpc64\fR and
5694 \fB\-mpowerpc\fR, while \fB\-maix32\fR disables the 64-bit \s-1ABI\s0 and
5695 implies \fB\-mno-powerpc64\fR.  \s-1GCC\s0 defaults to \fB\-maix32\fR.
5696 .Ip "\fB\-mxl-call\fR" 4
5697 .Ip "\fB\-mno-xl-call\fR" 4
5698 On \s-1AIX\s0, pass floating-point arguments to prototyped functions beyond the
5699 register save area (\s-1RSA\s0) on the stack in addition to argument FPRs.  The
5700 \s-1AIX\s0 calling convention was extended but not initially documented to
5701 handle an obscure K&R C case of calling a function that takes the
5702 address of its arguments with fewer arguments than declared.  \s-1AIX\s0 \s-1XL\s0
5703 compilers access floating point arguments which do not fit in the
5704 \s-1RSA\s0 from the stack when a subroutine is compiled without
5705 optimization.  Because always storing floating-point arguments on the
5706 stack is inefficient and rarely needed, this option is not enabled by
5707 default and only is necessary when calling subroutines compiled by \s-1AIX\s0
5708 \s-1XL\s0 compilers without optimization.
5709 .Ip "\fB\-mpe\fR" 4
5710 Support \fI\s-1IBM\s0 \s-1RS/6000\s0 \s-1SP\s0\fR \fIParallel Environment\fR (\s-1PE\s0).  Link an
5711 application written to use message passing with special startup code to
5712 enable the application to run.  The system must have \s-1PE\s0 installed in the
5713 standard location (\fI/usr/lpp/ppe.poe/\fR), or the \fIspecs\fR file
5714 must be overridden with the \fB\-specs=\fR option to specify the
5715 appropriate directory location.  The Parallel Environment does not
5716 support threads, so the \fB\-mpe\fR option and the \fB\-pthread\fR
5717 option are incompatible.
5718 .Ip "\fB\-malign-natural\fR" 4
5719 .Ip "\fB\-malign-power\fR" 4
5720 On \s-1AIX\s0, Darwin, and 64-bit PowerPC \s-1GNU/\s0Linux, the option
5721 \fB\-malign-natural\fR overrides the \s-1ABI\s0\-defined alignment of larger
5722 types, such as floating-point doubles, on their natural size-based boundary.
5723 The option \fB\-malign-power\fR instructs \s-1GCC\s0 to follow the \s-1ABI\s0\-specified
5724 alignment rules.  \s-1GCC\s0 defaults to the standard alignment defined in the \s-1ABI\s0.
5725 .Ip "\fB\-msoft-float\fR" 4
5726 .Ip "\fB\-mhard-float\fR" 4
5727 Generate code that does not use (uses) the floating-point register set.
5728 Software floating point emulation is provided if you use the
5729 \fB\-msoft-float\fR option, and pass the option to \s-1GCC\s0 when linking.
5730 .Ip "\fB\-mmultiple\fR" 4
5731 .Ip "\fB\-mno-multiple\fR" 4
5732 Generate code that uses (does not use) the load multiple word
5733 instructions and the store multiple word instructions.  These
5734 instructions are generated by default on \s-1POWER\s0 systems, and not
5735 generated on PowerPC systems.  Do not use \fB\-mmultiple\fR on little
5736 endian PowerPC systems, since those instructions do not work when the
5737 processor is in little endian mode.  The exceptions are \s-1PPC740\s0 and
5738 \s-1PPC750\s0 which permit the instructions usage in little endian mode.
5739 .Ip "\fB\-mstring\fR" 4
5740 .Ip "\fB\-mno-string\fR" 4
5741 Generate code that uses (does not use) the load string instructions
5742 and the store string word instructions to save multiple registers and
5743 do small block moves.  These instructions are generated by default on
5744 \s-1POWER\s0 systems, and not generated on PowerPC systems.  Do not use
5745 \fB\-mstring\fR on little endian PowerPC systems, since those
5746 instructions do not work when the processor is in little endian mode.
5747 The exceptions are \s-1PPC740\s0 and \s-1PPC750\s0 which permit the instructions
5748 usage in little endian mode.
5749 .Ip "\fB\-mupdate\fR" 4
5750 .Ip "\fB\-mno-update\fR" 4
5751 Generate code that uses (does not use) the load or store instructions
5752 that update the base register to the address of the calculated memory
5753 location.  These instructions are generated by default.  If you use
5754 \fB\-mno-update\fR, there is a small window between the time that the
5755 stack pointer is updated and the address of the previous frame is
5756 stored, which means code that walks the stack frame across interrupts or
5757 signals may get corrupted data.
5758 .Ip "\fB\-mfused-madd\fR" 4
5759 .Ip "\fB\-mno-fused-madd\fR" 4
5760 Generate code that uses (does not use) the floating point multiply and
5761 accumulate instructions.  These instructions are generated by default if
5762 hardware floating is used.
5763 .Ip "\fB\-mno-bit-align\fR" 4
5764 .Ip "\fB\-mbit-align\fR" 4
5765 On System V.4 and embedded PowerPC systems do not (do) force structures
5766 and unions that contain bit-fields to be aligned to the base type of the
5767 bit-field.
5768 .Sp
5769 For example, by default a structure containing nothing but 8
5770 \f(CWunsigned\fR bit-fields of length 1 would be aligned to a 4 byte
5771 boundary and have a size of 4 bytes.  By using \fB\-mno-bit-align\fR,
5772 the structure would be aligned to a 1 byte boundary and be one byte in
5773 size.
5774 .Ip "\fB\-mno-strict-align\fR" 4
5775 .Ip "\fB\-mstrict-align\fR" 4
5776 On System V.4 and embedded PowerPC systems do not (do) assume that
5777 unaligned memory references will be handled by the system.
5778 .Ip "\fB\-mrelocatable\fR" 4
5779 .Ip "\fB\-mno-relocatable\fR" 4
5780 On embedded PowerPC systems generate code that allows (does not allow)
5781 the program to be relocated to a different address at runtime.  If you
5782 use \fB\-mrelocatable\fR on any module, all objects linked together must
5783 be compiled with \fB\-mrelocatable\fR or \fB\-mrelocatable-lib\fR.
5784 .Ip "\fB\-mrelocatable-lib\fR" 4
5785 .Ip "\fB\-mno-relocatable-lib\fR" 4
5786 On embedded PowerPC systems generate code that allows (does not allow)
5787 the program to be relocated to a different address at runtime.  Modules
5788 compiled with \fB\-mrelocatable-lib\fR can be linked with either modules
5789 compiled without \fB\-mrelocatable\fR and \fB\-mrelocatable-lib\fR or
5790 with modules compiled with the \fB\-mrelocatable\fR options.
5791 .Ip "\fB\-mno-toc\fR" 4
5792 .Ip "\fB\-mtoc\fR" 4
5793 On System V.4 and embedded PowerPC systems do not (do) assume that
5794 register 2 contains a pointer to a global area pointing to the addresses
5795 used in the program.
5796 .Ip "\fB\-mlittle\fR" 4
5797 .Ip "\fB\-mlittle-endian\fR" 4
5798 On System V.4 and embedded PowerPC systems compile code for the
5799 processor in little endian mode.  The \fB\-mlittle-endian\fR option is
5800 the same as \fB\-mlittle\fR.
5801 .Ip "\fB\-mbig\fR" 4
5802 .Ip "\fB\-mbig-endian\fR" 4
5803 On System V.4 and embedded PowerPC systems compile code for the
5804 processor in big endian mode.  The \fB\-mbig-endian\fR option is
5805 the same as \fB\-mbig\fR.
5806 .Ip "\fB\-mdynamic-no-pic\fR" 4
5807 On Darwin and Mac \s-1OS\s0 X systems, compile code so that it is not
5808 relocatable, but that its external references are relocatable.  The
5809 resulting code is suitable for applications, but not shared
5810 libraries.
5811 .Ip "\fB\-mprioritize-restricted-insns=\fR\fIpriority\fR" 4
5812 This option controls the priority that is assigned to
5813 dispatch-slot restricted instructions during the second scheduling
5814 pass.  The argument \fIpriority\fR takes the value \fI0/1/2\fR to assign
5815 \fIno/highest/second-highest\fR priority to dispatch slot restricted
5816 instructions.
5817 .Ip "\fB\-msched-costly-dep=\fR\fIdependence_type\fR" 4
5818 This option controls which dependences are considered costly
5819 by the target during instruction scheduling.  The argument
5820 \fIdependence_type\fR takes one of the following values:
5821 \fIno\fR: no dependence is costly,
5822 \fIall\fR: all dependences are costly,
5823 \fItrue_store_to_load\fR: a true dependence from store to load is costly,
5824 \fIstore_to_load\fR: any dependence from store to load is costly,
5825 \fInumber\fR: any dependence which latency >= \fInumber\fR is costly.
5826 .Ip "\fB\-minsert-sched-nops=\fR\fIscheme\fR" 4
5827 This option controls which nop insertion scheme will be used during
5828 the second scheduling pass. The argument \fIscheme\fR takes one of the
5829 following values:
5830 \fIno\fR: Don't insert nops.
5831 \fIpad\fR: Pad with nops any dispatch group which has vacant issue slots,
5832 according to the scheduler's grouping.
5833 \fIregroup_exact\fR: Insert nops to force costly dependent insns into
5834 separate groups.  Insert exactly as many nops as needed to force an insn
5835 to a new group, according to the estimated processor grouping.
5836 \fInumber\fR: Insert nops to force costly dependent insns into
5837 separate groups.  Insert \fInumber\fR nops to force an insn to a new group.
5838 .Ip "\fB\-mcall-sysv\fR" 4
5839 On System V.4 and embedded PowerPC systems compile code using calling
5840 conventions that adheres to the March 1995 draft of the System V
5841 Application Binary Interface, PowerPC processor supplement.  This is the
5842 default unless you configured \s-1GCC\s0 using \fBpowerpc-*\-eabiaix\fR.
5843 .Ip "\fB\-mcall-sysv-eabi\fR" 4
5844 Specify both \fB\-mcall-sysv\fR and \fB\-meabi\fR options.
5845 .Ip "\fB\-mcall-sysv-noeabi\fR" 4
5846 Specify both \fB\-mcall-sysv\fR and \fB\-mno-eabi\fR options.
5847 .Ip "\fB\-mcall-solaris\fR" 4
5848 On System V.4 and embedded PowerPC systems compile code for the Solaris
5849 operating system.
5850 .Ip "\fB\-mcall-linux\fR" 4
5851 On System V.4 and embedded PowerPC systems compile code for the
5852 Linux-based \s-1GNU\s0 system.
5853 .Ip "\fB\-mcall-gnu\fR" 4
5854 On System V.4 and embedded PowerPC systems compile code for the
5855 Hurd-based \s-1GNU\s0 system.
5856 .Ip "\fB\-mcall-netbsd\fR" 4
5857 On System V.4 and embedded PowerPC systems compile code for the
5858 NetBSD operating system.
5859 .Ip "\fB\-maix-struct-return\fR" 4
5860 Return all structures in memory (as specified by the \s-1AIX\s0 \s-1ABI\s0).
5861 .Ip "\fB\-msvr4-struct-return\fR" 4
5862 Return structures smaller than 8 bytes in registers (as specified by the
5863 \s-1SVR4\s0 \s-1ABI\s0).
5864 .Ip "\fB\-mabi=altivec\fR" 4
5865 Extend the current \s-1ABI\s0 with AltiVec \s-1ABI\s0 extensions.  This does not
5866 change the default \s-1ABI\s0, instead it adds the AltiVec \s-1ABI\s0 extensions to
5867 the current \s-1ABI\s0.
5868 .Ip "\fB\-mabi=no-altivec\fR" 4
5869 Disable AltiVec \s-1ABI\s0 extensions for the current \s-1ABI\s0.
5870 .Ip "\fB\-mprototype\fR" 4
5871 .Ip "\fB\-mno-prototype\fR" 4
5872 On System V.4 and embedded PowerPC systems assume that all calls to
5873 variable argument functions are properly prototyped.  Otherwise, the
5874 compiler must insert an instruction before every non prototyped call to
5875 set or clear bit 6 of the condition code register (\fI\s-1CR\s0\fR) to
5876 indicate whether floating point values were passed in the floating point
5877 registers in case the function takes a variable arguments.  With
5878 \fB\-mprototype\fR, only calls to prototyped variable argument functions
5879 will set or clear the bit.
5880 .Ip "\fB\-msim\fR" 4
5881 On embedded PowerPC systems, assume that the startup module is called
5882 \fIsim-crt0.o\fR and that the standard C libraries are \fIlibsim.a\fR and
5883 \fIlibc.a\fR.  This is the default for \fBpowerpc-*\-eabisim\fR.
5884 configurations.
5885 .Ip "\fB\-mmvme\fR" 4
5886 On embedded PowerPC systems, assume that the startup module is called
5887 \fIcrt0.o\fR and the standard C libraries are \fIlibmvme.a\fR and
5888 \fIlibc.a\fR.
5889 .Ip "\fB\-mads\fR" 4
5890 On embedded PowerPC systems, assume that the startup module is called
5891 \fIcrt0.o\fR and the standard C libraries are \fIlibads.a\fR and
5892 \fIlibc.a\fR.
5893 .Ip "\fB\-myellowknife\fR" 4
5894 On embedded PowerPC systems, assume that the startup module is called
5895 \fIcrt0.o\fR and the standard C libraries are \fIlibyk.a\fR and
5896 \fIlibc.a\fR.
5897 .Ip "\fB\-mvxworks\fR" 4
5898 On System V.4 and embedded PowerPC systems, specify that you are
5899 compiling for a VxWorks system.
5900 .Ip "\fB\-mwindiss\fR" 4
5901 Specify that you are compiling for the WindISS simulation environment.
5902 .Ip "\fB\-memb\fR" 4
5903 On embedded PowerPC systems, set the \fI\s-1PPC_EMB\s0\fR bit in the \s-1ELF\s0 flags
5904 header to indicate that \fBeabi\fR extended relocations are used.
5905 .Ip "\fB\-meabi\fR" 4
5906 .Ip "\fB\-mno-eabi\fR" 4
5907 On System V.4 and embedded PowerPC systems do (do not) adhere to the
5908 Embedded Applications Binary Interface (eabi) which is a set of
5909 modifications to the System V.4 specifications.  Selecting \fB\-meabi\fR
5910 means that the stack is aligned to an 8 byte boundary, a function
5911 \f(CW__eabi\fR is called to from \f(CWmain\fR to set up the eabi
5912 environment, and the \fB\-msdata\fR option can use both \f(CWr2\fR and
5913 \f(CWr13\fR to point to two separate small data areas.  Selecting
5914 \fB\-mno-eabi\fR means that the stack is aligned to a 16 byte boundary,
5915 do not call an initialization function from \f(CWmain\fR, and the
5916 \fB\-msdata\fR option will only use \f(CWr13\fR to point to a single
5917 small data area.  The \fB\-meabi\fR option is on by default if you
5918 configured \s-1GCC\s0 using one of the \fBpowerpc*\-*-eabi*\fR options.
5919 .Ip "\fB\-msdata=eabi\fR" 4
5920 On System V.4 and embedded PowerPC systems, put small initialized
5921 \f(CWconst\fR global and static data in the \fB.sdata2\fR section, which
5922 is pointed to by register \f(CWr2\fR.  Put small initialized
5923 non-\f(CWconst\fR global and static data in the \fB.sdata\fR section,
5924 which is pointed to by register \f(CWr13\fR.  Put small uninitialized
5925 global and static data in the \fB.sbss\fR section, which is adjacent to
5926 the \fB.sdata\fR section.  The \fB\-msdata=eabi\fR option is
5927 incompatible with the \fB\-mrelocatable\fR option.  The
5928 \fB\-msdata=eabi\fR option also sets the \fB\-memb\fR option.
5929 .Ip "\fB\-msdata=sysv\fR" 4
5930 On System V.4 and embedded PowerPC systems, put small global and static
5931 data in the \fB.sdata\fR section, which is pointed to by register
5932 \f(CWr13\fR.  Put small uninitialized global and static data in the
5933 \&\fB.sbss\fR section, which is adjacent to the \fB.sdata\fR section.
5934 The \fB\-msdata=sysv\fR option is incompatible with the
5935 \fB\-mrelocatable\fR option.
5936 .Ip "\fB\-msdata=default\fR" 4
5937 .Ip "\fB\-msdata\fR" 4
5938 On System V.4 and embedded PowerPC systems, if \fB\-meabi\fR is used,
5939 compile code the same as \fB\-msdata=eabi\fR, otherwise compile code the
5940 same as \fB\-msdata=sysv\fR.
5941 .Ip "\fB\-msdata-data\fR" 4
5942 On System V.4 and embedded PowerPC systems, put small global and static
5943 data in the \fB.sdata\fR section.  Put small uninitialized global and
5944 static data in the \fB.sbss\fR section.  Do not use register \f(CWr13\fR
5945 to address small data however.  This is the default behavior unless
5946 other \fB\-msdata\fR options are used.
5947 .Ip "\fB\-msdata=none\fR" 4
5948 .Ip "\fB\-mno-sdata\fR" 4
5949 On embedded PowerPC systems, put all initialized global and static data
5950 in the \fB.data\fR section, and all uninitialized data in the
5951 \&\fB.bss\fR section.
5952 .Ip "\fB\-G\fR \fInum\fR" 4
5953 On embedded PowerPC systems, put global and static items less than or
5954 equal to \fInum\fR bytes into the small data or bss sections instead of
5955 the normal data or bss section.  By default, \fInum\fR is 8.  The
5956 \fB\-G\fR \fInum\fR switch is also passed to the linker.
5957 All modules should be compiled with the same \fB\-G\fR \fInum\fR value.
5958 .Ip "\fB\-mregnames\fR" 4
5959 .Ip "\fB\-mno-regnames\fR" 4
5960 On System V.4 and embedded PowerPC systems do (do not) emit register
5961 names in the assembly language output using symbolic forms.
5962 .Ip "\fB\-mlongcall\fR" 4
5963 .Ip "\fB\-mno-longcall\fR" 4
5964 Default to making all function calls via pointers, so that functions
5965 which reside further than 64 megabytes (67,108,864 bytes) from the
5966 current location can be called.  This setting can be overridden by the
5967 \f(CWshortcall\fR function attribute, or by \f(CW#pragma longcall(0)\fR.
5968 .Sp
5969 Some linkers are capable of detecting out-of-range calls and generating
5970 glue code on the fly.  On these systems, long calls are unnecessary and
5971 generate slower code.  As of this writing, the \s-1AIX\s0 linker can do this,
5972 as can the \s-1GNU\s0 linker for PowerPC/64.  It is planned to add this feature
5973 to the \s-1GNU\s0 linker for 32-bit PowerPC systems as well.
5974 .Sp
5975 On Mach-O (Darwin) systems, this option directs the compiler emit to
5976 the glue for every direct call, and the Darwin linker decides whether
5977 to use or discard it.
5978 .Sp
5979 In the future, we may cause \s-1GCC\s0 to ignore all longcall specifications
5980 when the linker is known to generate glue.
5981 .Ip "\fB\-pthread\fR" 4
5982 Adds support for multithreading with the \fIpthreads\fR library.
5983 This option sets flags for both the preprocessor and linker.
5984 These options are defined for all architectures running the Darwin operating
5985 system.  They are useful for compatibility with other Mac \s-1OS\s0 compilers.
5986 .Ip "\fB\-all_load\fR" 4
5987 Loads all members of static archive libraries.
5988 See man \fIld\fR\|(1) for more information.
5989 .Ip "\fB\-arch_errors_fatal\fR" 4
5990 Cause the errors having to do with files that have the wrong architecture
5991 to be fatal.
5992 .Ip "\fB\-bind_at_load\fR" 4
5993 Causes the output file to be marked such that the dynamic linker will
5994 bind all undefined references when the file is loaded or launched.
5995 .Ip "\fB\-bundle\fR" 4
5996 Produce a Mach-o bundle format file.
5997 See man \fIld\fR\|(1) for more information.
5998 .Ip "\fB\-bundle_loader\fR \fIexecutable\fR" 4
5999 This specifies the \fIexecutable\fR that will be loading the build
6000 output file being linked. See man \fIld\fR\|(1) for more information.
6001 .Ip "\fB\-allowable_client\fR  \fIclient_name\fR" 4
6002 .Ip "\fB\-arch_only\fR" 4
6003 .Ip "\fB\-client_name\fR" 4
6004 .Ip "\fB\-compatibility_version\fR" 4
6005 .Ip "\fB\-current_version\fR" 4
6006 .Ip "\fB\-dependency-file\fR" 4
6007 .Ip "\fB\-dylib_file\fR" 4
6008 .Ip "\fB\-dylinker_install_name\fR" 4
6009 .Ip "\fB\-dynamic\fR" 4
6010 .Ip "\fB\-dynamiclib\fR" 4
6011 .Ip "\fB\-exported_symbols_list\fR" 4
6012 .Ip "\fB\-filelist\fR" 4
6013 .Ip "\fB\-flat_namespace\fR" 4
6014 .Ip "\fB\-force_cpusubtype_ALL\fR" 4
6015 .Ip "\fB\-force_flat_namespace\fR" 4
6016 .Ip "\fB\-headerpad_max_install_names\fR" 4
6017 .Ip "\fB\-image_base\fR" 4
6018 .Ip "\fB\-init\fR" 4
6019 .Ip "\fB\-install_name\fR" 4
6020 .Ip "\fB\-keep_private_externs\fR" 4
6021 .Ip "\fB\-multi_module\fR" 4
6022 .Ip "\fB\-multiply_defined\fR" 4
6023 .Ip "\fB\-multiply_defined_unused\fR" 4
6024 .Ip "\fB\-noall_load\fR" 4
6025 .Ip "\fB\-nofixprebinding\fR" 4
6026 .Ip "\fB\-nomultidefs\fR" 4
6027 .Ip "\fB\-noprebind\fR" 4
6028 .Ip "\fB\-noseglinkedit\fR" 4
6029 .Ip "\fB\-pagezero_size\fR" 4
6030 .Ip "\fB\-prebind\fR" 4
6031 .Ip "\fB\-prebind_all_twolevel_modules\fR" 4
6032 .Ip "\fB\-private_bundle\fR" 4
6033 .Ip "\fB\-read_only_relocs\fR" 4
6034 .Ip "\fB\-sectalign\fR" 4
6035 .Ip "\fB\-sectobjectsymbols\fR" 4
6036 .Ip "\fB\-whyload\fR" 4
6037 .Ip "\fB\-seg1addr\fR" 4
6038 .Ip "\fB\-sectcreate\fR" 4
6039 .Ip "\fB\-sectobjectsymbols\fR" 4
6040 .Ip "\fB\-sectorder\fR" 4
6041 .Ip "\fB\-seg_addr_table\fR" 4
6042 .Ip "\fB\-seg_addr_table_filename\fR" 4
6043 .Ip "\fB\-seglinkedit\fR" 4
6044 .Ip "\fB\-segprot\fR" 4
6045 .Ip "\fB\-segs_read_only_addr\fR" 4
6046 .Ip "\fB\-segs_read_write_addr\fR" 4
6047 .Ip "\fB\-single_module\fR" 4
6048 .Ip "\fB\-static\fR" 4
6049 .Ip "\fB\-sub_library\fR" 4
6050 .Ip "\fB\-sub_umbrella\fR" 4
6051 .Ip "\fB\-twolevel_namespace\fR" 4
6052 .Ip "\fB\-umbrella\fR" 4
6053 .Ip "\fB\-undefined\fR" 4
6054 .Ip "\fB\-unexported_symbols_list\fR" 4
6055 .Ip "\fB\-weak_reference_mismatches\fR" 4
6056 .Ip "\fB\-whatsloaded\fR" 4
6057 These options are available for Darwin linker. Darwin linker man page
6058 describes them in detail.
6059 .Ip "\fB\-\s-1EB\s0\fR" 4
6060 Generate big-endian code.
6061 .Ip "\fB\-\s-1EL\s0\fR" 4
6062 Generate little-endian code.  This is the default for \fBmips*el-*\-*\fR
6063 configurations.
6064 .Ip "\fB\-march=\fR\fIarch\fR" 4
6065 Generate code that will run on \fIarch\fR, which can be the name of a
6066 generic \s-1MIPS\s0 \s-1ISA\s0, or the name of a particular processor.
6067 The \s-1ISA\s0 names are:
6068 \fBmips1\fR, \fBmips2\fR, \fBmips3\fR, \fBmips4\fR,
6069 \fBmips32\fR, \fBmips32r2\fR, and \fBmips64\fR.
6070 The processor names are:
6071 \fB4kc\fR, \fB4kp\fR, \fB5kc\fR, \fB20kc\fR,
6072 \fBm4k\fR,
6073 \fBr2000\fR, \fBr3000\fR, \fBr3900\fR, \fBr4000\fR, \fBr4400\fR,
6074 \fBr4600\fR, \fBr4650\fR, \fBr6000\fR, \fBr8000\fR, \fBrm7000\fR,
6075 \fBrm9000\fR,
6076 \fBorion\fR,
6077 \fBsb1\fR,
6078 \fBvr4100\fR, \fBvr4111\fR, \fBvr4120\fR, \fBvr4300\fR,
6079 \fBvr5000\fR, \fBvr5400\fR and \fBvr5500\fR.
6080 The special value \fBfrom-abi\fR selects the
6081 most compatible architecture for the selected \s-1ABI\s0 (that is,
6082 \fBmips1\fR for 32-bit ABIs and \fBmips3\fR for 64-bit ABIs).
6083 .Sp
6084 In processor names, a final \fB000\fR can be abbreviated as \fBk\fR
6085 (for example, \fB\-march=r2k\fR).  Prefixes are optional, and
6086 \fBvr\fR may be written \fBr\fR.
6087 .Sp
6088 \s-1GCC\s0 defines two macros based on the value of this option.  The first
6089 is \fB_MIPS_ARCH\fR, which gives the name of target architecture, as
6090 a string.  The second has the form \fB_MIPS_ARCH_\fR\fIfoo\fR,
6091 where \fIfoo\fR is the capitalized value of \fB_MIPS_ARCH\fR.
6092 For example, \fB\-march=r2000\fR will set \fB_MIPS_ARCH\fR
6093 to \fB"r2000\*(R"\fR and define the macro \fB_MIPS_ARCH_R2000\fR.
6094 .Sp
6095 Note that the \fB_MIPS_ARCH\fR macro uses the processor names given
6096 above.  In other words, it will have the full prefix and will not
6097 abbreviate \fB000\fR as \fBk\fR.  In the case of \fBfrom-abi\fR,
6098 the macro names the resolved architecture (either \fB"mips1\*(R"\fR or
6099 \fB"mips3\*(R"\fR).  It names the default architecture when no
6100 \fB\-march\fR option is given.
6101 .Ip "\fB\-mtune=\fR\fIarch\fR" 4
6102 Optimize for \fIarch\fR.  Among other things, this option controls
6103 the way instructions are scheduled, and the perceived cost of arithmetic
6104 operations.  The list of \fIarch\fR values is the same as for
6105 \fB\-march\fR.
6106 .Sp
6107 When this option is not used, \s-1GCC\s0 will optimize for the processor
6108 specified by \fB\-march\fR.  By using \fB\-march\fR and
6109 \fB\-mtune\fR together, it is possible to generate code that will
6110 run on a family of processors, but optimize the code for one
6111 particular member of that family.
6112 .Sp
6113 \fB\-mtune\fR defines the macros \fB_MIPS_TUNE\fR and
6114 \fB_MIPS_TUNE_\fR\fIfoo\fR, which work in the same way as the
6115 \fB\-march\fR ones described above.
6116 .Ip "\fB\-mips1\fR" 4
6117 Equivalent to \fB\-march=mips1\fR.
6118 .Ip "\fB\-mips2\fR" 4
6119 Equivalent to \fB\-march=mips2\fR.
6120 .Ip "\fB\-mips3\fR" 4
6121 Equivalent to \fB\-march=mips3\fR.
6122 .Ip "\fB\-mips4\fR" 4
6123 Equivalent to \fB\-march=mips4\fR.
6124 .Ip "\fB\-mips32\fR" 4
6125 Equivalent to \fB\-march=mips32\fR.
6126 .Ip "\fB\-mips32r2\fR" 4
6127 Equivalent to \fB\-march=mips32r2\fR.
6128 .Ip "\fB\-mips64\fR" 4
6129 Equivalent to \fB\-march=mips64\fR.
6130 .Ip "\fB\-mips16\fR" 4
6131 .Ip "\fB\-mno-mips16\fR" 4
6132 Use (do not use) the \s-1MIPS16\s0 \s-1ISA\s0.
6133 .Ip "\fB\-mabi=32\fR" 4
6134 .Ip "\fB\-mabi=o64\fR" 4
6135 .Ip "\fB\-mabi=n32\fR" 4
6136 .Ip "\fB\-mabi=64\fR" 4
6137 .Ip "\fB\-mabi=eabi\fR" 4
6138 Generate code for the given \s-1ABI\s0.
6139 .Sp
6140 Note that the \s-1EABI\s0 has a 32-bit and a 64-bit variant.  \s-1GCC\s0 normally
6141 generates 64-bit code when you select a 64-bit architecture, but you
6142 can use \fB\-mgp32\fR to get 32-bit code instead.
6143 .Ip "\fB\-mabicalls\fR" 4
6144 .Ip "\fB\-mno-abicalls\fR" 4
6145 Generate (do not generate) \s-1SVR4-\s0style position-independent code.
6146 \fB\-mabicalls\fR is the default for \s-1SVR4-\s0based systems.
6147 .Ip "\fB\-mxgot\fR" 4
6148 .Ip "\fB\-mno-xgot\fR" 4
6149 Lift (do not lift) the usual restrictions on the size of the global
6150 offset table.
6151 .Sp
6152 \s-1GCC\s0 normally uses a single instruction to load values from the \s-1GOT\s0.
6153 While this is relatively efficient, it will only work if the \s-1GOT\s0
6154 is smaller than about 64k.  Anything larger will cause the linker
6155 to report an error such as:
6156 .Sp
6157 .Vb 2
6158 \&        
6159 \&        relocation truncated to fit: R_MIPS_GOT16 foobar
6160 .Ve
6161 If this happens, you should recompile your code with \fB\-mxgot\fR.
6162 It should then work with very large GOTs, although it will also be
6163 less efficient, since it will take three instructions to fetch the
6164 value of a global symbol.
6165 .Sp
6166 Note that some linkers can create multiple GOTs.  If you have such a
6167 linker, you should only need to use \fB\-mxgot\fR when a single object
6168 file accesses more than 64k's worth of \s-1GOT\s0 entries.  Very few do.
6169 .Sp
6170 These options have no effect unless \s-1GCC\s0 is generating position
6171 independent code.
6172 .Ip "\fB\-membedded-pic\fR" 4
6173 .Ip "\fB\-mno-embedded-pic\fR" 4
6174 Generate (do not generate) position-independent code suitable for some
6175 embedded systems.  All calls are made using \s-1PC\s0 relative addresses, and
6176 all data is addressed using the \f(CW$gp\fR register.  No more than 65536
6177 bytes of global data may be used.  This requires \s-1GNU\s0 as and \s-1GNU\s0 ld,
6178 which do most of the work.
6179 .Ip "\fB\-mgp32\fR" 4
6180 Assume that general-purpose registers are 32 bits wide.
6181 .Ip "\fB\-mgp64\fR" 4
6182 Assume that general-purpose registers are 64 bits wide.
6183 .Ip "\fB\-mfp32\fR" 4
6184 Assume that floating-point registers are 32 bits wide.
6185 .Ip "\fB\-mfp64\fR" 4
6186 Assume that floating-point registers are 64 bits wide.
6187 .Ip "\fB\-mhard-float\fR" 4
6188 Use floating-point coprocessor instructions.
6189 .Ip "\fB\-msoft-float\fR" 4
6190 Do not use floating-point coprocessor instructions.  Implement
6191 floating-point calculations using library calls instead.
6192 .Ip "\fB\-msingle-float\fR" 4
6193 Assume that the floating-point coprocessor only supports single-precision
6194 operations.
6195 .Ip "\fB\-mdouble-float\fR" 4
6196 Assume that the floating-point coprocessor supports double-precision
6197 operations.  This is the default.
6198 .Ip "\fB\-mint64\fR" 4
6199 Force \f(CWint\fR and \f(CWlong\fR types to be 64 bits wide.  See
6200 \fB\-mlong32\fR for an explanation of the default and the way
6201 that the pointer size is determined.
6202 .Ip "\fB\-mlong64\fR" 4
6203 Force \f(CWlong\fR types to be 64 bits wide.  See \fB\-mlong32\fR for
6204 an explanation of the default and the way that the pointer size is
6205 determined.
6206 .Ip "\fB\-mlong32\fR" 4
6207 Force \f(CWlong\fR, \f(CWint\fR, and pointer types to be 32 bits wide.
6208 .Sp
6209 The default size of \f(CWint\fRs, \f(CWlong\fRs and pointers depends on
6210 the \s-1ABI\s0.  All the supported ABIs use 32-bit \f(CWint\fRs.  The n64 \s-1ABI\s0
6211 uses 64-bit \f(CWlong\fRs, as does the 64-bit \s-1EABI\s0; the others use
6212 32-bit \f(CWlong\fRs.  Pointers are the same size as \f(CWlong\fRs,
6213 or the same size as integer registers, whichever is smaller.
6214 .Ip "\fB\-G\fR \fInum\fR" 4
6215 Put global and static items less than or equal to \fInum\fR bytes into
6216 the small data or bss section instead of the normal data or bss section.
6217 This allows the data to be accessed using a single instruction.
6218 .Sp
6219 All modules should be compiled with the same \fB\-G\fR \fInum\fR
6220 value.
6221 .Ip "\fB\-membedded-data\fR" 4
6222 .Ip "\fB\-mno-embedded-data\fR" 4
6223 Allocate variables to the read-only data section first if possible, then
6224 next in the small data section if possible, otherwise in data.  This gives
6225 slightly slower code than the default, but reduces the amount of \s-1RAM\s0 required
6226 when executing, and thus may be preferred for some embedded systems.
6227 .Ip "\fB\-muninit-const-in-rodata\fR" 4
6228 .Ip "\fB\-mno-uninit-const-in-rodata\fR" 4
6229 Put uninitialized \f(CWconst\fR variables in the read-only data section.
6230 This option is only meaningful in conjunction with \fB\-membedded-data\fR.
6231 .Ip "\fB\-msplit-addresses\fR" 4
6232 .Ip "\fB\-mno-split-addresses\fR" 4
6233 Enable (disable) use of the \f(CW%hi()\fR and \f(CW%lo()\fR assembler
6234 relocation operators.  This option has been superceded by
6235 \fB\-mexplicit-relocs\fR but is retained for backwards compatibility.
6236 .Ip "\fB\-mexplicit-relocs\fR" 4
6237 .Ip "\fB\-mno-explicit-relocs\fR" 4
6238 Use (do not use) assembler relocation operators when dealing with symbolic
6239 addresses.  The alternative, selected by \fB\-mno-explicit-relocs\fR,
6240 is to use assembler macros instead.
6241 .Sp
6242 \fB\-mexplicit-relocs\fR is usually the default if \s-1GCC\s0 was
6243 configured to use an assembler that supports relocation operators.
6244 However, there are two exceptions:
6245 .Ip "\(bu" 8
6246 \s-1GCC\s0 is not yet able to generate explicit relocations for the combination
6247 of \fB\-mabi=64\fR and \fB\-mno-abicalls\fR.  This will be addressed
6248 in a future release.
6249 .Ip "\(bu" 8
6250 The combination of \fB\-mabicalls\fR and \fB\-fno-unit-at-a-time\fR
6251 implies \fB\-mno-explicit-relocs\fR unless explicitly overridden.
6252 This is because, when generating abicalls, the choice of relocation
6253 depends on whether a symbol is local or global.  In some rare cases,
6254 \s-1GCC\s0 will not be able to decide this until the whole compilation unit
6255 has been read.
6256 .Ip "\fB\-mrnames\fR" 4
6257 .Ip "\fB\-mno-rnames\fR" 4
6258 Generate (do not generate) code that refers to registers using their
6259 software names.  The default is \fB\-mno-rnames\fR, which tells \s-1GCC\s0
6260 to use hardware names like \fB$4\fR instead of software names like
6261 \fBa0\fR.  The only assembler known to support \fB\-rnames\fR is
6262 the Algorithmics assembler.
6263 .Ip "\fB\-mcheck-zero-division\fR" 4
6264 .Ip "\fB\-mno-check-zero-division\fR" 4
6265 Trap (do not trap) on integer division by zero.  The default is
6266 \fB\-mcheck-zero-division\fR.
6267 .Ip "\fB\-mmemcpy\fR" 4
6268 .Ip "\fB\-mno-memcpy\fR" 4
6269 Force (do not force) the use of \f(CWmemcpy()\fR for non-trivial block
6270 moves.  The default is \fB\-mno-memcpy\fR, which allows \s-1GCC\s0 to inline
6271 most constant-sized copies.
6272 .Ip "\fB\-mlong-calls\fR" 4
6273 .Ip "\fB\-mno-long-calls\fR" 4
6274 Disable (do not disable) use of the \f(CWjal\fR instruction.  Calling
6275 functions using \f(CWjal\fR is more efficient but requires the caller
6276 and callee to be in the same 256 megabyte segment.
6277 .Sp
6278 This option has no effect on abicalls code.  The default is
6279 \fB\-mno-long-calls\fR.
6280 .Ip "\fB\-mmad\fR" 4
6281 .Ip "\fB\-mno-mad\fR" 4
6282 Enable (disable) use of the \f(CWmad\fR, \f(CWmadu\fR and \f(CWmul\fR
6283 instructions, as provided by the R4650 \s-1ISA\s0.
6284 .Ip "\fB\-mfused-madd\fR" 4
6285 .Ip "\fB\-mno-fused-madd\fR" 4
6286 Enable (disable) use of the floating point multiply-accumulate
6287 instructions, when they are available.  The default is
6288 \fB\-mfused-madd\fR.
6289 .Sp
6290 When multiply-accumulate instructions are used, the intermediate
6291 product is calculated to infinite precision and is not subject to
6292 the \s-1FCSR\s0 Flush to Zero bit.  This may be undesirable in some
6293 circumstances.
6294 .Ip "\fB\-nocpp\fR" 4
6295 Tell the \s-1MIPS\s0 assembler to not run its preprocessor over user
6296 assembler files (with a \fB.s\fR suffix) when assembling them.
6297 .Ip "\fB\-mfix-sb1\fR" 4
6298 .Ip "\fB\-mno-fix-sb1\fR" 4
6299 Work around certain \s-1SB\s0\-1 \s-1CPU\s0 core errata.
6300 (This flag currently works around the \s-1SB\s0\-1 revision 2
6301 ``F1'\*(R' and ``F2'\*(R' floating point errata.)
6302 .Ip "\fB\-mflush-func=\fR\fIfunc\fR" 4
6303 .Ip "\fB\-mno-flush-func\fR" 4
6304 Specifies the function to call to flush the I and D caches, or to not
6305 call any such function.  If called, the function must take the same
6306 arguments as the common \f(CW_flush_func()\fR, that is, the address of the
6307 memory range for which the cache is being flushed, the size of the
6308 memory range, and the number 3 (to flush both caches).  The default
6309 depends on the target \s-1GCC\s0 was configured for, but commonly is either
6310 \fB_flush_func\fR or \fB_\|_cpu_flush\fR.
6311 .Ip "\fB\-mbranch-likely\fR" 4
6312 .Ip "\fB\-mno-branch-likely\fR" 4
6313 Enable or disable use of Branch Likely instructions, regardless of the
6314 default for the selected architecture.  By default, Branch Likely
6315 instructions may be generated if they are supported by the selected
6316 architecture.  An exception is for the \s-1MIPS32\s0 and \s-1MIPS64\s0 architectures
6317 and processors which implement those architectures; for those, Branch
6318 Likely instructions will not be generated by default because the \s-1MIPS32\s0
6319 and \s-1MIPS64\s0 architectures specifically deprecate their use.
6320 These \fB\-m\fR options are defined for the i386 and x86-64 family of
6321 computers:
6322 .Ip "\fB\-mtune=\fR\fIcpu-type\fR" 4
6323 Tune to \fIcpu-type\fR everything applicable about the generated code, except
6324 for the \s-1ABI\s0 and the set of available instructions.  The choices for
6325 \fIcpu-type\fR are:
6326 .Ip "\fIi386\fR" 8
6327 Original Intel's i386 \s-1CPU\s0.
6328 .Ip "\fIi486\fR" 8
6329 Intel's i486 \s-1CPU\s0.  (No scheduling is implemented for this chip.)
6330 .Ip "\fIi586, pentium\fR" 8
6331 Intel Pentium \s-1CPU\s0 with no \s-1MMX\s0 support.
6332 .Ip "\fIpentium-mmx\fR" 8
6333 Intel PentiumMMX \s-1CPU\s0 based on Pentium core with \s-1MMX\s0 instruction set support.
6334 .Ip "\fIi686, pentiumpro\fR" 8
6335 Intel PentiumPro \s-1CPU\s0.
6336 .Ip "\fIpentium2\fR" 8
6337 Intel Pentium2 \s-1CPU\s0 based on PentiumPro core with \s-1MMX\s0 instruction set support.
6338 .Ip "\fIpentium3, pentium3m\fR" 8
6339 Intel Pentium3 \s-1CPU\s0 based on PentiumPro core with \s-1MMX\s0 and \s-1SSE\s0 instruction set
6340 support.
6341 .Ip "\fIpentium-m\fR" 8
6342 Low power version of Intel Pentium3 \s-1CPU\s0 with \s-1MMX\s0, \s-1SSE\s0 and \s-1SSE2\s0 instruction set
6343 support.  Used by Centrino notebooks.
6344 .Ip "\fIpentium4, pentium4m\fR" 8
6345 Intel Pentium4 \s-1CPU\s0 with \s-1MMX\s0, \s-1SSE\s0 and \s-1SSE2\s0 instruction set support.
6346 .Ip "\fIprescott\fR" 8
6347 Improved version of Intel Pentium4 \s-1CPU\s0 with \s-1MMX\s0, \s-1SSE\s0, \s-1SSE2\s0 and \s-1SSE3\s0 instruction
6348 set support.
6349 .Ip "\fInocona\fR" 8
6350 Improved version of Intel Pentium4 \s-1CPU\s0 with 64-bit extensions, \s-1MMX\s0, \s-1SSE\s0,
6351 \s-1SSE2\s0 and \s-1SSE3\s0 instruction set support.
6352 .Ip "\fIk6\fR" 8
6353 \s-1AMD\s0 K6 \s-1CPU\s0 with \s-1MMX\s0 instruction set support.
6354 .Ip "\fIk6-2, k6-3\fR" 8
6355 Improved versions of \s-1AMD\s0 K6 \s-1CPU\s0 with \s-1MMX\s0 and 3dNOW! instruction set support.
6356 .Ip "\fIathlon, athlon-tbird\fR" 8
6357 \s-1AMD\s0 Athlon \s-1CPU\s0 with \s-1MMX\s0, 3dNOW!, enhanced 3dNOW! and \s-1SSE\s0 prefetch instructions
6358 support.
6359 .Ip "\fIathlon-4, athlon-xp, athlon-mp\fR" 8
6360 Improved \s-1AMD\s0 Athlon \s-1CPU\s0 with \s-1MMX\s0, 3dNOW!, enhanced 3dNOW! and full \s-1SSE\s0
6361 instruction set support.
6362 .Ip "\fIk8, opteron, athlon64, athlon-fx\fR" 8
6363 \s-1AMD\s0 K8 core based CPUs with x86-64 instruction set support.  (This supersets
6364 \s-1MMX\s0, \s-1SSE\s0, \s-1SSE2\s0, 3dNOW!, enhanced 3dNOW! and 64-bit instruction set extensions.)
6365 .Ip "\fIwinchip-c6\fR" 8
6366 \s-1IDT\s0 Winchip C6 \s-1CPU\s0, dealt in same way as i486 with additional \s-1MMX\s0 instruction
6367 set support.
6368 .Ip "\fIwinchip2\fR" 8
6369 \s-1IDT\s0 Winchip2 \s-1CPU\s0, dealt in same way as i486 with additional \s-1MMX\s0 and 3dNOW!
6370 instruction set support.
6371 .Ip "\fIc3\fR" 8
6372 Via C3 \s-1CPU\s0 with \s-1MMX\s0 and 3dNOW!  instruction set support.  (No scheduling is
6373 implemented for this chip.)
6374 .Ip "\fIc3-2\fR" 8
6375 Via C3-2 \s-1CPU\s0 with \s-1MMX\s0 and \s-1SSE\s0 instruction set support.  (No scheduling is
6376 implemented for this chip.)
6377 .Sp
6378 While picking a specific \fIcpu-type\fR will schedule things appropriately
6379 for that particular chip, the compiler will not generate any code that
6380 does not run on the i386 without the \fB\-march=\fR\fIcpu-type\fR option
6381 being used.
6382 .Ip "\fB\-march=\fR\fIcpu-type\fR" 4
6383 Generate instructions for the machine type \fIcpu-type\fR.  The choices
6384 for \fIcpu-type\fR are the same as for \fB\-mtune\fR.  Moreover,
6385 specifying \fB\-march=\fR\fIcpu-type\fR implies \fB\-mtune=\fR\fIcpu-type\fR.
6386 .Ip "\fB\-mcpu=\fR\fIcpu-type\fR" 4
6387 A deprecated synonym for \fB\-mtune\fR.
6388 .Ip "\fB\-m386\fR" 4
6389 .Ip "\fB\-m486\fR" 4
6390 .Ip "\fB\-mpentium\fR" 4
6391 .Ip "\fB\-mpentiumpro\fR" 4
6392 These options are synonyms for \fB\-mtune=i386\fR, \fB\-mtune=i486\fR,
6393 \fB\-mtune=pentium\fR, and \fB\-mtune=pentiumpro\fR respectively.
6394 These synonyms are deprecated.
6395 .Ip "\fB\-mfpmath=\fR\fIunit\fR" 4
6396 Generate floating point arithmetics for selected unit \fIunit\fR.  The choices
6397 for \fIunit\fR are:
6398 .Ip "\fB387\fR" 8
6399 Use the standard 387 floating point coprocessor present majority of chips and
6400 emulated otherwise.  Code compiled with this option will run almost everywhere.
6401 The temporary results are computed in 80bit precision instead of precision
6402 specified by the type resulting in slightly different results compared to most
6403 of other chips. See \fB\-ffloat-store\fR for more detailed description.
6404 .Sp
6405 This is the default choice for i386 compiler.
6406 .Ip "\fBsse\fR" 8
6407 Use scalar floating point instructions present in the \s-1SSE\s0 instruction set.
6408 This instruction set is supported by Pentium3 and newer chips, in the \s-1AMD\s0 line
6409 by Athlon-4, Athlon-xp and Athlon-mp chips.  The earlier version of \s-1SSE\s0
6410 instruction set supports only single precision arithmetics, thus the double and
6411 extended precision arithmetics is still done using 387.  Later version, present
6412 only in Pentium4 and the future \s-1AMD\s0 x86-64 chips supports double precision
6413 arithmetics too.
6414 .Sp
6415 For i387 you need to use \fB\-march=\fR\fIcpu-type\fR, \fB\-msse\fR or
6416 \fB\-msse2\fR switches to enable \s-1SSE\s0 extensions and make this option
6417 effective.  For x86-64 compiler, these extensions are enabled by default.
6418 .Sp
6419 The resulting code should be considerably faster in the majority of cases and avoid
6420 the numerical instability problems of 387 code, but may break some existing
6421 code that expects temporaries to be 80bit.
6422 .Sp
6423 This is the default choice for the x86-64 compiler.
6424 .Ip "\fBsse,387\fR" 8
6425 Attempt to utilize both instruction sets at once.  This effectively double the
6426 amount of available registers and on chips with separate execution units for
6427 387 and \s-1SSE\s0 the execution resources too.  Use this option with care, as it is
6428 still experimental, because the \s-1GCC\s0 register allocator does not model separate
6429 functional units well resulting in instable performance.
6430 .Ip "\fB\-masm=\fR\fIdialect\fR" 4
6431 Output asm instructions using selected \fIdialect\fR. Supported choices are
6432 \fBintel\fR or \fBatt\fR (the default one).
6433 .Ip "\fB\-mieee-fp\fR" 4
6434 .Ip "\fB\-mno-ieee-fp\fR" 4
6435 Control whether or not the compiler uses \s-1IEEE\s0 floating point
6436 comparisons.  These handle correctly the case where the result of a
6437 comparison is unordered.
6438 .Ip "\fB\-msoft-float\fR" 4
6439 Generate output containing library calls for floating point.
6440 \fBWarning:\fR the requisite libraries are not part of \s-1GCC\s0.
6441 Normally the facilities of the machine's usual C compiler are used, but
6442 this can't be done directly in cross-compilation.  You must make your
6443 own arrangements to provide suitable library functions for
6444 cross-compilation.
6445 .Sp
6446 On machines where a function returns floating point results in the 80387
6447 register stack, some floating point opcodes may be emitted even if
6448 \fB\-msoft-float\fR is used.
6449 .Ip "\fB\-mno-fp-ret-in-387\fR" 4
6450 Do not use the \s-1FPU\s0 registers for return values of functions.
6451 .Sp
6452 The usual calling convention has functions return values of types
6453 \f(CWfloat\fR and \f(CWdouble\fR in an \s-1FPU\s0 register, even if there
6454 is no \s-1FPU\s0.  The idea is that the operating system should emulate
6455 an \s-1FPU\s0.
6456 .Sp
6457 The option \fB\-mno-fp-ret-in-387\fR causes such values to be returned
6458 in ordinary \s-1CPU\s0 registers instead.
6459 .Ip "\fB\-mno-fancy-math-387\fR" 4
6460 Some 387 emulators do not support the \f(CWsin\fR, \f(CWcos\fR and
6461 \f(CWsqrt\fR instructions for the 387.  Specify this option to avoid
6462 generating those instructions.  This option is the default on FreeBSD,
6463 OpenBSD and NetBSD.  This option is overridden when \fB\-march\fR
6464 indicates that the target cpu will always have an \s-1FPU\s0 and so the
6465 instruction will not need emulation.  As of revision 2.6.1, these
6466 instructions are not generated unless you also use the
6467 \fB\-funsafe-math-optimizations\fR switch.
6468 .Ip "\fB\-malign-double\fR" 4
6469 .Ip "\fB\-mno-align-double\fR" 4
6470 Control whether \s-1GCC\s0 aligns \f(CWdouble\fR, \f(CWlong double\fR, and
6471 \f(CWlong long\fR variables on a two word boundary or a one word
6472 boundary.  Aligning \f(CWdouble\fR variables on a two word boundary will
6473 produce code that runs somewhat faster on a \fBPentium\fR at the
6474 expense of more memory.
6475 .Sp
6476 \fBWarning:\fR if you use the \fB\-malign-double\fR switch,
6477 structures containing the above types will be aligned differently than
6478 the published application binary interface specifications for the 386
6479 and will not be binary compatible with structures in code compiled
6480 without that switch.
6481 .Ip "\fB\-m96bit-long-double\fR" 4
6482 .Ip "\fB\-m128bit-long-double\fR" 4
6483 These switches control the size of \f(CWlong double\fR type. The i386
6484 application binary interface specifies the size to be 96 bits,
6485 so \fB\-m96bit-long-double\fR is the default in 32 bit mode.
6486 .Sp
6487 Modern architectures (Pentium and newer) would prefer \f(CWlong double\fR
6488 to be aligned to an 8 or 16 byte boundary.  In arrays or structures
6489 conforming to the \s-1ABI\s0, this would not be possible.  So specifying a
6490 \fB\-m128bit-long-double\fR will align \f(CWlong double\fR
6491 to a 16 byte boundary by padding the \f(CWlong double\fR with an additional
6492 32 bit zero.
6493 .Sp
6494 In the x86-64 compiler, \fB\-m128bit-long-double\fR is the default choice as
6495 its \s-1ABI\s0 specifies that \f(CWlong double\fR is to be aligned on 16 byte boundary.
6496 .Sp
6497 Notice that neither of these options enable any extra precision over the x87
6498 standard of 80 bits for a \f(CWlong double\fR.
6499 .Sp
6500 \fBWarning:\fR if you override the default value for your target \s-1ABI\s0, the
6501 structures and arrays containing \f(CWlong double\fR variables will change
6502 their size as well as function calling convention for function taking
6503 \f(CWlong double\fR will be modified.  Hence they will not be binary
6504 compatible with arrays or structures in code compiled without that switch.
6505 .Ip "\fB\-msvr3-shlib\fR" 4
6506 .Ip "\fB\-mno-svr3-shlib\fR" 4
6507 Control whether \s-1GCC\s0 places uninitialized local variables into the
6508 \f(CWbss\fR or \f(CWdata\fR segments.  \fB\-msvr3-shlib\fR places them
6509 into \f(CWbss\fR.  These options are meaningful only on System V Release 3.
6510 .Ip "\fB\-mrtd\fR" 4
6511 Use a different function-calling convention, in which functions that
6512 take a fixed number of arguments return with the \f(CWret\fR \fInum\fR
6513 instruction, which pops their arguments while returning.  This saves one
6514 instruction in the caller since there is no need to pop the arguments
6515 there.
6516 .Sp
6517 You can specify that an individual function is called with this calling
6518 sequence with the function attribute \fBstdcall\fR.  You can also
6519 override the \fB\-mrtd\fR option by using the function attribute
6520 \fBcdecl\fR.  
6521 .Sp
6522 \fBWarning:\fR this calling convention is incompatible with the one
6523 normally used on Unix, so you cannot use it if you need to call
6524 libraries compiled with the Unix compiler.
6525 .Sp
6526 Also, you must provide function prototypes for all functions that
6527 take variable numbers of arguments (including \f(CWprintf\fR);
6528 otherwise incorrect code will be generated for calls to those
6529 functions.
6530 .Sp
6531 In addition, seriously incorrect code will result if you call a
6532 function with too many arguments.  (Normally, extra arguments are
6533 harmlessly ignored.)
6534 .Ip "\fB\-mregparm=\fR\fInum\fR" 4
6535 Control how many registers are used to pass integer arguments.  By
6536 default, no registers are used to pass arguments, and at most 3
6537 registers can be used.  You can control this behavior for a specific
6538 function by using the function attribute \fBregparm\fR.
6539 .Sp
6540 \fBWarning:\fR if you use this switch, and
6541 \fInum\fR is nonzero, then you must build all modules with the same
6542 value, including any libraries.  This includes the system libraries and
6543 startup modules.
6544 .Ip "\fB\-mpreferred-stack-boundary=\fR\fInum\fR" 4
6545 Attempt to keep the stack boundary aligned to a 2 raised to \fInum\fR
6546 byte boundary.  If \fB\-mpreferred-stack-boundary\fR is not specified,
6547 the default is 4 (16 bytes or 128 bits), except when optimizing for code
6548 size (\fB\-Os\fR), in which case the default is the minimum correct
6549 alignment (4 bytes for x86, and 8 bytes for x86-64).
6550 .Sp
6551 On Pentium and PentiumPro, \f(CWdouble\fR and \f(CWlong double\fR values
6552 should be aligned to an 8 byte boundary (see \fB\-malign-double\fR) or
6553 suffer significant run time performance penalties.  On Pentium \s-1III\s0, the
6554 Streaming \s-1SIMD\s0 Extension (\s-1SSE\s0) data type \f(CW__m128\fR suffers similar
6555 penalties if it is not 16 byte aligned.
6556 .Sp
6557 To ensure proper alignment of this values on the stack, the stack boundary
6558 must be as aligned as that required by any value stored on the stack.
6559 Further, every function must be generated such that it keeps the stack
6560 aligned.  Thus calling a function compiled with a higher preferred
6561 stack boundary from a function compiled with a lower preferred stack
6562 boundary will most likely misalign the stack.  It is recommended that
6563 libraries that use callbacks always use the default setting.
6564 .Sp
6565 This extra alignment does consume extra stack space, and generally
6566 increases code size.  Code that is sensitive to stack space usage, such
6567 as embedded systems and operating system kernels, may want to reduce the
6568 preferred alignment to \fB\-mpreferred-stack-boundary=2\fR.
6569 .Ip "\fB\-mmmx\fR" 4
6570 .Ip "\fB\-mno-mmx\fR" 4
6571 .Ip "\fB\-msse\fR" 4
6572 .Ip "\fB\-mno-sse\fR" 4
6573 .Ip "\fB\-msse2\fR" 4
6574 .Ip "\fB\-mno-sse2\fR" 4
6575 .Ip "\fB\-msse3\fR" 4
6576 .Ip "\fB\-mno-sse3\fR" 4
6577 .Ip "\fB\-m3dnow\fR" 4
6578 .Ip "\fB\-mno-3dnow\fR" 4
6579 These switches enable or disable the use of built-in functions that allow
6580 direct access to the \s-1MMX\s0, \s-1SSE\s0, \s-1SSE2\s0, \s-1SSE3\s0 and 3Dnow extensions of the
6581 instruction set.
6582 .Sp
6583 To have \s-1SSE/SSE2\s0 instructions generated automatically from floating-point
6584 code, see \fB\-mfpmath=sse\fR.
6585 .Ip "\fB\-mpush-args\fR" 4
6586 .Ip "\fB\-mno-push-args\fR" 4
6587 Use \s-1PUSH\s0 operations to store outgoing parameters.  This method is shorter
6588 and usually equally fast as method using \s-1SUB/MOV\s0 operations and is enabled
6589 by default.  In some cases disabling it may improve performance because of
6590 improved scheduling and reduced dependencies.
6591 .Ip "\fB\-maccumulate-outgoing-args\fR" 4
6592 If enabled, the maximum amount of space required for outgoing arguments will be
6593 computed in the function prologue.  This is faster on most modern CPUs
6594 because of reduced dependencies, improved scheduling and reduced stack usage
6595 when preferred stack boundary is not equal to 2.  The drawback is a notable
6596 increase in code size.  This switch implies \fB\-mno-push-args\fR.
6597 .Ip "\fB\-mthreads\fR" 4
6598 Support thread-safe exception handling on \fBMingw32\fR.  Code that relies
6599 on thread-safe exception handling must compile and link all code with the
6600 \fB\-mthreads\fR option.  When compiling, \fB\-mthreads\fR defines
6601 \fB\-D_MT\fR; when linking, it links in a special thread helper library
6602 \fB\-lmingwthrd\fR which cleans up per thread exception handling data.
6603 .Ip "\fB\-mno-align-stringops\fR" 4
6604 Do not align destination of inlined string operations.  This switch reduces
6605 code size and improves performance in case the destination is already aligned,
6606 but \s-1GCC\s0 doesn't know about it.
6607 .Ip "\fB\-minline-all-stringops\fR" 4
6608 By default \s-1GCC\s0 inlines string operations only when destination is known to be
6609 aligned at least to 4 byte boundary.  This enables more inlining, increase code
6610 size, but may improve performance of code that depends on fast memcpy, strlen
6611 and memset for short lengths.
6612 .Ip "\fB\-momit-leaf-frame-pointer\fR" 4
6613 Don't keep the frame pointer in a register for leaf functions.  This
6614 avoids the instructions to save, set up and restore frame pointers and
6615 makes an extra register available in leaf functions.  The option
6616 \fB\-fomit-frame-pointer\fR removes the frame pointer for all functions
6617 which might make debugging harder.
6618 .Ip "\fB\-mtls-direct-seg-refs\fR" 4
6619 .Ip "\fB\-mno-tls-direct-seg-refs\fR" 4
6620 Controls whether \s-1TLS\s0 variables may be accessed with offsets from the
6621 \s-1TLS\s0 segment register (\f(CW%gs\fR for 32-bit, \f(CW%fs\fR for 64-bit),
6622 or whether the thread base pointer must be added.  Whether or not this
6623 is legal depends on the operating system, and whether it maps the
6624 segment to cover the entire \s-1TLS\s0 area.
6625 .Sp
6626 For systems that use \s-1GNU\s0 libc, the default is on.
6627 .PP
6628 These \fB\-m\fR switches are supported in addition to the above
6629 on \s-1AMD\s0 x86-64 processors in 64-bit environments.
6630 .Ip "\fB\-m32\fR" 4
6631 .Ip "\fB\-m64\fR" 4
6632 Generate code for a 32-bit or 64-bit environment.
6633 The 32-bit environment sets int, long and pointer to 32 bits and
6634 generates code that runs on any i386 system.
6635 The 64-bit environment sets int to 32 bits and long and pointer
6636 to 64 bits and generates code for \s-1AMD\s0's x86-64 architecture.
6637 .Ip "\fB\-mno-red-zone\fR" 4
6638 Do not use a so called red zone for x86-64 code.  The red zone is mandated
6639 by the x86-64 \s-1ABI\s0, it is a 128-byte area beyond the location of the
6640 stack pointer that will not be modified by signal or interrupt handlers
6641 and therefore can be used for temporary data without adjusting the stack
6642 pointer.  The flag \fB\-mno-red-zone\fR disables this red zone.
6643 .Ip "\fB\-mcmodel=small\fR" 4
6644 Generate code for the small code model: the program and its symbols must
6645 be linked in the lower 2 \s-1GB\s0 of the address space.  Pointers are 64 bits.
6646 Programs can be statically or dynamically linked.  This is the default
6647 code model.
6648 .Ip "\fB\-mcmodel=kernel\fR" 4
6649 Generate code for the kernel code model.  The kernel runs in the
6650 negative 2 \s-1GB\s0 of the address space.
6651 This model has to be used for Linux kernel code.
6652 .Ip "\fB\-mcmodel=medium\fR" 4
6653 Generate code for the medium model: The program is linked in the lower 2
6654 \s-1GB\s0 of the address space but symbols can be located anywhere in the
6655 address space.  Programs can be statically or dynamically linked, but
6656 building of shared libraries are not supported with the medium model.
6657 .Ip "\fB\-mcmodel=large\fR" 4
6658 Generate code for the large model: This model makes no assumptions
6659 about addresses and sizes of sections.  Currently \s-1GCC\s0 does not implement
6660 this model.
6661 These \fB\-m\fR options are defined for the \s-1HPPA\s0 family of computers:
6662 .Ip "\fB\-march=\fR\fIarchitecture-type\fR" 4
6663 Generate code for the specified architecture.  The choices for
6664 \fIarchitecture-type\fR are \fB1.0\fR for \s-1PA\s0 1.0, \fB1.1\fR for \s-1PA\s0
6665 1.1, and \fB2.0\fR for \s-1PA\s0 2.0 processors.  Refer to
6666 \fI/usr/lib/sched.models\fR on an \s-1HP\s0\-\s-1UX\s0 system to determine the proper
6667 architecture option for your machine.  Code compiled for lower numbered
6668 architectures will run on higher numbered architectures, but not the
6669 other way around.
6670 .Sp
6671 \s-1PA\s0 2.0 support currently requires gas snapshot 19990413 or later.  The
6672 next release of binutils (current is 2.9.1) will probably contain \s-1PA\s0 2.0
6673 support.
6674 .Ip "\fB\-mpa-risc-1-0\fR" 4
6675 .Ip "\fB\-mpa-risc-1-1\fR" 4
6676 .Ip "\fB\-mpa-risc-2-0\fR" 4
6677 Synonyms for \fB\-march=1.0\fR, \fB\-march=1.1\fR, and \fB\-march=2.0\fR respectively.
6678 .Ip "\fB\-mbig-switch\fR" 4
6679 Generate code suitable for big switch tables.  Use this option only if
6680 the assembler/linker complain about out of range branches within a switch
6681 table.
6682 .Ip "\fB\-mjump-in-delay\fR" 4
6683 Fill delay slots of function calls with unconditional jump instructions
6684 by modifying the return pointer for the function call to be the target
6685 of the conditional jump.
6686 .Ip "\fB\-mdisable-fpregs\fR" 4
6687 Prevent floating point registers from being used in any manner.  This is
6688 necessary for compiling kernels which perform lazy context switching of
6689 floating point registers.  If you use this option and attempt to perform
6690 floating point operations, the compiler will abort.
6691 .Ip "\fB\-mdisable-indexing\fR" 4
6692 Prevent the compiler from using indexing address modes.  This avoids some
6693 rather obscure problems when compiling \s-1MIG\s0 generated code under \s-1MACH\s0.
6694 .Ip "\fB\-mno-space-regs\fR" 4
6695 Generate code that assumes the target has no space registers.  This allows
6696 \s-1GCC\s0 to generate faster indirect calls and use unscaled index address modes.
6697 .Sp
6698 Such code is suitable for level 0 \s-1PA\s0 systems and kernels.
6699 .Ip "\fB\-mfast-indirect-calls\fR" 4
6700 Generate code that assumes calls never cross space boundaries.  This
6701 allows \s-1GCC\s0 to emit code which performs faster indirect calls.
6702 .Sp
6703 This option will not work in the presence of shared libraries or nested
6704 functions.
6705 .Ip "\fB\-mlong-load-store\fR" 4
6706 Generate 3-instruction load and store sequences as sometimes required by
6707 the \s-1HP\s0\-\s-1UX\s0 10 linker.  This is equivalent to the \fB+k\fR option to
6708 the \s-1HP\s0 compilers.
6709 .Ip "\fB\-mportable-runtime\fR" 4
6710 Use the portable calling conventions proposed by \s-1HP\s0 for \s-1ELF\s0 systems.
6711 .Ip "\fB\-mgas\fR" 4
6712 Enable the use of assembler directives only \s-1GAS\s0 understands.
6713 .Ip "\fB\-mschedule=\fR\fIcpu-type\fR" 4
6714 Schedule code according to the constraints for the machine type
6715 \fIcpu-type\fR.  The choices for \fIcpu-type\fR are \fB700\fR
6716 \fB7100\fR, \fB7100LC\fR, \fB7200\fR, \fB7300\fR and \fB8000\fR.  Refer
6717 to \fI/usr/lib/sched.models\fR on an \s-1HP\s0\-\s-1UX\s0 system to determine the
6718 proper scheduling option for your machine.  The default scheduling is
6719 \fB8000\fR.
6720 .Ip "\fB\-mlinker-opt\fR" 4
6721 Enable the optimization pass in the \s-1HP\s0\-\s-1UX\s0 linker.  Note this makes symbolic
6722 debugging impossible.  It also triggers a bug in the \s-1HP\s0\-\s-1UX\s0 8 and \s-1HP\s0\-\s-1UX\s0 9
6723 linkers in which they give bogus error messages when linking some programs.
6724 .Ip "\fB\-msoft-float\fR" 4
6725 Generate output containing library calls for floating point.
6726 \fBWarning:\fR the requisite libraries are not available for all \s-1HPPA\s0
6727 targets.  Normally the facilities of the machine's usual C compiler are
6728 used, but this cannot be done directly in cross-compilation.  You must make
6729 your own arrangements to provide suitable library functions for
6730 cross-compilation.  The embedded target \fBhppa1.1-*\-pro\fR
6731 does provide software floating point support.
6732 .Sp
6733 \fB\-msoft-float\fR changes the calling convention in the output file;
6734 therefore, it is only useful if you compile \fIall\fR of a program with
6735 this option.  In particular, you need to compile \fIlibgcc.a\fR, the
6736 library that comes with \s-1GCC\s0, with \fB\-msoft-float\fR in order for
6737 this to work.
6738 .Ip "\fB\-msio\fR" 4
6739 Generate the predefine, \f(CW_SIO\fR, for server \s-1IO\s0.  The default is
6740 \fB\-mwsio\fR.  This generates the predefines, \f(CW__hp9000s700\fR,
6741 \f(CW__hp9000s700__\fR and \f(CW_WSIO\fR, for workstation \s-1IO\s0.  These
6742 options are available under \s-1HP\s0\-\s-1UX\s0 and \s-1HI\s0\-\s-1UX\s0.
6743 .Ip "\fB\-mgnu-ld\fR" 4
6744 Use \s-1GNU\s0 ld specific options.  This passes \fB\-shared\fR to ld when
6745 building a shared library.  It is the default when \s-1GCC\s0 is configured,
6746 explicitly or implicitly, with the \s-1GNU\s0 linker.  This option does not
6747 have any affect on which ld is called, it only changes what parameters
6748 are passed to that ld.  The ld that is called is determined by the
6749 \fB--with-ld\fR configure option, \s-1GCC\s0's program search path, and
6750 finally by the user's \fB\s-1PATH\s0\fR.  The linker used by \s-1GCC\s0 can be printed
6751 using \fBwhich `gcc \-print-prog-name=ld`\fR.
6752 .Ip "\fB\-mhp-ld\fR" 4
6753 Use \s-1HP\s0 ld specific options.  This passes \fB\-b\fR to ld when building
6754 a shared library and passes \fB+Accept TypeMismatch\fR to ld on all
6755 links.  It is the default when \s-1GCC\s0 is configured, explicitly or
6756 implicitly, with the \s-1HP\s0 linker.  This option does not have any affect on
6757 which ld is called, it only changes what parameters are passed to that
6758 ld.  The ld that is called is determined by the \fB--with-ld\fR
6759 configure option, \s-1GCC\s0's program search path, and finally by the user's
6760 \fB\s-1PATH\s0\fR.  The linker used by \s-1GCC\s0 can be printed using \fBwhich
6761 `gcc \-print-prog-name=ld`\fR.
6762 .Ip "\fB\-mlong-calls\fR" 4
6763 Generate code that uses long call sequences.  This ensures that a call
6764 is always able to reach linker generated stubs.  The default is to generate
6765 long calls only when the distance from the call site to the beginning
6766 of the function or translation unit, as the case may be, exceeds a
6767 predefined limit set by the branch type being used.  The limits for
6768 normal calls are 7,600,000 and 240,000 bytes, respectively for the
6769 \s-1PA\s0 2.0 and \s-1PA\s0 1.X architectures.  Sibcalls are always limited at
6770 240,000 bytes.
6771 .Sp
6772 Distances are measured from the beginning of functions when using the
6773 \fB\-ffunction-sections\fR option, or when using the \fB\-mgas\fR
6774 and \fB\-mno-portable-runtime\fR options together under \s-1HP\s0\-\s-1UX\s0 with
6775 the \s-1SOM\s0 linker.
6776 .Sp
6777 It is normally not desirable to use this option as it will degrade
6778 performance.  However, it may be useful in large applications,
6779 particularly when partial linking is used to build the application.
6780 .Sp
6781 The types of long calls used depends on the capabilities of the
6782 assembler and linker, and the type of code being generated.  The
6783 impact on systems that support long absolute calls, and long pic
6784 symbol-difference or pc-relative calls should be relatively small.
6785 However, an indirect call is used on 32-bit \s-1ELF\s0 systems in pic code
6786 and it is quite long.
6787 .Ip "\fB\-nolibdld\fR" 4
6788 Suppress the generation of link options to search libdld.sl when the
6789 \fB\-static\fR option is specified on \s-1HP\s0\-\s-1UX\s0 10 and later.
6790 .Ip "\fB\-static\fR" 4
6791 The \s-1HP\s0\-\s-1UX\s0 implementation of setlocale in libc has a dependency on
6792 libdld.sl.  There isn't an archive version of libdld.sl.  Thus,
6793 when the \fB\-static\fR option is specified, special link options
6794 are needed to resolve this dependency.
6795 .Sp
6796 On \s-1HP\s0\-\s-1UX\s0 10 and later, the \s-1GCC\s0 driver adds the necessary options to
6797 link with libdld.sl when the \fB\-static\fR option is specified.
6798 This causes the resulting binary to be dynamic.  On the 64-bit port,
6799 the linkers generate dynamic binaries by default in any case.  The
6800 \fB\-nolibdld\fR option can be used to prevent the \s-1GCC\s0 driver from
6801 adding these link options.
6802 .Ip "\fB\-threads\fR" 4
6803 Add support for multithreading with the \fIdce thread\fR library
6804 under \s-1HP\s0\-\s-1UX\s0.  This option sets flags for both the preprocessor and
6805 linker.
6806 These \fB\-m\fR options are defined for the Intel 960 implementations:
6807 .Ip "\fB\-m\fR\fIcpu-type\fR" 4
6808 Assume the defaults for the machine type \fIcpu-type\fR for some of
6809 the other options, including instruction scheduling, floating point
6810 support, and addressing modes.  The choices for \fIcpu-type\fR are
6811 \fBka\fR, \fBkb\fR, \fBmc\fR, \fBca\fR, \fBcf\fR,
6812 \fBsa\fR, and \fBsb\fR.
6813 The default is
6814 \fBkb\fR.
6815 .Ip "\fB\-mnumerics\fR" 4
6816 .Ip "\fB\-msoft-float\fR" 4
6817 The \fB\-mnumerics\fR option indicates that the processor does support
6818 floating-point instructions.  The \fB\-msoft-float\fR option indicates
6819 that floating-point support should not be assumed.
6820 .Ip "\fB\-mleaf-procedures\fR" 4
6821 .Ip "\fB\-mno-leaf-procedures\fR" 4
6822 Do (or do not) attempt to alter leaf procedures to be callable with the
6823 \f(CWbal\fR instruction as well as \f(CWcall\fR.  This will result in more
6824 efficient code for explicit calls when the \f(CWbal\fR instruction can be
6825 substituted by the assembler or linker, but less efficient code in other
6826 cases, such as calls via function pointers, or using a linker that doesn't
6827 support this optimization.
6828 .Ip "\fB\-mtail-call\fR" 4
6829 .Ip "\fB\-mno-tail-call\fR" 4
6830 Do (or do not) make additional attempts (beyond those of the
6831 machine-independent portions of the compiler) to optimize tail-recursive
6832 calls into branches.  You may not want to do this because the detection of
6833 cases where this is not valid is not totally complete.  The default is
6834 \fB\-mno-tail-call\fR.
6835 .Ip "\fB\-mcomplex-addr\fR" 4
6836 .Ip "\fB\-mno-complex-addr\fR" 4
6837 Assume (or do not assume) that the use of a complex addressing mode is a
6838 win on this implementation of the i960.  Complex addressing modes may not
6839 be worthwhile on the K\-series, but they definitely are on the C\-series.
6840 The default is currently \fB\-mcomplex-addr\fR for all processors except
6841 the \s-1CB\s0 and \s-1CC\s0.
6842 .Ip "\fB\-mcode-align\fR" 4
6843 .Ip "\fB\-mno-code-align\fR" 4
6844 Align code to 8-byte boundaries for faster fetching (or don't bother).
6845 Currently turned on by default for C\-series implementations only.
6846 .Ip "\fB\-mic-compat\fR" 4
6847 .Ip "\fB\-mic2.0-compat\fR" 4
6848 .Ip "\fB\-mic3.0-compat\fR" 4
6849 Enable compatibility with iC960 v2.0 or v3.0.
6850 .Ip "\fB\-masm-compat\fR" 4
6851 .Ip "\fB\-mintel-asm\fR" 4
6852 Enable compatibility with the iC960 assembler.
6853 .Ip "\fB\-mstrict-align\fR" 4
6854 .Ip "\fB\-mno-strict-align\fR" 4
6855 Do not permit (do permit) unaligned accesses.
6856 .Ip "\fB\-mold-align\fR" 4
6857 Enable structure-alignment compatibility with Intel's gcc release version
6858 1.3 (based on gcc 1.37).  This option implies \fB\-mstrict-align\fR.
6859 .Ip "\fB\-mlong-double-64\fR" 4
6860 Implement type \fBlong double\fR as 64-bit floating point numbers.
6861 Without the option \fBlong double\fR is implemented by 80-bit
6862 floating point numbers.  The only reason we have it because there is
6863 no 128-bit \fBlong double\fR support in \fBfp-bit.c\fR yet.  So it
6864 is only useful for people using soft-float targets.  Otherwise, we
6865 should recommend against use of it.
6866 These \fB\-m\fR options are defined for the \s-1DEC\s0 Alpha implementations:
6867 .Ip "\fB\-mno-soft-float\fR" 4
6868 .Ip "\fB\-msoft-float\fR" 4
6869 Use (do not use) the hardware floating-point instructions for
6870 floating-point operations.  When \fB\-msoft-float\fR is specified,
6871 functions in \fIlibgcc.a\fR will be used to perform floating-point
6872 operations.  Unless they are replaced by routines that emulate the
6873 floating-point operations, or compiled in such a way as to call such
6874 emulations routines, these routines will issue floating-point
6875 operations.   If you are compiling for an Alpha without floating-point
6876 operations, you must ensure that the library is built so as not to call
6877 them.
6878 .Sp
6879 Note that Alpha implementations without floating-point operations are
6880 required to have floating-point registers.
6881 .Ip "\fB\-mfp-reg\fR" 4
6882 .Ip "\fB\-mno-fp-regs\fR" 4
6883 Generate code that uses (does not use) the floating-point register set.
6884 \fB\-mno-fp-regs\fR implies \fB\-msoft-float\fR.  If the floating-point
6885 register set is not used, floating point operands are passed in integer
6886 registers as if they were integers and floating-point results are passed
6887 in \f(CW$0\fR instead of \f(CW$f0\fR.  This is a non-standard calling sequence,
6888 so any function with a floating-point argument or return value called by code
6889 compiled with \fB\-mno-fp-regs\fR must also be compiled with that
6890 option.
6891 .Sp
6892 A typical use of this option is building a kernel that does not use,
6893 and hence need not save and restore, any floating-point registers.
6894 .Ip "\fB\-mieee\fR" 4
6895 The Alpha architecture implements floating-point hardware optimized for
6896 maximum performance.  It is mostly compliant with the \s-1IEEE\s0 floating
6897 point standard.  However, for full compliance, software assistance is
6898 required.  This option generates code fully \s-1IEEE\s0 compliant code
6899 \fIexcept\fR that the \fIinexact-flag\fR is not maintained (see below).
6900 If this option is turned on, the preprocessor macro \f(CW_IEEE_FP\fR is
6901 defined during compilation.  The resulting code is less efficient but is
6902 able to correctly support denormalized numbers and exceptional \s-1IEEE\s0
6903 values such as not-a-number and plus/minus infinity.  Other Alpha
6904 compilers call this option \fB\-ieee_with_no_inexact\fR.
6905 .Ip "\fB\-mieee-with-inexact\fR" 4
6906 This is like \fB\-mieee\fR except the generated code also maintains
6907 the \s-1IEEE\s0 \fIinexact-flag\fR.  Turning on this option causes the
6908 generated code to implement fully-compliant \s-1IEEE\s0 math.  In addition to
6909 \f(CW_IEEE_FP\fR, \f(CW_IEEE_FP_EXACT\fR is defined as a preprocessor
6910 macro.  On some Alpha implementations the resulting code may execute
6911 significantly slower than the code generated by default.  Since there is
6912 very little code that depends on the \fIinexact-flag\fR, you should
6913 normally not specify this option.  Other Alpha compilers call this
6914 option \fB\-ieee_with_inexact\fR.
6915 .Ip "\fB\-mfp-trap-mode=\fR\fItrap-mode\fR" 4
6916 This option controls what floating-point related traps are enabled.
6917 Other Alpha compilers call this option \fB\-fptm\fR \fItrap-mode\fR.
6918 The trap mode can be set to one of four values:
6919 .Ip "\fBn\fR" 8
6920 This is the default (normal) setting.  The only traps that are enabled
6921 are the ones that cannot be disabled in software (e.g., division by zero
6922 trap).
6923 .Ip "\fBu\fR" 8
6924 In addition to the traps enabled by \fBn\fR, underflow traps are enabled
6925 as well.
6926 .Ip "\fBsu\fR" 8
6927 Like \fBsu\fR, but the instructions are marked to be safe for software
6928 completion (see Alpha architecture manual for details).
6929 .Ip "\fBsui\fR" 8
6930 Like \fBsu\fR, but inexact traps are enabled as well.
6931 .Ip "\fB\-mfp-rounding-mode=\fR\fIrounding-mode\fR" 4
6932 Selects the \s-1IEEE\s0 rounding mode.  Other Alpha compilers call this option
6933 \fB\-fprm\fR \fIrounding-mode\fR.  The \fIrounding-mode\fR can be one
6934 of:
6935 .Ip "\fBn\fR" 8
6936 Normal \s-1IEEE\s0 rounding mode.  Floating point numbers are rounded towards
6937 the nearest machine number or towards the even machine number in case
6938 of a tie.
6939 .Ip "\fBm\fR" 8
6940 Round towards minus infinity.
6941 .Ip "\fBc\fR" 8
6942 Chopped rounding mode.  Floating point numbers are rounded towards zero.
6943 .Ip "\fBd\fR" 8
6944 Dynamic rounding mode.  A field in the floating point control register
6945 (\fIfpcr\fR, see Alpha architecture reference manual) controls the
6946 rounding mode in effect.  The C library initializes this register for
6947 rounding towards plus infinity.  Thus, unless your program modifies the
6948 \fIfpcr\fR, \fBd\fR corresponds to round towards plus infinity.
6949 .Ip "\fB\-mtrap-precision=\fR\fItrap-precision\fR" 4
6950 In the Alpha architecture, floating point traps are imprecise.  This
6951 means without software assistance it is impossible to recover from a
6952 floating trap and program execution normally needs to be terminated.
6953 \s-1GCC\s0 can generate code that can assist operating system trap handlers
6954 in determining the exact location that caused a floating point trap.
6955 Depending on the requirements of an application, different levels of
6956 precisions can be selected:
6957 .Ip "\fBp\fR" 8
6958 Program precision.  This option is the default and means a trap handler
6959 can only identify which program caused a floating point exception.
6960 .Ip "\fBf\fR" 8
6961 Function precision.  The trap handler can determine the function that
6962 caused a floating point exception.
6963 .Ip "\fBi\fR" 8
6964 Instruction precision.  The trap handler can determine the exact
6965 instruction that caused a floating point exception.
6966 .Sp
6967 Other Alpha compilers provide the equivalent options called
6968 \fB\-scope_safe\fR and \fB\-resumption_safe\fR.
6969 .Ip "\fB\-mieee-conformant\fR" 4
6970 This option marks the generated code as \s-1IEEE\s0 conformant.  You must not
6971 use this option unless you also specify \fB\-mtrap-precision=i\fR and either
6972 \fB\-mfp-trap-mode=su\fR or \fB\-mfp-trap-mode=sui\fR.  Its only effect
6973 is to emit the line \fB.eflag 48\fR in the function prologue of the
6974 generated assembly file.  Under \s-1DEC\s0 Unix, this has the effect that
6975 \s-1IEEE\s0\-conformant math library routines will be linked in.
6976 .Ip "\fB\-mbuild-constants\fR" 4
6977 Normally \s-1GCC\s0 examines a 32- or 64-bit integer constant to
6978 see if it can construct it from smaller constants in two or three
6979 instructions.  If it cannot, it will output the constant as a literal and
6980 generate code to load it from the data segment at runtime.
6981 .Sp
6982 Use this option to require \s-1GCC\s0 to construct \fIall\fR integer constants
6983 using code, even if it takes more instructions (the maximum is six).
6984 .Sp
6985 You would typically use this option to build a shared library dynamic
6986 loader.  Itself a shared library, it must relocate itself in memory
6987 before it can find the variables and constants in its own data segment.
6988 .Ip "\fB\-malpha-as\fR" 4
6989 .Ip "\fB\-mgas\fR" 4
6990 Select whether to generate code to be assembled by the vendor-supplied
6991 assembler (\fB\-malpha-as\fR) or by the \s-1GNU\s0 assembler \fB\-mgas\fR.
6992 .Ip "\fB\-mbwx\fR" 4
6993 .Ip "\fB\-mno-bwx\fR" 4
6994 .Ip "\fB\-mcix\fR" 4
6995 .Ip "\fB\-mno-cix\fR" 4
6996 .Ip "\fB\-mfix\fR" 4
6997 .Ip "\fB\-mno-fix\fR" 4
6998 .Ip "\fB\-mmax\fR" 4
6999 .Ip "\fB\-mno-max\fR" 4
7000 Indicate whether \s-1GCC\s0 should generate code to use the optional \s-1BWX\s0,
7001 \s-1CIX\s0, \s-1FIX\s0 and \s-1MAX\s0 instruction sets.  The default is to use the instruction
7002 sets supported by the \s-1CPU\s0 type specified via \fB\-mcpu=\fR option or that
7003 of the \s-1CPU\s0 on which \s-1GCC\s0 was built if none was specified.
7004 .Ip "\fB\-mfloat-vax\fR" 4
7005 .Ip "\fB\-mfloat-ieee\fR" 4
7006 Generate code that uses (does not use) \s-1VAX\s0 F and G floating point
7007 arithmetic instead of \s-1IEEE\s0 single and double precision.
7008 .Ip "\fB\-mexplicit-relocs\fR" 4
7009 .Ip "\fB\-mno-explicit-relocs\fR" 4
7010 Older Alpha assemblers provided no way to generate symbol relocations
7011 except via assembler macros.  Use of these macros does not allow
7012 optimal instruction scheduling.  \s-1GNU\s0 binutils as of version 2.12
7013 supports a new syntax that allows the compiler to explicitly mark
7014 which relocations should apply to which instructions.  This option
7015 is mostly useful for debugging, as \s-1GCC\s0 detects the capabilities of
7016 the assembler when it is built and sets the default accordingly.
7017 .Ip "\fB\-msmall-data\fR" 4
7018 .Ip "\fB\-mlarge-data\fR" 4
7019 When \fB\-mexplicit-relocs\fR is in effect, static data is
7020 accessed via \fIgp-relative\fR relocations.  When \fB\-msmall-data\fR
7021 is used, objects 8 bytes long or smaller are placed in a \fIsmall data area\fR
7022 (the \f(CW.sdata\fR and \f(CW.sbss\fR sections) and are accessed via
7023 16-bit relocations off of the \f(CW$gp\fR register.  This limits the
7024 size of the small data area to 64KB, but allows the variables to be
7025 directly accessed via a single instruction.
7026 .Sp
7027 The default is \fB\-mlarge-data\fR.  With this option the data area
7028 is limited to just below 2GB.  Programs that require more than 2GB of
7029 data must use \f(CWmalloc\fR or \f(CWmmap\fR to allocate the data in the
7030 heap instead of in the program's data segment.
7031 .Sp
7032 When generating code for shared libraries, \fB\-fpic\fR implies
7033 \fB\-msmall-data\fR and \fB\-fPIC\fR implies \fB\-mlarge-data\fR.
7034 .Ip "\fB\-msmall-text\fR" 4
7035 .Ip "\fB\-mlarge-text\fR" 4
7036 When \fB\-msmall-text\fR is used, the compiler assumes that the
7037 code of the entire program (or shared library) fits in 4MB, and is
7038 thus reachable with a branch instruction.  When \fB\-msmall-data\fR
7039 is used, the compiler can assume that all local symbols share the
7040 same \f(CW$gp\fR value, and thus reduce the number of instructions
7041 required for a function call from 4 to 1.
7042 .Sp
7043 The default is \fB\-mlarge-text\fR.
7044 .Ip "\fB\-mcpu=\fR\fIcpu_type\fR" 4
7045 Set the instruction set and instruction scheduling parameters for
7046 machine type \fIcpu_type\fR.  You can specify either the \fB\s-1EV\s0\fR
7047 style name or the corresponding chip number.  \s-1GCC\s0 supports scheduling
7048 parameters for the \s-1EV4\s0, \s-1EV5\s0 and \s-1EV6\s0 family of processors and will
7049 choose the default values for the instruction set from the processor
7050 you specify.  If you do not specify a processor type, \s-1GCC\s0 will default
7051 to the processor on which the compiler was built.
7052 .Sp
7053 Supported values for \fIcpu_type\fR are
7054 .Ip "\fBev4\fR" 8
7055 .Ip "\fBev45\fR" 8
7056 .Ip "\fB21064\fR" 8
7057 Schedules as an \s-1EV4\s0 and has no instruction set extensions.
7058 .Ip "\fBev5\fR" 8
7059 .Ip "\fB21164\fR" 8
7060 Schedules as an \s-1EV5\s0 and has no instruction set extensions.
7061 .Ip "\fBev56\fR" 8
7062 .Ip "\fB21164a\fR" 8
7063 Schedules as an \s-1EV5\s0 and supports the \s-1BWX\s0 extension.
7064 .Ip "\fBpca56\fR" 8
7065 .Ip "\fB21164pc\fR" 8
7066 .Ip "\fB21164PC\fR" 8
7067 Schedules as an \s-1EV5\s0 and supports the \s-1BWX\s0 and \s-1MAX\s0 extensions.
7068 .Ip "\fBev6\fR" 8
7069 .Ip "\fB21264\fR" 8
7070 Schedules as an \s-1EV6\s0 and supports the \s-1BWX\s0, \s-1FIX\s0, and \s-1MAX\s0 extensions.
7071 .Ip "\fBev67\fR" 8
7072 .Ip "\fB21264a\fR" 8
7073 Schedules as an \s-1EV6\s0 and supports the \s-1BWX\s0, \s-1CIX\s0, \s-1FIX\s0, and \s-1MAX\s0 extensions.
7074 .Ip "\fB\-mtune=\fR\fIcpu_type\fR" 4
7075 Set only the instruction scheduling parameters for machine type
7076 \fIcpu_type\fR.  The instruction set is not changed.
7077 .Ip "\fB\-mmemory-latency=\fR\fItime\fR" 4
7078 Sets the latency the scheduler should assume for typical memory
7079 references as seen by the application.  This number is highly
7080 dependent on the memory access patterns used by the application
7081 and the size of the external cache on the machine.
7082 .Sp
7083 Valid options for \fItime\fR are
7084 .Ip "\fInumber\fR" 8
7085 A decimal number representing clock cycles.
7086 .Ip "\fBL1\fR" 8
7087 .Ip "\fBL2\fR" 8
7088 .Ip "\fBL3\fR" 8
7089 .Ip "\fBmain\fR" 8
7090 The compiler contains estimates of the number of clock cycles for
7091 ``typical'\*(R' \s-1EV4\s0 & \s-1EV5\s0 hardware for the Level 1, 2 & 3 caches
7092 (also called Dcache, Scache, and Bcache), as well as to main memory.
7093 Note that L3 is only valid for \s-1EV5\s0.
7094 These \fB\-m\fR options are defined for the \s-1DEC\s0 Alpha/\s-1VMS\s0 implementations:
7095 .Ip "\fB\-mvms-return-codes\fR" 4
7096 Return \s-1VMS\s0 condition codes from main.  The default is to return \s-1POSIX\s0
7097 style condition (e.g. error) codes.
7098 These \fB\-m\fR options are defined for the H8/300 implementations:
7099 .Ip "\fB\-mrelax\fR" 4
7100 Shorten some address references at link time, when possible; uses the
7101 linker option \fB\-relax\fR.  
7102 .Ip "\fB\-mh\fR" 4
7103 Generate code for the H8/300H.
7104 .Ip "\fB\-ms\fR" 4
7105 Generate code for the H8S.
7106 .Ip "\fB\-mn\fR" 4
7107 Generate code for the H8S and H8/300H in the normal mode.  This switch
7108 must be used either with \-mh or \-ms.
7109 .Ip "\fB\-ms2600\fR" 4
7110 Generate code for the H8S/2600.  This switch must be used with \fB\-ms\fR.
7111 .Ip "\fB\-mint32\fR" 4
7112 Make \f(CWint\fR data 32 bits by default.
7113 .Ip "\fB\-malign-300\fR" 4
7114 On the H8/300H and H8S, use the same alignment rules as for the H8/300.
7115 The default for the H8/300H and H8S is to align longs and floats on 4
7116 byte boundaries.
7117 \fB\-malign-300\fR causes them to be aligned on 2 byte boundaries.
7118 This option has no effect on the H8/300.
7119 These \fB\-m\fR options are defined for the \s-1SH\s0 implementations:
7120 .Ip "\fB\-m1\fR" 4
7121 Generate code for the \s-1SH1\s0.
7122 .Ip "\fB\-m2\fR" 4
7123 Generate code for the \s-1SH2\s0.
7124 .Ip "\fB\-m2e\fR" 4
7125 Generate code for the SH2e.
7126 .Ip "\fB\-m3\fR" 4
7127 Generate code for the \s-1SH3\s0.
7128 .Ip "\fB\-m3e\fR" 4
7129 Generate code for the SH3e.
7130 .Ip "\fB\-m4-nofpu\fR" 4
7131 Generate code for the \s-1SH4\s0 without a floating-point unit.
7132 .Ip "\fB\-m4-single-only\fR" 4
7133 Generate code for the \s-1SH4\s0 with a floating-point unit that only
7134 supports single-precision arithmetic.
7135 .Ip "\fB\-m4-single\fR" 4
7136 Generate code for the \s-1SH4\s0 assuming the floating-point unit is in
7137 single-precision mode by default.
7138 .Ip "\fB\-m4\fR" 4
7139 Generate code for the \s-1SH4\s0.
7140 .Ip "\fB\-mb\fR" 4
7141 Compile code for the processor in big endian mode.
7142 .Ip "\fB\-ml\fR" 4
7143 Compile code for the processor in little endian mode.
7144 .Ip "\fB\-mdalign\fR" 4
7145 Align doubles at 64-bit boundaries.  Note that this changes the calling
7146 conventions, and thus some functions from the standard C library will
7147 not work unless you recompile it first with \fB\-mdalign\fR.
7148 .Ip "\fB\-mrelax\fR" 4
7149 Shorten some address references at link time, when possible; uses the
7150 linker option \fB\-relax\fR.
7151 .Ip "\fB\-mbigtable\fR" 4
7152 Use 32-bit offsets in \f(CWswitch\fR tables.  The default is to use
7153 16-bit offsets.
7154 .Ip "\fB\-mfmovd\fR" 4
7155 Enable the use of the instruction \f(CWfmovd\fR.
7156 .Ip "\fB\-mhitachi\fR" 4
7157 Comply with the calling conventions defined by Renesas.
7158 .Ip "\fB\-mnomacsave\fR" 4
7159 Mark the \f(CWMAC\fR register as call-clobbered, even if
7160 \fB\-mhitachi\fR is given.
7161 .Ip "\fB\-mieee\fR" 4
7162 Increase \s-1IEEE\s0\-compliance of floating-point code.
7163 .Ip "\fB\-misize\fR" 4
7164 Dump instruction size and location in the assembly code.
7165 .Ip "\fB\-mpadstruct\fR" 4
7166 This option is deprecated.  It pads structures to multiple of 4 bytes,
7167 which is incompatible with the \s-1SH\s0 \s-1ABI\s0.
7168 .Ip "\fB\-mspace\fR" 4
7169 Optimize for space instead of speed.  Implied by \fB\-Os\fR.
7170 .Ip "\fB\-mprefergot\fR" 4
7171 When generating position-independent code, emit function calls using
7172 the Global Offset Table instead of the Procedure Linkage Table.
7173 .Ip "\fB\-musermode\fR" 4
7174 Generate a library function call to invalidate instruction cache
7175 entries, after fixing up a trampoline.  This library function call
7176 doesn't assume it can write to the whole memory address space.  This
7177 is the default when the target is \f(CWsh-*-linux*\fR.
7178 These additional options are available on System V Release 4 for
7179 compatibility with other compilers on those systems:
7180 .Ip "\fB\-G\fR" 4
7181 Create a shared object.
7182 It is recommended that \fB\-symbolic\fR or \fB\-shared\fR be used instead.
7183 .Ip "\fB\-Qy\fR" 4
7184 Identify the versions of each tool used by the compiler, in a
7185 \&\f(CW.ident\fR assembler directive in the output.
7186 .Ip "\fB\-Qn\fR" 4
7187 Refrain from adding \f(CW.ident\fR directives to the output file (this is
7188 the default).
7189 .Ip "\fB\-\s-1YP\s0,\fR\fIdirs\fR" 4
7190 Search the directories \fIdirs\fR, and no others, for libraries
7191 specified with \fB\-l\fR.
7192 .Ip "\fB\-Ym,\fR\fIdir\fR" 4
7193 Look in the directory \fIdir\fR to find the M4 preprocessor.
7194 The assembler uses this option.
7195 These \fB\-m\fR options are defined for TMS320C3x/C4x implementations:
7196 .Ip "\fB\-mcpu=\fR\fIcpu_type\fR" 4
7197 Set the instruction set, register set, and instruction scheduling
7198 parameters for machine type \fIcpu_type\fR.  Supported values for
7199 \fIcpu_type\fR are \fBc30\fR, \fBc31\fR, \fBc32\fR, \fBc40\fR, and
7200 \fBc44\fR.  The default is \fBc40\fR to generate code for the
7201 \s-1TMS320C40\s0.
7202 .Ip "\fB\-mbig-memory\fR" 4
7203 .Ip "\fB\-mbig\fR" 4
7204 .Ip "\fB\-msmall-memory\fR" 4
7205 .Ip "\fB\-msmall\fR" 4
7206 Generates code for the big or small memory model.  The small memory
7207 model assumed that all data fits into one 64K word page.  At run-time
7208 the data page (\s-1DP\s0) register must be set to point to the 64K page
7209 containing the .bss and .data program sections.  The big memory model is
7210 the default and requires reloading of the \s-1DP\s0 register for every direct
7211 memory access.
7212 .Ip "\fB\-mbk\fR" 4
7213 .Ip "\fB\-mno-bk\fR" 4
7214 Allow (disallow) allocation of general integer operands into the block
7215 count register \s-1BK\s0.
7216 .Ip "\fB\-mdb\fR" 4
7217 .Ip "\fB\-mno-db\fR" 4
7218 Enable (disable) generation of code using decrement and branch,
7219 \fIDBcond\fR\|(D), instructions.  This is enabled by default for the C4x.  To be
7220 on the safe side, this is disabled for the C3x, since the maximum
7221 iteration count on the C3x is 2^{23 + 1} (but who iterates loops more than
7222 2^{23} times on the C3x?).  Note that \s-1GCC\s0 will try to reverse a loop so
7223 that it can utilize the decrement and branch instruction, but will give
7224 up if there is more than one memory reference in the loop.  Thus a loop
7225 where the loop counter is decremented can generate slightly more
7226 efficient code, in cases where the \s-1RPTB\s0 instruction cannot be utilized.
7227 .Ip "\fB\-mdp-isr-reload\fR" 4
7228 .Ip "\fB\-mparanoid\fR" 4
7229 Force the \s-1DP\s0 register to be saved on entry to an interrupt service
7230 routine (\s-1ISR\s0), reloaded to point to the data section, and restored on
7231 exit from the \s-1ISR\s0.  This should not be required unless someone has
7232 violated the small memory model by modifying the \s-1DP\s0 register, say within
7233 an object library.
7234 .Ip "\fB\-mmpyi\fR" 4
7235 .Ip "\fB\-mno-mpyi\fR" 4
7236 For the C3x use the 24-bit \s-1MPYI\s0 instruction for integer multiplies
7237 instead of a library call to guarantee 32-bit results.  Note that if one
7238 of the operands is a constant, then the multiplication will be performed
7239 using shifts and adds.  If the \fB\-mmpyi\fR option is not specified for the C3x,
7240 then squaring operations are performed inline instead of a library call.
7241 .Ip "\fB\-mfast-fix\fR" 4
7242 .Ip "\fB\-mno-fast-fix\fR" 4
7243 The C3x/C4x \s-1FIX\s0 instruction to convert a floating point value to an
7244 integer value chooses the nearest integer less than or equal to the
7245 floating point value rather than to the nearest integer.  Thus if the
7246 floating point number is negative, the result will be incorrectly
7247 truncated an additional code is necessary to detect and correct this
7248 case.  This option can be used to disable generation of the additional
7249 code required to correct the result.
7250 .Ip "\fB\-mrptb\fR" 4
7251 .Ip "\fB\-mno-rptb\fR" 4
7252 Enable (disable) generation of repeat block sequences using the \s-1RPTB\s0
7253 instruction for zero overhead looping.  The \s-1RPTB\s0 construct is only used
7254 for innermost loops that do not call functions or jump across the loop
7255 boundaries.  There is no advantage having nested \s-1RPTB\s0 loops due to the
7256 overhead required to save and restore the \s-1RC\s0, \s-1RS\s0, and \s-1RE\s0 registers.
7257 This is enabled by default with \fB\-O2\fR.
7258 .Ip "\fB\-mrpts=\fR\fIcount\fR" 4
7259 .Ip "\fB\-mno-rpts\fR" 4
7260 Enable (disable) the use of the single instruction repeat instruction
7261 \s-1RPTS\s0.  If a repeat block contains a single instruction, and the loop
7262 count can be guaranteed to be less than the value \fIcount\fR, \s-1GCC\s0 will
7263 emit a \s-1RPTS\s0 instruction instead of a \s-1RPTB\s0.  If no value is specified,
7264 then a \s-1RPTS\s0 will be emitted even if the loop count cannot be determined
7265 at compile time.  Note that the repeated instruction following \s-1RPTS\s0 does
7266 not have to be reloaded from memory each iteration, thus freeing up the
7267 \s-1CPU\s0 buses for operands.  However, since interrupts are blocked by this
7268 instruction, it is disabled by default.
7269 .Ip "\fB\-mloop-unsigned\fR" 4
7270 .Ip "\fB\-mno-loop-unsigned\fR" 4
7271 The maximum iteration count when using \s-1RPTS\s0 and \s-1RPTB\s0 (and \s-1DB\s0 on the C40)
7272 is 2^{31 + 1} since these instructions test if the iteration count is
7273 negative to terminate the loop.  If the iteration count is unsigned
7274 there is a possibility than the 2^{31 + 1} maximum iteration count may be
7275 exceeded.  This switch allows an unsigned iteration count.
7276 .Ip "\fB\-mti\fR" 4
7277 Try to emit an assembler syntax that the \s-1TI\s0 assembler (asm30) is happy
7278 with.  This also enforces compatibility with the \s-1API\s0 employed by the \s-1TI\s0
7279 C3x C compiler.  For example, long doubles are passed as structures
7280 rather than in floating point registers.
7281 .Ip "\fB\-mregparm\fR" 4
7282 .Ip "\fB\-mmemparm\fR" 4
7283 Generate code that uses registers (stack) for passing arguments to functions.
7284 By default, arguments are passed in registers where possible rather
7285 than by pushing arguments on to the stack.
7286 .Ip "\fB\-mparallel-insns\fR" 4
7287 .Ip "\fB\-mno-parallel-insns\fR" 4
7288 Allow the generation of parallel instructions.  This is enabled by
7289 default with \fB\-O2\fR.
7290 .Ip "\fB\-mparallel-mpy\fR" 4
7291 .Ip "\fB\-mno-parallel-mpy\fR" 4
7292 Allow the generation of \s-1MPY\s0||\s-1ADD\s0 and \s-1MPY\s0||\s-1SUB\s0 parallel instructions,
7293 provided \fB\-mparallel-insns\fR is also specified.  These instructions have
7294 tight register constraints which can pessimize the code generation
7295 of large functions.
7296 These \fB\-m\fR options are defined for V850 implementations:
7297 .Ip "\fB\-mlong-calls\fR" 4
7298 .Ip "\fB\-mno-long-calls\fR" 4
7299 Treat all calls as being far away (near).  If calls are assumed to be
7300 far away, the compiler will always load the functions address up into a
7301 register, and call indirect through the pointer.
7302 .Ip "\fB\-mno-ep\fR" 4
7303 .Ip "\fB\-mep\fR" 4
7304 Do not optimize (do optimize) basic blocks that use the same index
7305 pointer 4 or more times to copy pointer into the \f(CWep\fR register, and
7306 use the shorter \f(CWsld\fR and \f(CWsst\fR instructions.  The \fB\-mep\fR
7307 option is on by default if you optimize.
7308 .Ip "\fB\-mno-prolog-function\fR" 4
7309 .Ip "\fB\-mprolog-function\fR" 4
7310 Do not use (do use) external functions to save and restore registers
7311 at the prologue and epilogue of a function.  The external functions
7312 are slower, but use less code space if more than one function saves
7313 the same number of registers.  The \fB\-mprolog-function\fR option
7314 is on by default if you optimize.
7315 .Ip "\fB\-mspace\fR" 4
7316 Try to make the code as small as possible.  At present, this just turns
7317 on the \fB\-mep\fR and \fB\-mprolog-function\fR options.
7318 .Ip "\fB\-mtda=\fR\fIn\fR" 4
7319 Put static or global variables whose size is \fIn\fR bytes or less into
7320 the tiny data area that register \f(CWep\fR points to.  The tiny data
7321 area can hold up to 256 bytes in total (128 bytes for byte references).
7322 .Ip "\fB\-msda=\fR\fIn\fR" 4
7323 Put static or global variables whose size is \fIn\fR bytes or less into
7324 the small data area that register \f(CWgp\fR points to.  The small data
7325 area can hold up to 64 kilobytes.
7326 .Ip "\fB\-mzda=\fR\fIn\fR" 4
7327 Put static or global variables whose size is \fIn\fR bytes or less into
7328 the first 32 kilobytes of memory.
7329 .Ip "\fB\-mv850\fR" 4
7330 Specify that the target processor is the V850.
7331 .Ip "\fB\-mbig-switch\fR" 4
7332 Generate code suitable for big switch tables.  Use this option only if
7333 the assembler/linker complain about out of range branches within a switch
7334 table.
7335 .Ip "\fB\-mapp-regs\fR" 4
7336 This option will cause r2 and r5 to be used in the code generated by
7337 the compiler.  This setting is the default.
7338 .Ip "\fB\-mno-app-regs\fR" 4
7339 This option will cause r2 and r5 to be treated as fixed registers.
7340 .Ip "\fB\-mv850e1\fR" 4
7341 Specify that the target processor is the V850E1.  The preprocessor
7342 constants \fB_\|_v850e1_\|_\fR and \fB_\|_v850e_\|_\fR will be defined if
7343 this option is used.
7344 .Ip "\fB\-mv850e\fR" 4
7345 Specify that the target processor is the V850E.  The preprocessor
7346 constant \fB_\|_v850e_\|_\fR will be defined if this option is used.
7347 .Sp
7348 If neither \fB\-mv850\fR nor \fB\-mv850e\fR nor \fB\-mv850e1\fR
7349 are defined then a default target processor will be chosen and the
7350 relevant \fB_\|_v850*_\|_\fR preprocessor constant will be defined.
7351 .Sp
7352 The preprocessor constants \fB_\|_v850\fR and \fB_\|_v851_\|_\fR are always
7353 defined, regardless of which processor variant is the target.
7354 .Ip "\fB\-mdisable-callt\fR" 4
7355 This option will suppress generation of the \s-1CALLT\s0 instruction for the
7356 v850e and v850e1 flavors of the v850 architecture.  The default is
7357 \fB\-mno-disable-callt\fR which allows the \s-1CALLT\s0 instruction to be used.
7358 These options are defined for \s-1ARC\s0 implementations:
7359 .Ip "\fB\-\s-1EL\s0\fR" 4
7360 Compile code for little endian mode.  This is the default.
7361 .Ip "\fB\-\s-1EB\s0\fR" 4
7362 Compile code for big endian mode.
7363 .Ip "\fB\-mmangle-cpu\fR" 4
7364 Prepend the name of the cpu to all public symbol names.
7365 In multiple-processor systems, there are many \s-1ARC\s0 variants with different
7366 instruction and register set characteristics.  This flag prevents code
7367 compiled for one cpu to be linked with code compiled for another.
7368 No facility exists for handling variants that are ``almost identical'\*(R'.
7369 This is an all or nothing option.
7370 .Ip "\fB\-mcpu=\fR\fIcpu\fR" 4
7371 Compile code for \s-1ARC\s0 variant \fIcpu\fR.
7372 Which variants are supported depend on the configuration.
7373 All variants support \fB\-mcpu=base\fR, this is the default.
7374 .Ip "\fB\-mtext=\fR\fItext-section\fR" 4
7375 .Ip "\fB\-mdata=\fR\fIdata-section\fR" 4
7376 .Ip "\fB\-mrodata=\fR\fIreadonly-data-section\fR" 4
7377 Put functions, data, and readonly data in \fItext-section\fR,
7378 \fIdata-section\fR, and \fIreadonly-data-section\fR respectively
7379 by default.  This can be overridden with the \f(CWsection\fR attribute.
7380 These are the \fB\-m\fR options defined for the 32000 series.  The default
7381 values for these options depends on which style of 32000 was selected when
7382 the compiler was configured; the defaults for the most common choices are
7383 given below.
7384 .Ip "\fB\-m32032\fR" 4
7385 .Ip "\fB\-m32032\fR" 4
7386 Generate output for a 32032.  This is the default
7387 when the compiler is configured for 32032 and 32016 based systems.
7388 .Ip "\fB\-m32332\fR" 4
7389 .Ip "\fB\-m32332\fR" 4
7390 Generate output for a 32332.  This is the default
7391 when the compiler is configured for 32332-based systems.
7392 .Ip "\fB\-m32532\fR" 4
7393 .Ip "\fB\-m32532\fR" 4
7394 Generate output for a 32532.  This is the default
7395 when the compiler is configured for 32532-based systems.
7396 .Ip "\fB\-m32081\fR" 4
7397 Generate output containing 32081 instructions for floating point.
7398 This is the default for all systems.
7399 .Ip "\fB\-m32381\fR" 4
7400 Generate output containing 32381 instructions for floating point.  This
7401 also implies \fB\-m32081\fR.  The 32381 is only compatible with the 32332
7402 and 32532 cpus.  This is the default for the pc532-netbsd configuration.
7403 .Ip "\fB\-mmulti-add\fR" 4
7404 Try and generate multiply-add floating point instructions \f(CWpolyF\fR
7405 and \f(CWdotF\fR.  This option is only available if the \fB\-m32381\fR
7406 option is in effect.  Using these instructions requires changes to
7407 register allocation which generally has a negative impact on
7408 performance.  This option should only be enabled when compiling code
7409 particularly likely to make heavy use of multiply-add instructions.
7410 .Ip "\fB\-mnomulti-add\fR" 4
7411 Do not try and generate multiply-add floating point instructions
7412 \f(CWpolyF\fR and \f(CWdotF\fR.  This is the default on all platforms.
7413 .Ip "\fB\-msoft-float\fR" 4
7414 Generate output containing library calls for floating point.
7415 \fBWarning:\fR the requisite libraries may not be available.
7416 .Ip "\fB\-mieee-compare\fR" 4
7417 .Ip "\fB\-mno-ieee-compare\fR" 4
7418 Control whether or not the compiler uses \s-1IEEE\s0 floating point
7419 comparisons.  These handle correctly the case where the result of a
7420 comparison is unordered.
7421 \fBWarning:\fR the requisite kernel support may not be available.
7422 .Ip "\fB\-mnobitfield\fR" 4
7423 Do not use the bit-field instructions.  On some machines it is faster to
7424 use shifting and masking operations.  This is the default for the pc532.
7425 .Ip "\fB\-mbitfield\fR" 4
7426 Do use the bit-field instructions.  This is the default for all platforms
7427 except the pc532.
7428 .Ip "\fB\-mrtd\fR" 4
7429 Use a different function-calling convention, in which functions
7430 that take a fixed number of arguments return pop their
7431 arguments on return with the \f(CWret\fR instruction.
7432 .Sp
7433 This calling convention is incompatible with the one normally
7434 used on Unix, so you cannot use it if you need to call libraries
7435 compiled with the Unix compiler.
7436 .Sp
7437 Also, you must provide function prototypes for all functions that
7438 take variable numbers of arguments (including \f(CWprintf\fR);
7439 otherwise incorrect code will be generated for calls to those
7440 functions.
7441 .Sp
7442 In addition, seriously incorrect code will result if you call a
7443 function with too many arguments.  (Normally, extra arguments are
7444 harmlessly ignored.)
7445 .Sp
7446 This option takes its name from the 680x0 \f(CWrtd\fR instruction.
7447 .Ip "\fB\-mregparam\fR" 4
7448 Use a different function-calling convention where the first two arguments
7449 are passed in registers.
7450 .Sp
7451 This calling convention is incompatible with the one normally
7452 used on Unix, so you cannot use it if you need to call libraries
7453 compiled with the Unix compiler.
7454 .Ip "\fB\-mnoregparam\fR" 4
7455 Do not pass any arguments in registers.  This is the default for all
7456 targets.
7457 .Ip "\fB\-msb\fR" 4
7458 It is \s-1OK\s0 to use the sb as an index register which is always loaded with
7459 zero.  This is the default for the pc532-netbsd target.
7460 .Ip "\fB\-mnosb\fR" 4
7461 The sb register is not available for use or has not been initialized to
7462 zero by the run time system.  This is the default for all targets except
7463 the pc532-netbsd.  It is also implied whenever \fB\-mhimem\fR or
7464 \fB\-fpic\fR is set.
7465 .Ip "\fB\-mhimem\fR" 4
7466 Many ns32000 series addressing modes use displacements of up to 512MB.
7467 If an address is above 512MB then displacements from zero can not be used.
7468 This option causes code to be generated which can be loaded above 512MB.
7469 This may be useful for operating systems or \s-1ROM\s0 code.
7470 .Ip "\fB\-mnohimem\fR" 4
7471 Assume code will be loaded in the first 512MB of virtual address space.
7472 This is the default for all platforms.
7473 These options are defined for \s-1AVR\s0 implementations:
7474 .Ip "\fB\-mmcu=\fR\fImcu\fR" 4
7475 Specify \s-1ATMEL\s0 \s-1AVR\s0 instruction set or \s-1MCU\s0 type.
7476 .Sp
7477 Instruction set avr1 is for the minimal \s-1AVR\s0 core, not supported by the C
7478 compiler, only for assembler programs (\s-1MCU\s0 types: at90s1200, attiny10,
7479 attiny11, attiny12, attiny15, attiny28).
7480 .Sp
7481 Instruction set avr2 (default) is for the classic \s-1AVR\s0 core with up to
7482 8K program memory space (\s-1MCU\s0 types: at90s2313, at90s2323, attiny22,
7483 at90s2333, at90s2343, at90s4414, at90s4433, at90s4434, at90s8515,
7484 at90c8534, at90s8535).
7485 .Sp
7486 Instruction set avr3 is for the classic \s-1AVR\s0 core with up to 128K program
7487 memory space (\s-1MCU\s0 types: atmega103, atmega603, at43usb320, at76c711).
7488 .Sp
7489 Instruction set avr4 is for the enhanced \s-1AVR\s0 core with up to 8K program
7490 memory space (\s-1MCU\s0 types: atmega8, atmega83, atmega85).
7491 .Sp
7492 Instruction set avr5 is for the enhanced \s-1AVR\s0 core with up to 128K program
7493 memory space (\s-1MCU\s0 types: atmega16, atmega161, atmega163, atmega32, atmega323,
7494 atmega64, atmega128, at43usb355, at94k).
7495 .Ip "\fB\-msize\fR" 4
7496 Output instruction sizes to the asm file.
7497 .Ip "\fB\-minit-stack=\fR\fIN\fR" 4
7498 Specify the initial stack address, which may be a symbol or numeric value,
7499 \fB_\|_stack\fR is the default.
7500 .Ip "\fB\-mno-interrupts\fR" 4
7501 Generated code is not compatible with hardware interrupts.
7502 Code size will be smaller.
7503 .Ip "\fB\-mcall-prologues\fR" 4
7504 Functions prologues/epilogues expanded as call to appropriate
7505 subroutines.  Code size will be smaller.
7506 .Ip "\fB\-mno-tablejump\fR" 4
7507 Do not generate tablejump insns which sometimes increase code size.
7508 .Ip "\fB\-mtiny-stack\fR" 4
7509 Change only the low 8 bits of the stack pointer.
7510 These are the \fB\-m\fR options defined for the Motorola M*Core
7511 processors.
7512 .Ip "\fB\-mhardlit\fR" 4
7513 .Ip "\fB\-mno-hardlit\fR" 4
7514 Inline constants into the code stream if it can be done in two
7515 instructions or less.
7516 .Ip "\fB\-mdiv\fR" 4
7517 .Ip "\fB\-mno-div\fR" 4
7518 Use the divide instruction.  (Enabled by default).
7519 .Ip "\fB\-mrelax-immediate\fR" 4
7520 .Ip "\fB\-mno-relax-immediate\fR" 4
7521 Allow arbitrary sized immediates in bit operations.
7522 .Ip "\fB\-mwide-bitfields\fR" 4
7523 .Ip "\fB\-mno-wide-bitfields\fR" 4
7524 Always treat bit-fields as int-sized.
7525 .Ip "\fB\-m4byte-functions\fR" 4
7526 .Ip "\fB\-mno-4byte-functions\fR" 4
7527 Force all functions to be aligned to a four byte boundary.
7528 .Ip "\fB\-mcallgraph-data\fR" 4
7529 .Ip "\fB\-mno-callgraph-data\fR" 4
7530 Emit callgraph information.
7531 .Ip "\fB\-mslow-bytes\fR" 4
7532 .Ip "\fB\-mno-slow-bytes\fR" 4
7533 Prefer word access when reading byte quantities.
7534 .Ip "\fB\-mlittle-endian\fR" 4
7535 .Ip "\fB\-mbig-endian\fR" 4
7536 Generate code for a little endian target.
7537 .Ip "\fB\-m210\fR" 4
7538 .Ip "\fB\-m340\fR" 4
7539 Generate code for the 210 processor.
7540 These are the \fB\-m\fR options defined for the Intel \s-1IA\s0\-64 architecture.
7541 .Ip "\fB\-mbig-endian\fR" 4
7542 Generate code for a big endian target.  This is the default for \s-1HP\s0\-\s-1UX\s0.
7543 .Ip "\fB\-mlittle-endian\fR" 4
7544 Generate code for a little endian target.  This is the default for \s-1AIX5\s0
7545 and \s-1GNU/\s0Linux.
7546 .Ip "\fB\-mgnu-as\fR" 4
7547 .Ip "\fB\-mno-gnu-as\fR" 4
7548 Generate (or don't) code for the \s-1GNU\s0 assembler.  This is the default.
7549 .Ip "\fB\-mgnu-ld\fR" 4
7550 .Ip "\fB\-mno-gnu-ld\fR" 4
7551 Generate (or don't) code for the \s-1GNU\s0 linker.  This is the default.
7552 .Ip "\fB\-mno-pic\fR" 4
7553 Generate code that does not use a global pointer register.  The result
7554 is not position independent code, and violates the \s-1IA\s0\-64 \s-1ABI\s0.
7555 .Ip "\fB\-mvolatile-asm-stop\fR" 4
7556 .Ip "\fB\-mno-volatile-asm-stop\fR" 4
7557 Generate (or don't) a stop bit immediately before and after volatile asm
7558 statements.
7559 .Ip "\fB\-mb-step\fR" 4
7560 Generate code that works around Itanium B step errata.
7561 .Ip "\fB\-mregister-names\fR" 4
7562 .Ip "\fB\-mno-register-names\fR" 4
7563 Generate (or don't) \fBin\fR, \fBloc\fR, and \fBout\fR register names for
7564 the stacked registers.  This may make assembler output more readable.
7565 .Ip "\fB\-mno-sdata\fR" 4
7566 .Ip "\fB\-msdata\fR" 4
7567 Disable (or enable) optimizations that use the small data section.  This may
7568 be useful for working around optimizer bugs.
7569 .Ip "\fB\-mconstant-gp\fR" 4
7570 Generate code that uses a single constant global pointer value.  This is
7571 useful when compiling kernel code.
7572 .Ip "\fB\-mauto-pic\fR" 4
7573 Generate code that is self-relocatable.  This implies \fB\-mconstant-gp\fR.
7574 This is useful when compiling firmware code.
7575 .Ip "\fB\-minline-float-divide-min-latency\fR" 4
7576 Generate code for inline divides of floating point values
7577 using the minimum latency algorithm.
7578 .Ip "\fB\-minline-float-divide-max-throughput\fR" 4
7579 Generate code for inline divides of floating point values
7580 using the maximum throughput algorithm.
7581 .Ip "\fB\-minline-int-divide-min-latency\fR" 4
7582 Generate code for inline divides of integer values
7583 using the minimum latency algorithm.
7584 .Ip "\fB\-minline-int-divide-max-throughput\fR" 4
7585 Generate code for inline divides of integer values
7586 using the maximum throughput algorithm.
7587 .Ip "\fB\-mno-dwarf2-asm\fR" 4
7588 .Ip "\fB\-mdwarf2-asm\fR" 4
7589 Don't (or do) generate assembler code for the \s-1DWARF2\s0 line number debugging
7590 info.  This may be useful when not using the \s-1GNU\s0 assembler.
7591 .Ip "\fB\-mfixed-range=\fR\fIregister-range\fR" 4
7592 Generate code treating the given register range as fixed registers.
7593 A fixed register is one that the register allocator can not use.  This is
7594 useful when compiling kernel code.  A register range is specified as
7595 two registers separated by a dash.  Multiple register ranges can be
7596 specified separated by a comma.
7597 .Ip "\fB\-mearly-stop-bits\fR" 4
7598 .Ip "\fB\-mno-early-stop-bits\fR" 4
7599 Allow stop bits to be placed earlier than immediately preceding the
7600 instruction that triggered the stop bit.  This can improve instruction
7601 scheduling, but does not always do so.
7602 These \fB\-m\fR options are defined for D30V implementations:
7603 .Ip "\fB\-mextmem\fR" 4
7604 Link the \fB.text\fR, \fB.data\fR, \fB.bss\fR, \fB.strings\fR,
7605 \&\fB.rodata\fR, \fB.rodata1\fR, \fB.data1\fR sections into external
7606 memory, which starts at location \f(CW0x80000000\fR.
7607 .Ip "\fB\-mextmemory\fR" 4
7608 Same as the \fB\-mextmem\fR switch.
7609 .Ip "\fB\-monchip\fR" 4
7610 Link the \fB.text\fR section into onchip text memory, which starts at
7611 location \f(CW0x0\fR.  Also link \fB.data\fR, \fB.bss\fR,
7612 \&\fB.strings\fR, \fB.rodata\fR, \fB.rodata1\fR, \fB.data1\fR sections
7613 into onchip data memory, which starts at location \f(CW0x20000000\fR.
7614 .Ip "\fB\-mno-asm-optimize\fR" 4
7615 .Ip "\fB\-masm-optimize\fR" 4
7616 Disable (enable) passing \fB\-O\fR to the assembler when optimizing.
7617 The assembler uses the \fB\-O\fR option to automatically parallelize
7618 adjacent short instructions where possible.
7619 .Ip "\fB\-mbranch-cost=\fR\fIn\fR" 4
7620 Increase the internal costs of branches to \fIn\fR.  Higher costs means
7621 that the compiler will issue more instructions to avoid doing a branch.
7622 The default is 2.
7623 .Ip "\fB\-mcond-exec=\fR\fIn\fR" 4
7624 Specify the maximum number of conditionally executed instructions that
7625 replace a branch.  The default is 4.
7626 These are the \fB\-m\fR options defined for the S/390 and zSeries architecture.
7627 .Ip "\fB\-mhard-float\fR" 4
7628 .Ip "\fB\-msoft-float\fR" 4
7629 Use (do not use) the hardware floating-point instructions and registers
7630 for floating-point operations.  When \fB\-msoft-float\fR is specified,
7631 functions in \fIlibgcc.a\fR will be used to perform floating-point
7632 operations.  When \fB\-mhard-float\fR is specified, the compiler
7633 generates \s-1IEEE\s0 floating-point instructions.  This is the default.
7634 .Ip "\fB\-mbackchain\fR" 4
7635 .Ip "\fB\-mno-backchain\fR" 4
7636 Generate (or do not generate) code which maintains an explicit
7637 backchain within the stack frame that points to the caller's frame.
7638 This may be needed to allow debugging using tools that do not understand
7639 \s-1DWARF\s0\-2 call frame information.  The default is not to generate the
7640 backchain.
7641 .Ip "\fB\-msmall-exec\fR" 4
7642 .Ip "\fB\-mno-small-exec\fR" 4
7643 Generate (or do not generate) code using the \f(CWbras\fR instruction
7644 to do subroutine calls.
7645 This only works reliably if the total executable size does not
7646 exceed 64k.  The default is to use the \f(CWbasr\fR instruction instead,
7647 which does not have this limitation.
7648 .Ip "\fB\-m64\fR" 4
7649 .Ip "\fB\-m31\fR" 4
7650 When \fB\-m31\fR is specified, generate code compliant to the
7651 \s-1GNU/\s0Linux for S/390 \s-1ABI\s0.  When \fB\-m64\fR is specified, generate
7652 code compliant to the \s-1GNU/\s0Linux for zSeries \s-1ABI\s0.  This allows \s-1GCC\s0 in
7653 particular to generate 64-bit instructions.  For the \fBs390\fR
7654 targets, the default is \fB\-m31\fR, while the \fBs390x\fR
7655 targets default to \fB\-m64\fR.
7656 .Ip "\fB\-mzarch\fR" 4
7657 .Ip "\fB\-mesa\fR" 4
7658 When \fB\-mzarch\fR is specified, generate code using the
7659 instructions available on z/Architecture.
7660 When \fB\-mesa\fR is specified, generate code using the
7661 instructions available on \s-1ESA/390\s0. Note that \fB\-mesa\fR is
7662 not possible with \fB\-m64\fR.
7663 When generating code compliant to the \s-1GNU/\s0Linux for S/390 \s-1ABI\s0,
7664 the default is \fB\-mesa\fR.  When generating code compliant
7665 to the \s-1GNU/\s0Linux for zSeries \s-1ABI\s0, the default is \fB\-mzarch\fR.
7666 .Ip "\fB\-mmvcle\fR" 4
7667 .Ip "\fB\-mno-mvcle\fR" 4
7668 Generate (or do not generate) code using the \f(CWmvcle\fR instruction
7669 to perform block moves.  When \fB\-mno-mvcle\fR is specified,
7670 use a \f(CWmvc\fR loop instead.  This is the default.
7671 .Ip "\fB\-mdebug\fR" 4
7672 .Ip "\fB\-mno-debug\fR" 4
7673 Print (or do not print) additional debug information when compiling.
7674 The default is to not print debug information.
7675 .Ip "\fB\-march=\fR\fIcpu-type\fR" 4
7676 Generate code that will run on \fIcpu-type\fR, which is the name of a system
7677 representing a certain processor type. Possible values for
7678 \fIcpu-type\fR are \fBg5\fR, \fBg6\fR, \fBz900\fR, and \fBz990\fR.
7679 When generating code using the instructions available on z/Architecture,
7680 the default is \fB\-march=z900\fR.  Otherwise, the default is
7681 \fB\-march=g5\fR.
7682 .Ip "\fB\-mtune=\fR\fIcpu-type\fR" 4
7683 Tune to \fIcpu-type\fR everything applicable about the generated code,
7684 except for the \s-1ABI\s0 and the set of available instructions.
7685 The list of \fIcpu-type\fR values is the same as for \fB\-march\fR.
7686 The default is the value used for \fB\-march\fR.
7687 .Ip "\fB\-mfused-madd\fR" 4
7688 .Ip "\fB\-mno-fused-madd\fR" 4
7689 Generate code that uses (does not use) the floating point multiply and
7690 accumulate instructions.  These instructions are generated by default if
7691 hardware floating point is used.
7692 These options are defined specifically for the \s-1CRIS\s0 ports.
7693 .Ip "\fB\-march=\fR\fIarchitecture-type\fR" 4
7694 .Ip "\fB\-mcpu=\fR\fIarchitecture-type\fR" 4
7695 Generate code for the specified architecture.  The choices for
7696 \fIarchitecture-type\fR are \fBv3\fR, \fBv8\fR and \fBv10\fR for
7697 respectively \s-1ETRAX\s0\ 4, \s-1ETRAX\s0\ 100, and \s-1ETRAX\s0\ 100\ \s-1LX\s0.
7698 Default is \fBv0\fR except for cris-axis-linux-gnu, where the default is
7699 \fBv10\fR.
7700 .Ip "\fB\-mtune=\fR\fIarchitecture-type\fR" 4
7701 Tune to \fIarchitecture-type\fR everything applicable about the generated
7702 code, except for the \s-1ABI\s0 and the set of available instructions.  The
7703 choices for \fIarchitecture-type\fR are the same as for
7704 \fB\-march=\fR\fIarchitecture-type\fR.
7705 .Ip "\fB\-mmax-stack-frame=\fR\fIn\fR" 4
7706 Warn when the stack frame of a function exceeds \fIn\fR bytes.
7707 .Ip "\fB\-melinux-stacksize=\fR\fIn\fR" 4
7708 Only available with the \fBcris-axis-aout\fR target.  Arranges for
7709 indications in the program to the kernel loader that the stack of the
7710 program should be set to \fIn\fR bytes.
7711 .Ip "\fB\-metrax4\fR" 4
7712 .Ip "\fB\-metrax100\fR" 4
7713 The options \fB\-metrax4\fR and \fB\-metrax100\fR are synonyms for
7714 \fB\-march=v3\fR and \fB\-march=v8\fR respectively.
7715 .Ip "\fB\-mmul-bug-workaround\fR" 4
7716 .Ip "\fB\-mno-mul-bug-workaround\fR" 4
7717 Work around a bug in the \f(CWmuls\fR and \f(CWmulu\fR instructions for \s-1CPU\s0
7718 models where it applies.  This option is active by default.
7719 .Ip "\fB\-mpdebug\fR" 4
7720 Enable \s-1CRIS\s0\-specific verbose debug-related information in the assembly
7721 code.  This option also has the effect to turn off the \fB#\s-1NO_APP\s0\fR
7722 formatted-code indicator to the assembler at the beginning of the
7723 assembly file.
7724 .Ip "\fB\-mcc-init\fR" 4
7725 Do not use condition-code results from previous instruction; always emit
7726 compare and test instructions before use of condition codes.
7727 .Ip "\fB\-mno-side-effects\fR" 4
7728 Do not emit instructions with side-effects in addressing modes other than
7729 post-increment.
7730 .Ip "\fB\-mstack-align\fR" 4
7731 .Ip "\fB\-mno-stack-align\fR" 4
7732 .Ip "\fB\-mdata-align\fR" 4
7733 .Ip "\fB\-mno-data-align\fR" 4
7734 .Ip "\fB\-mconst-align\fR" 4
7735 .Ip "\fB\-mno-const-align\fR" 4
7736 These options (no-options) arranges (eliminate arrangements) for the
7737 stack-frame, individual data and constants to be aligned for the maximum
7738 single data access size for the chosen \s-1CPU\s0 model.  The default is to
7739 arrange for 32-bit alignment.  \s-1ABI\s0 details such as structure layout are
7740 not affected by these options.
7741 .Ip "\fB\-m32-bit\fR" 4
7742 .Ip "\fB\-m16-bit\fR" 4
7743 .Ip "\fB\-m8-bit\fR" 4
7744 Similar to the stack- data- and const-align options above, these options
7745 arrange for stack-frame, writable data and constants to all be 32-bit,
7746 16-bit or 8-bit aligned.  The default is 32-bit alignment.
7747 .Ip "\fB\-mno-prologue-epilogue\fR" 4
7748 .Ip "\fB\-mprologue-epilogue\fR" 4
7749 With \fB\-mno-prologue-epilogue\fR, the normal function prologue and
7750 epilogue that sets up the stack-frame are omitted and no return
7751 instructions or return sequences are generated in the code.  Use this
7752 option only together with visual inspection of the compiled code: no
7753 warnings or errors are generated when call-saved registers must be saved,
7754 or storage for local variable needs to be allocated.
7755 .Ip "\fB\-mno-gotplt\fR" 4
7756 .Ip "\fB\-mgotplt\fR" 4
7757 With \fB\-fpic\fR and \fB\-fPIC\fR, don't generate (do generate)
7758 instruction sequences that load addresses for functions from the \s-1PLT\s0 part
7759 of the \s-1GOT\s0 rather than (traditional on other architectures) calls to the
7760 \s-1PLT\s0.  The default is \fB\-mgotplt\fR.
7761 .Ip "\fB\-maout\fR" 4
7762 Legacy no-op option only recognized with the cris-axis-aout target.
7763 .Ip "\fB\-melf\fR" 4
7764 Legacy no-op option only recognized with the cris-axis-elf and
7765 cris-axis-linux-gnu targets.
7766 .Ip "\fB\-melinux\fR" 4
7767 Only recognized with the cris-axis-aout target, where it selects a
7768 \s-1GNU/\s0linux-like multilib, include files and instruction set for
7769 \fB\-march=v8\fR.
7770 .Ip "\fB\-mlinux\fR" 4
7771 Legacy no-op option only recognized with the cris-axis-linux-gnu target.
7772 .Ip "\fB\-sim\fR" 4
7773 This option, recognized for the cris-axis-aout and cris-axis-elf arranges
7774 to link with input-output functions from a simulator library.  Code,
7775 initialized data and zero-initialized data are allocated consecutively.
7776 .Ip "\fB\-sim2\fR" 4
7777 Like \fB\-sim\fR, but pass linker options to locate initialized data at
7778 0x40000000 and zero-initialized data at 0x80000000.
7779 These options are defined for the \s-1MMIX\s0:
7780 .Ip "\fB\-mlibfuncs\fR" 4
7781 .Ip "\fB\-mno-libfuncs\fR" 4
7782 Specify that intrinsic library functions are being compiled, passing all
7783 values in registers, no matter the size.
7784 .Ip "\fB\-mepsilon\fR" 4
7785 .Ip "\fB\-mno-epsilon\fR" 4
7786 Generate floating-point comparison instructions that compare with respect
7787 to the \f(CWrE\fR epsilon register.
7788 .Ip "\fB\-mabi=mmixware\fR" 4
7789 .Ip "\fB\-mabi=gnu\fR" 4
7790 Generate code that passes function parameters and return values that (in
7791 the called function) are seen as registers \f(CW$0\fR and up, as opposed to
7792 the \s-1GNU\s0 \s-1ABI\s0 which uses global registers \f(CW$231\fR and up.
7793 .Ip "\fB\-mzero-extend\fR" 4
7794 .Ip "\fB\-mno-zero-extend\fR" 4
7795 When reading data from memory in sizes shorter than 64 bits, use (do not
7796 use) zero-extending load instructions by default, rather than
7797 sign-extending ones.
7798 .Ip "\fB\-mknuthdiv\fR" 4
7799 .Ip "\fB\-mno-knuthdiv\fR" 4
7800 Make the result of a division yielding a remainder have the same sign as
7801 the divisor.  With the default, \fB\-mno-knuthdiv\fR, the sign of the
7802 remainder follows the sign of the dividend.  Both methods are
7803 arithmetically valid, the latter being almost exclusively used.
7804 .Ip "\fB\-mtoplevel-symbols\fR" 4
7805 .Ip "\fB\-mno-toplevel-symbols\fR" 4
7806 Prepend (do not prepend) a \fB:\fR to all global symbols, so the assembly
7807 code can be used with the \f(CWPREFIX\fR assembly directive.
7808 .Ip "\fB\-melf\fR" 4
7809 Generate an executable in the \s-1ELF\s0 format, rather than the default
7810 \fBmmo\fR format used by the \fBmmix\fR simulator.
7811 .Ip "\fB\-mbranch-predict\fR" 4
7812 .Ip "\fB\-mno-branch-predict\fR" 4
7813 Use (do not use) the probable-branch instructions, when static branch
7814 prediction indicates a probable branch.
7815 .Ip "\fB\-mbase-addresses\fR" 4
7816 .Ip "\fB\-mno-base-addresses\fR" 4
7817 Generate (do not generate) code that uses \fIbase addresses\fR.  Using a
7818 base address automatically generates a request (handled by the assembler
7819 and the linker) for a constant to be set up in a global register.  The
7820 register is used for one or more base address requests within the range 0
7821 to 255 from the value held in the register.  The generally leads to short
7822 and fast code, but the number of different data items that can be
7823 addressed is limited.  This means that a program that uses lots of static
7824 data may require \fB\-mno-base-addresses\fR.
7825 .Ip "\fB\-msingle-exit\fR" 4
7826 .Ip "\fB\-mno-single-exit\fR" 4
7827 Force (do not force) generated code to have a single exit point in each
7828 function.
7829 These options are defined for the \s-1PDP\s0\-11:
7830 .Ip "\fB\-mfpu\fR" 4
7831 Use hardware \s-1FPP\s0 floating point.  This is the default.  (\s-1FIS\s0 floating
7832 point on the \s-1PDP\s0\-11/40 is not supported.)
7833 .Ip "\fB\-msoft-float\fR" 4
7834 Do not use hardware floating point.
7835 .Ip "\fB\-mac0\fR" 4
7836 Return floating-point results in ac0 (fr0 in Unix assembler syntax).
7837 .Ip "\fB\-mno-ac0\fR" 4
7838 Return floating-point results in memory.  This is the default.
7839 .Ip "\fB\-m40\fR" 4
7840 Generate code for a \s-1PDP\s0\-11/40.
7841 .Ip "\fB\-m45\fR" 4
7842 Generate code for a \s-1PDP\s0\-11/45.  This is the default.
7843 .Ip "\fB\-m10\fR" 4
7844 Generate code for a \s-1PDP\s0\-11/10.
7845 .Ip "\fB\-mbcopy-builtin\fR" 4
7846 Use inline \f(CWmovstrhi\fR patterns for copying memory.  This is the
7847 default.
7848 .Ip "\fB\-mbcopy\fR" 4
7849 Do not use inline \f(CWmovstrhi\fR patterns for copying memory.
7850 .Ip "\fB\-mint16\fR" 4
7851 .Ip "\fB\-mno-int32\fR" 4
7852 Use 16-bit \f(CWint\fR.  This is the default.
7853 .Ip "\fB\-mint32\fR" 4
7854 .Ip "\fB\-mno-int16\fR" 4
7855 Use 32-bit \f(CWint\fR.
7856 .Ip "\fB\-mfloat64\fR" 4
7857 .Ip "\fB\-mno-float32\fR" 4
7858 Use 64-bit \f(CWfloat\fR.  This is the default.
7859 .Ip "\fB\-mfloat32\fR" 4
7860 .Ip "\fB\-mno-float64\fR" 4
7861 Use 32-bit \f(CWfloat\fR.
7862 .Ip "\fB\-mabshi\fR" 4
7863 Use \f(CWabshi2\fR pattern.  This is the default.
7864 .Ip "\fB\-mno-abshi\fR" 4
7865 Do not use \f(CWabshi2\fR pattern.
7866 .Ip "\fB\-mbranch-expensive\fR" 4
7867 Pretend that branches are expensive.  This is for experimenting with
7868 code generation only.
7869 .Ip "\fB\-mbranch-cheap\fR" 4
7870 Do not pretend that branches are expensive.  This is the default.
7871 .Ip "\fB\-msplit\fR" 4
7872 Generate code for a system with split I&D.
7873 .Ip "\fB\-mno-split\fR" 4
7874 Generate code for a system without split I&D.  This is the default.
7875 .Ip "\fB\-munix-asm\fR" 4
7876 Use Unix assembler syntax.  This is the default when configured for
7877 \fBpdp11-*\-bsd\fR.
7878 .Ip "\fB\-mdec-asm\fR" 4
7879 Use \s-1DEC\s0 assembler syntax.  This is the default when configured for any
7880 \s-1PDP\s0\-11 target other than \fBpdp11-*\-bsd\fR.
7881 These options are defined for Xstormy16:
7882 .Ip "\fB\-msim\fR" 4
7883 Choose startup files and linker script suitable for the simulator.
7884 .Ip "\fB\-mgpr-32\fR" 4
7885 Only use the first 32 general purpose registers.
7886 .Ip "\fB\-mgpr-64\fR" 4
7887 Use all 64 general purpose registers.
7888 .Ip "\fB\-mfpr-32\fR" 4
7889 Use only the first 32 floating point registers.
7890 .Ip "\fB\-mfpr-64\fR" 4
7891 Use all 64 floating point registers
7892 .Ip "\fB\-mhard-float\fR" 4
7893 Use hardware instructions for floating point operations.
7894 .Ip "\fB\-msoft-float\fR" 4
7895 Use library routines for floating point operations.
7896 .Ip "\fB\-malloc-cc\fR" 4
7897 Dynamically allocate condition code registers.
7898 .Ip "\fB\-mfixed-cc\fR" 4
7899 Do not try to dynamically allocate condition code registers, only
7900 use \f(CWicc0\fR and \f(CWfcc0\fR.
7901 .Ip "\fB\-mdword\fR" 4
7902 Change \s-1ABI\s0 to use double word insns.
7903 .Ip "\fB\-mno-dword\fR" 4
7904 Do not use double word instructions.
7905 .Ip "\fB\-mdouble\fR" 4
7906 Use floating point double instructions.
7907 .Ip "\fB\-mno-double\fR" 4
7908 Do not use floating point double instructions.
7909 .Ip "\fB\-mmedia\fR" 4
7910 Use media instructions.
7911 .Ip "\fB\-mno-media\fR" 4
7912 Do not use media instructions.
7913 .Ip "\fB\-mmuladd\fR" 4
7914 Use multiply and add/subtract instructions.
7915 .Ip "\fB\-mno-muladd\fR" 4
7916 Do not use multiply and add/subtract instructions.
7917 .Ip "\fB\-mlibrary-pic\fR" 4
7918 Enable \s-1PIC\s0 support for building libraries
7919 .Ip "\fB\-macc-4\fR" 4
7920 Use only the first four media accumulator registers.
7921 .Ip "\fB\-macc-8\fR" 4
7922 Use all eight media accumulator registers.
7923 .Ip "\fB\-mpack\fR" 4
7924 Pack \s-1VLIW\s0 instructions.
7925 .Ip "\fB\-mno-pack\fR" 4
7926 Do not pack \s-1VLIW\s0 instructions.
7927 .Ip "\fB\-mno-eflags\fR" 4
7928 Do not mark \s-1ABI\s0 switches in e_flags.
7929 .Ip "\fB\-mcond-move\fR" 4
7930 Enable the use of conditional-move instructions (default).
7931 .Sp
7932 This switch is mainly for debugging the compiler and will likely be removed
7933 in a future version.
7934 .Ip "\fB\-mno-cond-move\fR" 4
7935 Disable the use of conditional-move instructions.
7936 .Sp
7937 This switch is mainly for debugging the compiler and will likely be removed
7938 in a future version.
7939 .Ip "\fB\-mscc\fR" 4
7940 Enable the use of conditional set instructions (default).
7941 .Sp
7942 This switch is mainly for debugging the compiler and will likely be removed
7943 in a future version.
7944 .Ip "\fB\-mno-scc\fR" 4
7945 Disable the use of conditional set instructions.
7946 .Sp
7947 This switch is mainly for debugging the compiler and will likely be removed
7948 in a future version.
7949 .Ip "\fB\-mcond-exec\fR" 4
7950 Enable the use of conditional execution (default).
7951 .Sp
7952 This switch is mainly for debugging the compiler and will likely be removed
7953 in a future version.
7954 .Ip "\fB\-mno-cond-exec\fR" 4
7955 Disable the use of conditional execution.
7956 .Sp
7957 This switch is mainly for debugging the compiler and will likely be removed
7958 in a future version.
7959 .Ip "\fB\-mvliw-branch\fR" 4
7960 Run a pass to pack branches into \s-1VLIW\s0 instructions (default).
7961 .Sp
7962 This switch is mainly for debugging the compiler and will likely be removed
7963 in a future version.
7964 .Ip "\fB\-mno-vliw-branch\fR" 4
7965 Do not run a pass to pack branches into \s-1VLIW\s0 instructions.
7966 .Sp
7967 This switch is mainly for debugging the compiler and will likely be removed
7968 in a future version.
7969 .Ip "\fB\-mmulti-cond-exec\fR" 4
7970 Enable optimization of \f(CW&&\fR and \f(CW||\fR in conditional execution
7971 (default).
7972 .Sp
7973 This switch is mainly for debugging the compiler and will likely be removed
7974 in a future version.
7975 .Ip "\fB\-mno-multi-cond-exec\fR" 4
7976 Disable optimization of \f(CW&&\fR and \f(CW||\fR in conditional execution.
7977 .Sp
7978 This switch is mainly for debugging the compiler and will likely be removed
7979 in a future version.
7980 .Ip "\fB\-mnested-cond-exec\fR" 4
7981 Enable nested conditional execution optimizations (default).
7982 .Sp
7983 This switch is mainly for debugging the compiler and will likely be removed
7984 in a future version.
7985 .Ip "\fB\-mno-nested-cond-exec\fR" 4
7986 Disable nested conditional execution optimizations.
7987 .Sp
7988 This switch is mainly for debugging the compiler and will likely be removed
7989 in a future version.
7990 .Ip "\fB\-mtomcat-stats\fR" 4
7991 Cause gas to print out tomcat statistics.
7992 .Ip "\fB\-mcpu=\fR\fIcpu\fR" 4
7993 Select the processor type for which to generate code.  Possible values are
7994 \fBsimple\fR, \fBtomcat\fR, \fBfr500\fR, \fBfr400\fR, \fBfr300\fR,
7995 \fBfrv\fR.
7996 These options are supported for Xtensa targets:
7997 .Ip "\fB\-mconst16\fR" 4
7998 .Ip "\fB\-mno-const16\fR" 4
7999 Enable or disable use of \f(CWCONST16\fR instructions for loading
8000 constant values.  The \f(CWCONST16\fR instruction is currently not a
8001 standard option from Tensilica.  When enabled, \f(CWCONST16\fR
8002 instructions are always used in place of the standard \f(CWL32R\fR
8003 instructions.  The use of \f(CWCONST16\fR is enabled by default only if
8004 the \f(CWL32R\fR instruction is not available.
8005 .Ip "\fB\-mfused-madd\fR" 4
8006 .Ip "\fB\-mno-fused-madd\fR" 4
8007 Enable or disable use of fused multiply/add and multiply/subtract
8008 instructions in the floating-point option.  This has no effect if the
8009 floating-point option is not also enabled.  Disabling fused multiply/add
8010 and multiply/subtract instructions forces the compiler to use separate
8011 instructions for the multiply and add/subtract operations.  This may be
8012 desirable in some cases where strict \s-1IEEE\s0 754-compliant results are
8013 required: the fused multiply add/subtract instructions do not round the
8014 intermediate result, thereby producing results with \fImore\fR bits of
8015 precision than specified by the \s-1IEEE\s0 standard.  Disabling fused multiply
8016 add/subtract instructions also ensures that the program output is not
8017 sensitive to the compiler's ability to combine multiply and add/subtract
8018 operations.
8019 .Ip "\fB\-mtext-section-literals\fR" 4
8020 .Ip "\fB\-mno-text-section-literals\fR" 4
8021 Control the treatment of literal pools.  The default is
8022 \fB\-mno-text-section-literals\fR, which places literals in a separate
8023 section in the output file.  This allows the literal pool to be placed
8024 in a data \s-1RAM/ROM\s0, and it also allows the linker to combine literal
8025 pools from separate object files to remove redundant literals and
8026 improve code size.  With \fB\-mtext-section-literals\fR, the literals
8027 are interspersed in the text section in order to keep them as close as
8028 possible to their references.  This may be necessary for large assembly
8029 files.
8030 .Ip "\fB\-mtarget-align\fR" 4
8031 .Ip "\fB\-mno-target-align\fR" 4
8032 When this option is enabled, \s-1GCC\s0 instructs the assembler to
8033 automatically align instructions to reduce branch penalties at the
8034 expense of some code density.  The assembler attempts to widen density
8035 instructions to align branch targets and the instructions following call
8036 instructions.  If there are not enough preceding safe density
8037 instructions to align a target, no widening will be performed.  The
8038 default is \fB\-mtarget-align\fR.  These options do not affect the
8039 treatment of auto-aligned instructions like \f(CWLOOP\fR, which the
8040 assembler will always align, either by widening density instructions or
8041 by inserting no-op instructions.
8042 .Ip "\fB\-mlongcalls\fR" 4
8043 .Ip "\fB\-mno-longcalls\fR" 4
8044 When this option is enabled, \s-1GCC\s0 instructs the assembler to translate
8045 direct calls to indirect calls unless it can determine that the target
8046 of a direct call is in the range allowed by the call instruction.  This
8047 translation typically occurs for calls to functions in other source
8048 files.  Specifically, the assembler translates a direct \f(CWCALL\fR
8049 instruction into an \f(CWL32R\fR followed by a \f(CWCALLX\fR instruction.
8050 The default is \fB\-mno-longcalls\fR.  This option should be used in
8051 programs where the call target can potentially be out of range.  This
8052 option is implemented in the assembler, not the compiler, so the
8053 assembly code generated by \s-1GCC\s0 will still show direct call
8054 instructions---look at the disassembled object code to see the actual
8055 instructions.  Note that the assembler will use an indirect call for
8056 every cross-file call, not just those that really will be out of range.
8057 .Sh "Options for Code Generation Conventions"
8058 These machine-independent options control the interface conventions
8059 used in code generation.
8060 .PP
8061 Most of them have both positive and negative forms; the negative form
8062 of \fB\-ffoo\fR would be \fB\-fno-foo\fR.  In the table below, only
8063 one of the forms is listed---the one which is not the default.  You
8064 can figure out the other form by either removing \fBno-\fR or adding
8065 it.
8066 .Ip "\fB\-fbounds-check\fR" 4
8067 For front-ends that support it, generate additional code to check that
8068 indices used to access arrays are within the declared range.  This is
8069 currently only supported by the Java and Fortran 77 front-ends, where
8070 this option defaults to true and false respectively.
8071 .Ip "\fB\-ftrapv\fR" 4
8072 This option generates traps for signed overflow on addition, subtraction,
8073 multiplication operations.
8074 .Ip "\fB\-fwrapv\fR" 4
8075 This option instructs the compiler to assume that signed arithmetic
8076 overflow of addition, subtraction and multiplication wraps around
8077 using twos-complement representation.  This flag enables some optimizations
8078 and disables other.  This option is enabled by default for the Java
8079 front-end, as required by the Java language specification.
8080 .Ip "\fB\-fexceptions\fR" 4
8081 Enable exception handling.  Generates extra code needed to propagate
8082 exceptions.  For some targets, this implies \s-1GCC\s0 will generate frame
8083 unwind information for all functions, which can produce significant data
8084 size overhead, although it does not affect execution.  If you do not
8085 specify this option, \s-1GCC\s0 will enable it by default for languages like
8086 \*(C+ which normally require exception handling, and disable it for
8087 languages like C that do not normally require it.  However, you may need
8088 to enable this option when compiling C code that needs to interoperate
8089 properly with exception handlers written in \*(C+.  You may also wish to
8090 disable this option if you are compiling older \*(C+ programs that don't
8091 use exception handling.
8092 .Ip "\fB\-fnon-call-exceptions\fR" 4
8093 Generate code that allows trapping instructions to throw exceptions.
8094 Note that this requires platform-specific runtime support that does
8095 not exist everywhere.  Moreover, it only allows \fItrapping\fR
8096 instructions to throw exceptions, i.e. memory references or floating
8097 point instructions.  It does not allow exceptions to be thrown from
8098 arbitrary signal handlers such as \f(CWSIGALRM\fR.
8099 .Ip "\fB\-funwind-tables\fR" 4
8100 Similar to \fB\-fexceptions\fR, except that it will just generate any needed
8101 static data, but will not affect the generated code in any other way.
8102 You will normally not enable this option; instead, a language processor
8103 that needs this handling would enable it on your behalf.
8104 .Ip "\fB\-fasynchronous-unwind-tables\fR" 4
8105 Generate unwind table in dwarf2 format, if supported by target machine.  The
8106 table is exact at each instruction boundary, so it can be used for stack
8107 unwinding from asynchronous events (such as debugger or garbage collector).
8108 .Ip "\fB\-fpcc-struct-return\fR" 4
8109 Return ``short'\*(R' \f(CWstruct\fR and \f(CWunion\fR values in memory like
8110 longer ones, rather than in registers.  This convention is less
8111 efficient, but it has the advantage of allowing intercallability between
8112 \s-1GCC\s0\-compiled files and files compiled with other compilers, particularly
8113 the Portable C Compiler (pcc).
8114 .Sp
8115 The precise convention for returning structures in memory depends
8116 on the target configuration macros.
8117 .Sp
8118 Short structures and unions are those whose size and alignment match
8119 that of some integer type.
8120 .Sp
8121 \fBWarning:\fR code compiled with the \fB\-fpcc-struct-return\fR
8122 switch is not binary compatible with code compiled with the
8123 \fB\-freg-struct-return\fR switch.
8124 Use it to conform to a non-default application binary interface.
8125 .Ip "\fB\-freg-struct-return\fR" 4
8126 Return \f(CWstruct\fR and \f(CWunion\fR values in registers when possible.
8127 This is more efficient for small structures than
8128 \fB\-fpcc-struct-return\fR.
8129 .Sp
8130 If you specify neither \fB\-fpcc-struct-return\fR nor
8131 \fB\-freg-struct-return\fR, \s-1GCC\s0 defaults to whichever convention is
8132 standard for the target.  If there is no standard convention, \s-1GCC\s0
8133 defaults to \fB\-fpcc-struct-return\fR, except on targets where \s-1GCC\s0 is
8134 the principal compiler.  In those cases, we can choose the standard, and
8135 we chose the more efficient register return alternative.
8136 .Sp
8137 \fBWarning:\fR code compiled with the \fB\-freg-struct-return\fR
8138 switch is not binary compatible with code compiled with the
8139 \fB\-fpcc-struct-return\fR switch.
8140 Use it to conform to a non-default application binary interface.
8141 .Ip "\fB\-fshort-enums\fR" 4
8142 Allocate to an \f(CWenum\fR type only as many bytes as it needs for the
8143 declared range of possible values.  Specifically, the \f(CWenum\fR type
8144 will be equivalent to the smallest integer type which has enough room.
8145 .Sp
8146 \fBWarning:\fR the \fB\-fshort-enums\fR switch causes \s-1GCC\s0 to generate
8147 code that is not binary compatible with code generated without that switch.
8148 Use it to conform to a non-default application binary interface.
8149 .Ip "\fB\-fshort-double\fR" 4
8150 Use the same size for \f(CWdouble\fR as for \f(CWfloat\fR.
8151 .Sp
8152 \fBWarning:\fR the \fB\-fshort-double\fR switch causes \s-1GCC\s0 to generate
8153 code that is not binary compatible with code generated without that switch.
8154 Use it to conform to a non-default application binary interface.
8155 .Ip "\fB\-fshort-wchar\fR" 4
8156 Override the underlying type for \fBwchar_t\fR to be \fBshort
8157 unsigned int\fR instead of the default for the target.  This option is
8158 useful for building programs to run under \s-1WINE\s0.
8159 .Sp
8160 \fBWarning:\fR the \fB\-fshort-wchar\fR switch causes \s-1GCC\s0 to generate
8161 code that is not binary compatible with code generated without that switch.
8162 Use it to conform to a non-default application binary interface.
8163 .Ip "\fB\-fshared-data\fR" 4
8164 Requests that the data and non-\f(CWconst\fR variables of this
8165 compilation be shared data rather than private data.  The distinction
8166 makes sense only on certain operating systems, where shared data is
8167 shared between processes running the same program, while private data
8168 exists in one copy per process.
8169 .Ip "\fB\-fno-common\fR" 4
8170 In C, allocate even uninitialized global variables in the data section of the
8171 object file, rather than generating them as common blocks.  This has the
8172 effect that if the same variable is declared (without \f(CWextern\fR) in
8173 two different compilations, you will get an error when you link them.
8174 The only reason this might be useful is if you wish to verify that the
8175 program will work on other systems which always work this way.
8176 .Ip "\fB\-fno-ident\fR" 4
8177 Ignore the \fB#ident\fR directive.
8178 .Ip "\fB\-finhibit-size-directive\fR" 4
8179 Don't output a \f(CW.size\fR assembler directive, or anything else that
8180 would cause trouble if the function is split in the middle, and the
8181 two halves are placed at locations far apart in memory.  This option is
8182 used when compiling \fIcrtstuff.c\fR; you should not need to use it
8183 for anything else.
8184 .Ip "\fB\-fverbose-asm\fR" 4
8185 Put extra commentary information in the generated assembly code to
8186 make it more readable.  This option is generally only of use to those
8187 who actually need to read the generated assembly code (perhaps while
8188 debugging the compiler itself).
8189 .Sp
8190 \fB\-fno-verbose-asm\fR, the default, causes the
8191 extra information to be omitted and is useful when comparing two assembler
8192 files.
8193 .Ip "\fB\-fpic\fR" 4
8194 Generate position-independent code (\s-1PIC\s0) suitable for use in a shared
8195 library, if supported for the target machine.  Such code accesses all
8196 constant addresses through a global offset table (\s-1GOT\s0).  The dynamic
8197 loader resolves the \s-1GOT\s0 entries when the program starts (the dynamic
8198 loader is not part of \s-1GCC\s0; it is part of the operating system).  If
8199 the \s-1GOT\s0 size for the linked executable exceeds a machine-specific
8200 maximum size, you get an error message from the linker indicating that
8201 \fB\-fpic\fR does not work; in that case, recompile with \fB\-fPIC\fR
8202 instead.  (These maximums are 8k on the \s-1SPARC\s0 and 32k
8203 on the m68k and \s-1RS/6000\s0.  The 386 has no such limit.)
8204 .Sp
8205 Position-independent code requires special support, and therefore works
8206 only on certain machines.  For the 386, \s-1GCC\s0 supports \s-1PIC\s0 for System V
8207 but not for the Sun 386i.  Code generated for the \s-1IBM\s0 \s-1RS/6000\s0 is always
8208 position-independent.
8209 .Ip "\fB\-fPIC\fR" 4
8210 If supported for the target machine, emit position-independent code,
8211 suitable for dynamic linking and avoiding any limit on the size of the
8212 global offset table.  This option makes a difference on the m68k
8213 and the \s-1SPARC\s0.
8214 .Sp
8215 Position-independent code requires special support, and therefore works
8216 only on certain machines.
8217 .Ip "\fB\-fpie\fR" 4
8218 .Ip "\fB\-fPIE\fR" 4
8219 These options are similar to \fB\-fpic\fR and \fB\-fPIC\fR, but
8220 generated position independent code can be only linked into executables.
8221 Usually these options are used when \fB\-pie\fR \s-1GCC\s0 option will be
8222 used during linking.
8223 .Ip "\fB\-ffixed-\fR\fIreg\fR" 4
8224 Treat the register named \fIreg\fR as a fixed register; generated code
8225 should never refer to it (except perhaps as a stack pointer, frame
8226 pointer or in some other fixed role).
8227 .Sp
8228 \fIreg\fR must be the name of a register.  The register names accepted
8229 are machine-specific and are defined in the \f(CWREGISTER_NAMES\fR
8230 macro in the machine description macro file.
8231 .Sp
8232 This flag does not have a negative form, because it specifies a
8233 three-way choice.
8234 .Ip "\fB\-fcall-used-\fR\fIreg\fR" 4
8235 Treat the register named \fIreg\fR as an allocable register that is
8236 clobbered by function calls.  It may be allocated for temporaries or
8237 variables that do not live across a call.  Functions compiled this way
8238 will not save and restore the register \fIreg\fR.
8239 .Sp
8240 It is an error to used this flag with the frame pointer or stack pointer.
8241 Use of this flag for other registers that have fixed pervasive roles in
8242 the machine's execution model will produce disastrous results.
8243 .Sp
8244 This flag does not have a negative form, because it specifies a
8245 three-way choice.
8246 .Ip "\fB\-fcall-saved-\fR\fIreg\fR" 4
8247 Treat the register named \fIreg\fR as an allocable register saved by
8248 functions.  It may be allocated even for temporaries or variables that
8249 live across a call.  Functions compiled this way will save and restore
8250 the register \fIreg\fR if they use it.
8251 .Sp
8252 It is an error to used this flag with the frame pointer or stack pointer.
8253 Use of this flag for other registers that have fixed pervasive roles in
8254 the machine's execution model will produce disastrous results.
8255 .Sp
8256 A different sort of disaster will result from the use of this flag for
8257 a register in which function values may be returned.
8258 .Sp
8259 This flag does not have a negative form, because it specifies a
8260 three-way choice.
8261 .Ip "\fB\-fpack-struct\fR" 4
8262 Pack all structure members together without holes.
8263 .Sp
8264 \fBWarning:\fR the \fB\-fpack-struct\fR switch causes \s-1GCC\s0 to generate
8265 code that is not binary compatible with code generated without that switch.
8266 Additionally, it makes the code suboptimal.
8267 Use it to conform to a non-default application binary interface.
8268 .Ip "\fB\-finstrument-functions\fR" 4
8269 Generate instrumentation calls for entry and exit to functions.  Just
8270 after function entry and just before function exit, the following
8271 profiling functions will be called with the address of the current
8272 function and its call site.  (On some platforms,
8273 \f(CW__builtin_return_address\fR does not work beyond the current
8274 function, so the call site information may not be available to the
8275 profiling functions otherwise.)
8276 .Sp
8277 .Vb 5
8278 \&        
8279 \&        void __cyg_profile_func_enter (void *this_fn,
8280 \&                                       void *call_site);
8281 \&        void __cyg_profile_func_exit  (void *this_fn,
8282 \&                                       void *call_site);
8283 .Ve
8284 The first argument is the address of the start of the current function,
8285 which may be looked up exactly in the symbol table.
8286 .Sp
8287 This currently disables function inlining.  This restriction is
8288 expected to be removed in future releases.
8289 .Sp
8290 A function may be given the attribute \f(CWno_instrument_function\fR, in
8291 which case this instrumentation will not be done.  This can be used, for
8292 example, for the profiling functions listed above, high-priority
8293 interrupt routines, and any functions from which the profiling functions
8294 cannot safely be called (perhaps signal handlers, if the profiling
8295 routines generate output or allocate memory).
8296 .Ip "\fB\-fstack-check\fR" 4
8297 Generate code to verify that you do not go beyond the boundary of the
8298 stack.  You should specify this flag if you are running in an
8299 environment with multiple threads, but only rarely need to specify it in
8300 a single-threaded environment since stack overflow is automatically
8301 detected on nearly all systems if there is only one stack.
8302 .Sp
8303 Note that this switch does not actually cause checking to be done; the
8304 operating system must do that.  The switch causes generation of code
8305 to ensure that the operating system sees the stack being extended.
8306 .Ip "\fB\-fstack-limit-register=\fR\fIreg\fR" 4
8307 .Ip "\fB\-fstack-limit-symbol=\fR\fIsym\fR" 4
8308 .Ip "\fB\-fno-stack-limit\fR" 4
8309 Generate code to ensure that the stack does not grow beyond a certain value,
8310 either the value of a register or the address of a symbol.  If the stack
8311 would grow beyond the value, a signal is raised.  For most targets,
8312 the signal is raised before the stack overruns the boundary, so
8313 it is possible to catch the signal without taking special precautions.
8314 .Sp
8315 For instance, if the stack starts at absolute address \fB0x80000000\fR
8316 and grows downwards, you can use the flags
8317 \fB\-fstack-limit-symbol=_\|_stack_limit\fR and
8318 \fB\-Wl,--defsym,_\|_stack_limit=0x7ffe0000\fR to enforce a stack limit
8319 of 128KB.  Note that this may only work with the \s-1GNU\s0 linker.
8320 .Ip "\fB\-fargument-alias\fR" 4
8321 .Ip "\fB\-fargument-noalias\fR" 4
8322 .Ip "\fB\-fargument-noalias-global\fR" 4
8323 Specify the possible relationships among parameters and between
8324 parameters and global data.
8325 .Sp
8326 \fB\-fargument-alias\fR specifies that arguments (parameters) may
8327 alias each other and may alias global storage.\fB\-fargument-noalias\fR specifies that arguments do not alias
8328 each other, but may alias global storage.\fB\-fargument-noalias-global\fR specifies that arguments do not
8329 alias each other and do not alias global storage.
8330 .Sp
8331 Each language will automatically use whatever option is required by
8332 the language standard.  You should not need to use these options yourself.
8333 .Ip "\fB\-fleading-underscore\fR" 4
8334 This option and its counterpart, \fB\-fno-leading-underscore\fR, forcibly
8335 change the way C symbols are represented in the object file.  One use
8336 is to help link with legacy assembly code.
8337 .Sp
8338 \fBWarning:\fR the \fB\-fleading-underscore\fR switch causes \s-1GCC\s0 to
8339 generate code that is not binary compatible with code generated without that
8340 switch.  Use it to conform to a non-default application binary interface.
8341 Not all targets provide complete support for this switch.
8342 .Ip "\fB\-ftls-model=\fR\fImodel\fR" 4
8343 Alter the thread-local storage model to be used.
8344 The \fImodel\fR argument should be one of \f(CWglobal-dynamic\fR,
8345 \f(CWlocal-dynamic\fR, \f(CWinitial-exec\fR or \f(CWlocal-exec\fR.
8346 .Sp
8347 The default without \fB\-fpic\fR is \f(CWinitial-exec\fR; with
8348 \fB\-fpic\fR the default is \f(CWglobal-dynamic\fR.
8349 .SH "ENVIRONMENT"
8350 This section describes several environment variables that affect how GCC
8351 operates.  Some of them work by specifying directories or prefixes to use
8352 when searching for various kinds of files.  Some are used to specify other
8353 aspects of the compilation environment.
8354 .PP
8355 Note that you can also specify places to search using options such as
8356 \fB\-B\fR, \fB\-I\fR and \fB\-L\fR.  These
8357 take precedence over places specified using environment variables, which
8358 in turn take precedence over those specified by the configuration of GCC.
8359 .Ip "\fB\s-1LANG\s0\fR" 4
8360 .Ip "\fB\s-1LC_CTYPE\s0\fR" 4
8361 .Ip "\fB\s-1LC_MESSAGES\s0\fR" 4
8362 .Ip "\fB\s-1LC_ALL\s0\fR" 4
8363 These environment variables control the way that \s-1GCC\s0 uses
8364 localization information that allow \s-1GCC\s0 to work with different
8365 national conventions.  \s-1GCC\s0 inspects the locale categories
8366 \fB\s-1LC_CTYPE\s0\fR and \fB\s-1LC_MESSAGES\s0\fR if it has been configured to do
8367 so.  These locale categories can be set to any value supported by your
8368 installation.  A typical value is \fBen_UK\fR for English in the United
8369 Kingdom.
8370 .Sp
8371 The \fB\s-1LC_CTYPE\s0\fR environment variable specifies character
8372 classification.  \s-1GCC\s0 uses it to determine the character boundaries in
8373 a string; this is needed for some multibyte encodings that contain quote
8374 and escape characters that would otherwise be interpreted as a string
8375 end or escape.
8376 .Sp
8377 The \fB\s-1LC_MESSAGES\s0\fR environment variable specifies the language to
8378 use in diagnostic messages.
8379 .Sp
8380 If the \fB\s-1LC_ALL\s0\fR environment variable is set, it overrides the value
8381 of \fB\s-1LC_CTYPE\s0\fR and \fB\s-1LC_MESSAGES\s0\fR; otherwise, \fB\s-1LC_CTYPE\s0\fR
8382 and \fB\s-1LC_MESSAGES\s0\fR default to the value of the \fB\s-1LANG\s0\fR
8383 environment variable.  If none of these variables are set, \s-1GCC\s0
8384 defaults to traditional C English behavior.
8385 .Ip "\fB\s-1TMPDIR\s0\fR" 4
8386 If \fB\s-1TMPDIR\s0\fR is set, it specifies the directory to use for temporary
8387 files.  \s-1GCC\s0 uses temporary files to hold the output of one stage of
8388 compilation which is to be used as input to the next stage: for example,
8389 the output of the preprocessor, which is the input to the compiler
8390 proper.
8391 .Ip "\fB\s-1GCC_EXEC_PREFIX\s0\fR" 4
8392 If \fB\s-1GCC_EXEC_PREFIX\s0\fR is set, it specifies a prefix to use in the
8393 names of the subprograms executed by the compiler.  No slash is added
8394 when this prefix is combined with the name of a subprogram, but you can
8395 specify a prefix that ends with a slash if you wish.
8396 .Sp
8397 If \fB\s-1GCC_EXEC_PREFIX\s0\fR is not set, \s-1GCC\s0 will attempt to figure out
8398 an appropriate prefix to use based on the pathname it was invoked with.
8399 .Sp
8400 If \s-1GCC\s0 cannot find the subprogram using the specified prefix, it
8401 tries looking in the usual places for the subprogram.
8402 .Sp
8403 The default value of \fB\s-1GCC_EXEC_PREFIX\s0\fR is
8404 \fI\fIprefix\fR/lib/gcc/\fR where \fIprefix\fR is the value
8405 of \f(CWprefix\fR when you ran the \fIconfigure\fR script.
8406 .Sp
8407 Other prefixes specified with \fB\-B\fR take precedence over this prefix.
8408 .Sp
8409 This prefix is also used for finding files such as \fIcrt0.o\fR that are
8410 used for linking.
8411 .Sp
8412 In addition, the prefix is used in an unusual way in finding the
8413 directories to search for header files.  For each of the standard
8414 directories whose name normally begins with \fB/usr/local/lib/gcc\fR
8415 (more precisely, with the value of \fB\s-1GCC_INCLUDE_DIR\s0\fR), \s-1GCC\s0 tries
8416 replacing that beginning with the specified prefix to produce an
8417 alternate directory name.  Thus, with \fB\-Bfoo/\fR, \s-1GCC\s0 will search
8418 \fIfoo/bar\fR where it would normally search \fI/usr/local/lib/bar\fR.
8419 These alternate directories are searched first; the standard directories
8420 come next.
8421 .Ip "\fB\s-1COMPILER_PATH\s0\fR" 4
8422 The value of \fB\s-1COMPILER_PATH\s0\fR is a colon-separated list of
8423 directories, much like \fB\s-1PATH\s0\fR.  \s-1GCC\s0 tries the directories thus
8424 specified when searching for subprograms, if it can't find the
8425 subprograms using \fB\s-1GCC_EXEC_PREFIX\s0\fR.
8426 .Ip "\fB\s-1LIBRARY_PATH\s0\fR" 4
8427 The value of \fB\s-1LIBRARY_PATH\s0\fR is a colon-separated list of
8428 directories, much like \fB\s-1PATH\s0\fR.  When configured as a native compiler,
8429 \s-1GCC\s0 tries the directories thus specified when searching for special
8430 linker files, if it can't find them using \fB\s-1GCC_EXEC_PREFIX\s0\fR.  Linking
8431 using \s-1GCC\s0 also uses these directories when searching for ordinary
8432 libraries for the \fB\-l\fR option (but directories specified with
8433 \fB\-L\fR come first).
8434 .Ip "\fB\s-1LANG\s0\fR" 4
8435 This variable is used to pass locale information to the compiler.  One way in
8436 which this information is used is to determine the character set to be used
8437 when character literals, string literals and comments are parsed in C and \*(C+.
8438 When the compiler is configured to allow multibyte characters,
8439 the following values for \fB\s-1LANG\s0\fR are recognized:
8440 .Ip "\fBC\-\s-1JIS\s0\fR" 8
8441 Recognize \s-1JIS\s0 characters.
8442 .Ip "\fBC\-\s-1SJIS\s0\fR" 8
8443 Recognize \s-1SJIS\s0 characters.
8444 .Ip "\fBC\-\s-1EUCJP\s0\fR" 8
8445 Recognize \s-1EUCJP\s0 characters.
8446 .Sp
8447 If \fB\s-1LANG\s0\fR is not defined, or if it has some other value, then the
8448 compiler will use mblen and mbtowc as defined by the default locale to
8449 recognize and translate multibyte characters.
8450 .PP
8451 Some additional environments variables affect the behavior of the
8452 preprocessor.
8453 .Ip "\fB\s-1CPATH\s0\fR" 4
8454 .Ip "\fBC_INCLUDE_PATH\fR" 4
8455 .Ip "\fB\s-1CPLUS_INCLUDE_PATH\s0\fR" 4
8456 .Ip "\fB\s-1OBJC_INCLUDE_PATH\s0\fR" 4
8457 Each variable's value is a list of directories separated by a special
8458 character, much like \fB\s-1PATH\s0\fR, in which to look for header files.
8459 The special character, \f(CWPATH_SEPARATOR\fR, is target-dependent and
8460 determined at \s-1GCC\s0 build time.  For Microsoft Windows-based targets it is a
8461 semicolon, and for almost all other targets it is a colon.
8462 .Sp
8463 \fB\s-1CPATH\s0\fR specifies a list of directories to be searched as if
8464 specified with \fB\-I\fR, but after any paths given with \fB\-I\fR
8465 options on the command line.  This environment variable is used
8466 regardless of which language is being preprocessed.
8467 .Sp
8468 The remaining environment variables apply only when preprocessing the
8469 particular language indicated.  Each specifies a list of directories
8470 to be searched as if specified with \fB\-isystem\fR, but after any
8471 paths given with \fB\-isystem\fR options on the command line.
8472 .Sp
8473 In all these variables, an empty element instructs the compiler to
8474 search its current working directory.  Empty elements can appear at the
8475 beginning or end of a path.  For instance, if the value of
8476 \fB\s-1CPATH\s0\fR is \f(CW:/special/include\fR, that has the same
8477 effect as \fB\-I.\ \-I/special/include\fR.
8478 .Ip "\fB\s-1DEPENDENCIES_OUTPUT\s0\fR" 4
8479 If this variable is set, its value specifies how to output
8480 dependencies for Make based on the non-system header files processed
8481 by the compiler.  System header files are ignored in the dependency
8482 output.
8483 .Sp
8484 The value of \fB\s-1DEPENDENCIES_OUTPUT\s0\fR can be just a file name, in
8485 which case the Make rules are written to that file, guessing the target
8486 name from the source file name.  Or the value can have the form
8487 \fIfile\fR\fB \fR\fItarget\fR, in which case the rules are written to
8488 file \fIfile\fR using \fItarget\fR as the target name.
8489 .Sp
8490 In other words, this environment variable is equivalent to combining
8491 the options \fB\-\s-1MM\s0\fR and \fB\-\s-1MF\s0\fR,
8492 with an optional \fB\-\s-1MT\s0\fR switch too.
8493 .Ip "\fB\s-1SUNPRO_DEPENDENCIES\s0\fR" 4
8494 This variable is the same as \fB\s-1DEPENDENCIES_OUTPUT\s0\fR (see above),
8495 except that system header files are not ignored, so it implies
8496 \fB\-M\fR rather than \fB\-\s-1MM\s0\fR.  However, the dependence on the
8497 main input file is omitted.
8498 .SH "BUGS"
8499 For instructions on reporting bugs, see
8500 <\fBhttp://gcc.gnu.org/bugs.html\fR>.  Use of the \fBgccbug\fR
8501 script to report bugs is recommended.
8502 .SH "FOOTNOTES"
8503 .Ip "1." 4
8504 On some systems, \fBgcc \-shared\fR
8505 needs to build supplementary stub code for constructors to work.  On
8506 multi-libbed systems, \fBgcc \-shared\fR must select the correct support
8507 libraries to link against.  Failing to supply the correct flags may lead
8508 to subtle defects.  Supplying them in cases where they are not necessary
8509 is innocuous.
8510 .SH "SEE ALSO"
8511 \fIgpl\fR\|(7), \fIgfdl\fR\|(7), fsf-\fIfunding\fR\|(7),
8512 \fIcpp\fR\|(1), \fIgcov\fR\|(1), \fIg77\fR\|(1), \fIas\fR\|(1), \fIld\fR\|(1), \fIgdb\fR\|(1), \fIadb\fR\|(1), \fIdbx\fR\|(1), \fIsdb\fR\|(1)
8513 and the Info entries for \fIgcc\fR, \fIcpp\fR, \fIg77\fR, \fIas\fR,
8514 \fIld\fR, \fIbinutils\fR and \fIgdb\fR.
8515 .SH "AUTHOR"
8516 See the Info entry for \fBgcc\fR, or
8517 <\fBhttp://gcc.gnu.org/onlinedocs/gcc/Contributors.html\fR>,
8518 for contributors to GCC.
8519 .SH "COPYRIGHT"
8520 Copyright (c) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
8521 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
8522 .PP
8523 Permission is granted to copy, distribute and/or modify this document
8524 under the terms of the GNU Free Documentation License, Version 1.2 or
8525 any later version published by the Free Software Foundation; with the
8526 Invariant Sections being ``GNU General Public License'\*(R' and ``Funding
8527 Free Software'\*(R', the Front-Cover texts being (a) (see below), and with
8528 the Back-Cover Texts being (b) (see below).  A copy of the license is
8529 included in the \fIgfdl\fR\|(7) man page.
8530 .PP
8531 (a) The FSF's Front-Cover Text is:
8532 .PP
8533 .Vb 1
8534 \&     A GNU Manual
8535 .Ve
8536 (b) The FSF's Back-Cover Text is:
8537 .PP
8538 .Vb 3
8539 \&     You have freedom to copy and modify this GNU Manual, like GNU
8540 \&     software.  Copies published by the Free Software Foundation raise
8541 \&     funds for GNU development.
8542 .Ve
8543
8544 .rn }` ''
8545 .IX Title "GCC 1"
8546 .IX Name "gcc - GNU project C and C++ compiler"
8547
8548 .IX Header "NAME"
8549
8550 .IX Header "SYNOPSIS"
8551
8552 .IX Header "DESCRIPTION"
8553
8554 .IX Header "OPTIONS"
8555
8556 .IX Subsection "Option Summary"
8557
8558 .IX Item "\fIOverall Options\fR"
8559
8560 .IX Item "\fIC Language Options\fR"
8561
8562 .IX Item "\fI\*(C+ Language Options\fR"
8563
8564 .IX Item "\fIObjective-C Language Options\fR"
8565
8566 .IX Item "\fILanguage Independent Options\fR"
8567
8568 .IX Item "\fIWarning Options\fR"
8569
8570 .IX Item "\fIC\-only Warning Options\fR"
8571
8572 .IX Item "\fIDebugging Options\fR"
8573
8574 .IX Item "\fIOptimization Options\fR"
8575
8576 .IX Item "\fIPreprocessor Options\fR"
8577
8578 .IX Item "\fIAssembler Option\fR"
8579
8580 .IX Item "\fILinker Options\fR"
8581
8582 .IX Item "\fIDirectory Options\fR"
8583
8584 .IX Item "\fITarget Options\fR"
8585
8586 .IX Item "\fIMachine Dependent Options\fR"
8587
8588 .IX Item "\fICode Generation Options\fR"
8589
8590 .IX Subsection "Options Controlling the Kind of Output"
8591
8592 .IX Item "\fIfile\fR\fB.c\fR"
8593
8594 .IX Item "\fIfile\fR\fB.i\fR"
8595
8596 .IX Item "\fIfile\fR\fB.ii\fR"
8597
8598 .IX Item "\fIfile\fR\fB.m\fR"
8599
8600 .IX Item "\fIfile\fR\fB.mi\fR"
8601
8602 .IX Item "\fIfile\fR\fB.h\fR"
8603
8604 .IX Item "\fIfile\fR\fB.cc\fR"
8605
8606 .IX Item "\fIfile\fR\fB.cp\fR"
8607
8608 .IX Item "\fIfile\fR\fB.cxx\fR"
8609
8610 .IX Item "\fIfile\fR\fB.cpp\fR"
8611
8612 .IX Item "\fIfile\fR\fB.\s-1CPP\s0\fR"
8613
8614 .IX Item "\fIfile\fR\fB.c++\fR"
8615
8616 .IX Item "\fIfile\fR\fB.C\fR"
8617
8618 .IX Item "\fIfile\fR\fB.hh\fR"
8619
8620 .IX Item "\fIfile\fR\fB.H\fR"
8621
8622 .IX Item "\fIfile\fR\fB.f\fR"
8623
8624 .IX Item "\fIfile\fR\fB.for\fR"
8625
8626 .IX Item "\fIfile\fR\fB.\s-1FOR\s0\fR"
8627
8628 .IX Item "\fIfile\fR\fB.F\fR"
8629
8630 .IX Item "\fIfile\fR\fB.fpp\fR"
8631
8632 .IX Item "\fIfile\fR\fB.\s-1FPP\s0\fR"
8633
8634 .IX Item "\fIfile\fR\fB.r\fR"
8635
8636 .IX Item "\fIfile\fR\fB.ads\fR"
8637
8638 .IX Item "\fIfile\fR\fB.adb\fR"
8639
8640 .IX Item "\fIfile\fR\fB.s\fR"
8641
8642 .IX Item "\fIfile\fR\fB.S\fR"
8643
8644 .IX Item "\fIother\fR"
8645
8646 .IX Item "\fB\-x\fR \fIlanguage\fR"
8647
8648 .IX Item "\fB\-x none\fR"
8649
8650 .IX Item "\fB\-pass-exit-codes\fR"
8651
8652 .IX Item "\fB\-c\fR"
8653
8654 .IX Item "\fB\-S\fR"
8655
8656 .IX Item "\fB\-E\fR"
8657
8658 .IX Item "\fB\-o\fR \fIfile\fR"
8659
8660 .IX Item "\fB\-v\fR"
8661
8662 .IX Item "\fB\-###\fR"
8663
8664 .IX Item "\fB\-pipe\fR"
8665
8666 .IX Item "\fB--help\fR"
8667
8668 .IX Item "\fB--target-help\fR"
8669
8670 .IX Item "\fB--version\fR"
8671
8672 .IX Subsection "Compiling \*(C+ Programs"
8673
8674 .IX Subsection "Options Controlling C Dialect"
8675
8676 .IX Item "\fB\-ansi\fR"
8677
8678 .IX Item "\fB\-std=\fR"
8679
8680 .IX Item "\fBc89\fR"
8681
8682 .IX Item "\fBiso9899:1990\fR"
8683
8684 .IX Item "\fBiso9899:199409\fR"
8685
8686 .IX Item "\fBc99\fR"
8687
8688 .IX Item "\fBc9x\fR"
8689
8690 .IX Item "\fBiso9899:1999\fR"
8691
8692 .IX Item "\fBiso9899:199x\fR"
8693
8694 .IX Item "\fBgnu89\fR"
8695
8696 .IX Item "\fBgnu99\fR"
8697
8698 .IX Item "\fBgnu9x\fR"
8699
8700 .IX Item "\fBc++98\fR"
8701
8702 .IX Item "\fBgnu++98\fR"
8703
8704 .IX Item "\fB\-aux-info\fR \fIfilename\fR"
8705
8706 .IX Item "\fB\-fno-asm\fR"
8707
8708 .IX Item "\fB\-fno-builtin\fR"
8709
8710 .IX Item "\fB\-fno-builtin-\fR\fIfunction\fR"
8711
8712 .IX Item "\fB\-fhosted\fR"
8713
8714 .IX Item "\fB\-ffreestanding\fR"
8715
8716 .IX Item "\fB\-fms-extensions\fR"
8717
8718 .IX Item "\fB\-trigraphs\fR"
8719
8720 .IX Item "\fB\-no-integrated-cpp\fR"
8721
8722 .IX Item "\fB\-traditional\fR"
8723
8724 .IX Item "\fB\-traditional-cpp\fR"
8725
8726 .IX Item "\fB\-fcond-mismatch\fR"
8727
8728 .IX Item "\fB\-funsigned-char\fR"
8729
8730 .IX Item "\fB\-fsigned-char\fR"
8731
8732 .IX Item "\fB\-fsigned-bitfields\fR"
8733
8734 .IX Item "\fB\-funsigned-bitfields\fR"
8735
8736 .IX Item "\fB\-fno-signed-bitfields\fR"
8737
8738 .IX Item "\fB\-fno-unsigned-bitfields\fR"
8739
8740 .IX Item "\fB\-fwritable-strings\fR"
8741
8742 .IX Subsection "Options Controlling \*(C+ Dialect"
8743
8744 .IX Item "\fB\-fabi-version=\fR\fIn\fR"
8745
8746 .IX Item "\fB\-fno-access-control\fR"
8747
8748 .IX Item "\fB\-fcheck-new\fR"
8749
8750 .IX Item "\fB\-fconserve-space\fR"
8751
8752 .IX Item "\fB\-fno-const-strings\fR"
8753
8754 .IX Item "\fB\-fno-elide-constructors\fR"
8755
8756 .IX Item "\fB\-fno-enforce-eh-specs\fR"
8757
8758 .IX Item "\fB\-ffor-scope\fR"
8759
8760 .IX Item "\fB\-fno-for-scope\fR"
8761
8762 .IX Item "\fB\-fno-gnu-keywords\fR"
8763
8764 .IX Item "\fB\-fno-implicit-templates\fR"
8765
8766 .IX Item "\fB\-fno-implicit-inline-templates\fR"
8767
8768 .IX Item "\fB\-fno-implement-inlines\fR"
8769
8770 .IX Item "\fB\-fms-extensions\fR"
8771
8772 .IX Item "\fB\-fno-nonansi-builtins\fR"
8773
8774 .IX Item "\fB\-fno-operator-names\fR"
8775
8776 .IX Item "\fB\-fno-optional-diags\fR"
8777
8778 .IX Item "\fB\-fpermissive\fR"
8779
8780 .IX Item "\fB\-frepo\fR"
8781
8782 .IX Item "\fB\-fno-rtti\fR"
8783
8784 .IX Item "\fB\-fstats\fR"
8785
8786 .IX Item "\fB\-ftemplate-depth-\fR\fIn\fR"
8787
8788 .IX Item "\fB\-fuse-cxa-atexit\fR"
8789
8790 .IX Item "\fB\-fno-weak\fR"
8791
8792 .IX Item "\fB\-nostdinc++\fR"
8793
8794 .IX Item "\fB\-fno-default-inline\fR"
8795
8796 .IX Item "\fB\-Wabi\fR (\*(C+ only)"
8797
8798 .IX Item "\(bu"
8799
8800 .IX Item "\(bu"
8801
8802 .IX Item "\(bu"
8803
8804 .IX Item "\(bu"
8805
8806 .IX Item "\(bu"
8807
8808 .IX Item "\fB\-Wctor-dtor-privacy\fR (\*(C+ only)"
8809
8810 .IX Item "\fB\-Wnon-virtual-dtor\fR (\*(C+ only)"
8811
8812 .IX Item "\fB\-Wreorder\fR (\*(C+ only)"
8813
8814 .IX Item "\fB\-Weffc++\fR (\*(C+ only)"
8815
8816 .IX Item "\(bu"
8817
8818 .IX Item "\(bu"
8819
8820 .IX Item "\(bu"
8821
8822 .IX Item "\(bu"
8823
8824 .IX Item "\(bu"
8825
8826 .IX Item "\(bu"
8827
8828 .IX Item "\(bu"
8829
8830 .IX Item "\fB\-Wno-deprecated\fR (\*(C+ only)"
8831
8832 .IX Item "\fB\-Wno-non-template-friend\fR (\*(C+ only)"
8833
8834 .IX Item "\fB\-Wold-style-cast\fR (\*(C+ only)"
8835
8836 .IX Item "\fB\-Woverloaded-virtual\fR (\*(C+ only)"
8837
8838 .IX Item "\fB\-Wno-pmf-conversions\fR (\*(C+ only)"
8839
8840 .IX Item "\fB\-Wsign-promo\fR (\*(C+ only)"
8841
8842 .IX Item "\fB\-Wsynth\fR (\*(C+ only)"
8843
8844 .IX Subsection "Options Controlling Objective-C Dialect"
8845
8846 .IX Item "\fB\-fconstant-string-class=\fR\fIclass-name\fR"
8847
8848 .IX Item "\fB\-fgnu-runtime\fR"
8849
8850 .IX Item "\fB\-fnext-runtime\fR"
8851
8852 .IX Item "\fB\-fno-nil-receivers\fR"
8853
8854 .IX Item "\fB\-fobjc-exceptions\fR"
8855
8856 .IX Item "\(bu"
8857
8858 .IX Item "\(bu"
8859
8860 .IX Item "\fB\-freplace-objc-classes\fR"
8861
8862 .IX Item "\fB\-fzero-link\fR"
8863
8864 .IX Item "\fB\-gen-decls\fR"
8865
8866 .IX Item "\fB\-Wno-protocol\fR"
8867
8868 .IX Item "\fB\-Wselector\fR"
8869
8870 .IX Item "\fB\-Wundeclared-selector\fR"
8871
8872 .IX Item "\fB\-print-objc-runtime-info\fR"
8873
8874 .IX Subsection "Options to Control Diagnostic Messages Formatting"
8875
8876 .IX Item "\fB\-fmessage-length=\fR\fIn\fR"
8877
8878 .IX Item "\fB\-fdiagnostics-show-location=once\fR"
8879
8880 .IX Item "\fB\-fdiagnostics-show-location=every-line\fR"
8881
8882 .IX Subsection "Options to Request or Suppress Warnings"
8883
8884 .IX Item "\fB\-fsyntax-only\fR"
8885
8886 .IX Item "\fB\-pedantic\fR"
8887
8888 .IX Item "\fB\-pedantic-errors\fR"
8889
8890 .IX Item "\fB\-w\fR"
8891
8892 .IX Item "\fB\-Wno-import\fR"
8893
8894 .IX Item "\fB\-Wchar-subscripts\fR"
8895
8896 .IX Item "\fB\-Wcomment\fR"
8897
8898 .IX Item "\fB\-Wformat\fR"
8899
8900 .IX Item "\fB\-Wformat-y2k\fR"
8901
8902 .IX Item "\fB\-Wno-format-extra-args\fR"
8903
8904 .IX Item "\fB\-Wno-format-zero-length\fR"
8905
8906 .IX Item "\fB\-Wformat-nonliteral\fR"
8907
8908 .IX Item "\fB\-Wformat-security\fR"
8909
8910 .IX Item "\fB\-Wformat=2\fR"
8911
8912 .IX Item "\fB\-Wnonnull\fR"
8913
8914 .IX Item "\fB\-Winit-self\fR (C, \*(C+, and Objective-C only)"
8915
8916 .IX Item "\fB\-Wimplicit-int\fR"
8917
8918 .IX Item "\fB\-Wimplicit-function-declaration\fR"
8919
8920 .IX Item "\fB\-Werror-implicit-function-declaration\fR"
8921
8922 .IX Item "\fB\-Wimplicit\fR"
8923
8924 .IX Item "\fB\-Wmain\fR"
8925
8926 .IX Item "\fB\-Wmissing-braces\fR"
8927
8928 .IX Item "\fB\-Wparentheses\fR"
8929
8930 .IX Item "\fB\-Wsequence-point\fR"
8931
8932 .IX Item "\fB\-Wreturn-type\fR"
8933
8934 .IX Item "\fB\-Wswitch\fR"
8935
8936 .IX Item "\fB\-Wswitch-default\fR"
8937
8938 .IX Item "\fB\-Wswitch-enum\fR"
8939
8940 .IX Item "\fB\-Wtrigraphs\fR"
8941
8942 .IX Item "\fB\-Wunused-function\fR"
8943
8944 .IX Item "\fB\-Wunused-label\fR"
8945
8946 .IX Item "\fB\-Wunused-parameter\fR"
8947
8948 .IX Item "\fB\-Wunused-variable\fR"
8949
8950 .IX Item "\fB\-Wunused-value\fR"
8951
8952 .IX Item "\fB\-Wunused\fR"
8953
8954 .IX Item "\fB\-Wuninitialized\fR"
8955
8956 .IX Item "\fB\-Wunknown-pragmas\fR"
8957
8958 .IX Item "\fB\-Wstrict-aliasing\fR"
8959
8960 .IX Item "\fB\-Wall\fR"
8961
8962 .IX Item "\fB\-Wextra\fR"
8963
8964 .IX Item "\(bu"
8965
8966 .IX Item "\(bu"
8967
8968 .IX Item "\(bu"
8969
8970 .IX Item "\(bu"
8971
8972 .IX Item "\(bu"
8973
8974 .IX Item "\(bu"
8975
8976 .IX Item "\(bu"
8977
8978 .IX Item "\(bu"
8979
8980 .IX Item "\(bu"
8981
8982 .IX Item "\(bu"
8983
8984 .IX Item "\(bu"
8985
8986 .IX Item "\(bu"
8987
8988 .IX Item "\(bu"
8989
8990 .IX Item "\(bu"
8991
8992 .IX Item "*<(\*(C+ only)>"
8993
8994 .IX Item "*<(\*(C+ only)>"
8995
8996 .IX Item "*<(\*(C+ only)>"
8997
8998 .IX Item "*<(\*(C+ only)>"
8999
9000 .IX Item "*<(\*(C+ only)>"
9001
9002 .IX Item "*<(\*(C+ only)>"
9003
9004 .IX Item "\fB\-Wno-div-by-zero\fR"
9005
9006 .IX Item "\fB\-Wsystem-headers\fR"
9007
9008 .IX Item "\fB\-Wfloat-equal\fR"
9009
9010 .IX Item "\fB\-Wtraditional\fR (C only)"
9011
9012 .IX Item "\(bu"
9013
9014 .IX Item "\(bu"
9015
9016 .IX Item "\(bu"
9017
9018 .IX Item "\(bu"
9019
9020 .IX Item "\(bu"
9021
9022 .IX Item "\(bu"
9023
9024 .IX Item "\(bu"
9025
9026 .IX Item "\(bu"
9027
9028 .IX Item "\(bu"
9029
9030 .IX Item "\(bu"
9031
9032 .IX Item "\(bu"
9033
9034 .IX Item "\(bu"
9035
9036 .IX Item "\(bu"
9037
9038 .IX Item "\(bu"
9039
9040 .IX Item "\(bu"
9041
9042 .IX Item "\fB\-Wdeclaration-after-statement\fR (C only)"
9043
9044 .IX Item "\fB\-Wundef\fR"
9045
9046 .IX Item "\fB\-Wendif-labels\fR"
9047
9048 .IX Item "\fB\-Wshadow\fR"
9049
9050 .IX Item "\fB\-Wlarger-than-\fR\fIlen\fR"
9051
9052 .IX Item "\fB\-Wpointer-arith\fR"
9053
9054 .IX Item "\fB\-Wbad-function-cast\fR (C only)"
9055
9056 .IX Item "\fB\-Wcast-qual\fR"
9057
9058 .IX Item "\fB\-Wcast-align\fR"
9059
9060 .IX Item "\fB\-Wwrite-strings\fR"
9061
9062 .IX Item "\fB\-Wconversion\fR"
9063
9064 .IX Item "\fB\-Wsign-compare\fR"
9065
9066 .IX Item "\fB\-Waggregate-return\fR"
9067
9068 .IX Item "\fB\-Wstrict-prototypes\fR (C only)"
9069
9070 .IX Item "\fB\-Wold-style-definition\fR (C only)"
9071
9072 .IX Item "\fB\-Wmissing-prototypes\fR (C only)"
9073
9074 .IX Item "\fB\-Wmissing-declarations\fR (C only)"
9075
9076 .IX Item "\fB\-Wmissing-noreturn\fR"
9077
9078 .IX Item "\fB\-Wmissing-format-attribute\fR"
9079
9080 .IX Item "\fB\-Wno-multichar\fR"
9081
9082 .IX Item "\fB\-Wno-deprecated-declarations\fR"
9083
9084 .IX Item "\fB\-Wpacked\fR"
9085
9086 .IX Item "\fB\-Wpadded\fR"
9087
9088 .IX Item "\fB\-Wredundant-decls\fR"
9089
9090 .IX Item "\fB\-Wnested-externs\fR (C only)"
9091
9092 .IX Item "\fB\-Wunreachable-code\fR"
9093
9094 .IX Item "\fB\-Winline\fR"
9095
9096 .IX Item "\fB\-Wno-invalid-offsetof\fR (\*(C+ only)"
9097
9098 .IX Item "\fB\-Winvalid-pch\fR"
9099
9100 .IX Item "\fB\-Wlong-long\fR"
9101
9102 .IX Item "\fB\-Wdisabled-optimization\fR"
9103
9104 .IX Item "\fB\-Werror\fR"
9105
9106 .IX Subsection "Options for Debugging Your Program or \s-1GCC\s0"
9107
9108 .IX Item "\fB\-g\fR"
9109
9110 .IX Item "\fB\-ggdb\fR"
9111
9112 .IX Item "\fB\-gstabs\fR"
9113
9114 .IX Item "\fB\-feliminate-unused-debug-symbols\fR"
9115
9116 .IX Item "\fB\-gstabs+\fR"
9117
9118 .IX Item "\fB\-gcoff\fR"
9119
9120 .IX Item "\fB\-gxcoff\fR"
9121
9122 .IX Item "\fB\-gxcoff+\fR"
9123
9124 .IX Item "\fB\-gdwarf-2\fR"
9125
9126 .IX Item "\fB\-gvms\fR"
9127
9128 .IX Item "\fB\-g\fR\fIlevel\fR"
9129
9130 .IX Item "\fB\-ggdb\fR\fIlevel\fR"
9131
9132 .IX Item "\fB\-gstabs\fR\fIlevel\fR"
9133
9134 .IX Item "\fB\-gcoff\fR\fIlevel\fR"
9135
9136 .IX Item "\fB\-gxcoff\fR\fIlevel\fR"
9137
9138 .IX Item "\fB\-gvms\fR\fIlevel\fR"
9139
9140 .IX Item "\fB\-feliminate-dwarf2-dups\fR"
9141
9142 .IX Item "\fB\-p\fR"
9143
9144 .IX Item "\fB\-pg\fR"
9145
9146 .IX Item "\fB\-Q\fR"
9147
9148 .IX Item "\fB\-ftime-report\fR"
9149
9150 .IX Item "\fB\-fmem-report\fR"
9151
9152 .IX Item "\fB\-fprofile-arcs\fR"
9153
9154 .IX Item "@bullet"
9155
9156 .IX Item "@cvmmfu"
9157
9158 .IX Item "@dwnngv"
9159
9160 .IX Item "@exoohw"
9161
9162 .IX Item "@fyppix"
9163
9164 .IX Item "\fB\-ftest-coverage\fR"
9165
9166 .IX Item "\fB\-d\fR\fIletters\fR"
9167
9168 .IX Item "\fBA\fR"
9169
9170 .IX Item "\fBb\fR"
9171
9172 .IX Item "\fBB\fR"
9173
9174 .IX Item "\fBc\fR"
9175
9176 .IX Item "\fBC\fR"
9177
9178 .IX Item "\fBd\fR"
9179
9180 .IX Item "\fBD\fR"
9181
9182 .IX Item "\fBE\fR"
9183
9184 .IX Item "\fBf\fR"
9185
9186 .IX Item "\fBF\fR"
9187
9188 .IX Item "\fBg\fR"
9189
9190 .IX Item "\fBG\fR"
9191
9192 .IX Item "\fBh\fR"
9193
9194 .IX Item "\fBi\fR"
9195
9196 .IX Item "\fBj\fR"
9197
9198 .IX Item "\fBk\fR"
9199
9200 .IX Item "\fBl\fR"
9201
9202 .IX Item "\fBL\fR"
9203
9204 .IX Item "\fBM\fR"
9205
9206 .IX Item "\fBn\fR"
9207
9208 .IX Item "\fBN\fR"
9209
9210 .IX Item "\fBo\fR"
9211
9212 .IX Item "\fBr\fR"
9213
9214 .IX Item "\fBR\fR"
9215
9216 .IX Item "\fBs\fR"
9217
9218 .IX Item "\fBS\fR"
9219
9220 .IX Item "\fBt\fR"
9221
9222 .IX Item "\fBT\fR"
9223
9224 .IX Item "\fBu\fR"
9225
9226 .IX Item "\fBU\fR"
9227
9228 .IX Item "\fBV\fR"
9229
9230 .IX Item "\fBw\fR"
9231
9232 .IX Item "\fBz\fR"
9233
9234 .IX Item "\fBZ\fR"
9235
9236 .IX Item "\fBa\fR"
9237
9238 .IX Item "\fBH\fR"
9239
9240 .IX Item "\fBm\fR"
9241
9242 .IX Item "\fBp\fR"
9243
9244 .IX Item "\fBP\fR"
9245
9246 .IX Item "\fBv\fR"
9247
9248 .IX Item "\fBx\fR"
9249
9250 .IX Item "\fBy\fR"
9251
9252 .IX Item "\fB\-fdump-unnumbered\fR"
9253
9254 .IX Item "\fB\-fdump-translation-unit\fR (C and \*(C+ only)"
9255
9256 .IX Item "\fB\-fdump-translation-unit-\fR\fIoptions\fR\fB \fR(C and \*(C+ only)"
9257
9258 .IX Item "\fB\-fdump-class-hierarchy\fR (\*(C+ only)"
9259
9260 .IX Item "\fB\-fdump-class-hierarchy-\fR\fIoptions\fR\fB \fR(\*(C+ only)"
9261
9262 .IX Item "\fB\-fdump-tree-\fR\fIswitch\fR\fB \fR(\*(C+ only)"
9263
9264 .IX Item "\fB\-fdump-tree-\fR\fIswitch\fR\fB\-\fR\fIoptions\fR\fB \fR(\*(C+ only)"
9265
9266 .IX Item "\fBaddress\fR"
9267
9268 .IX Item "\fBslim\fR"
9269
9270 .IX Item "\fBall\fR"
9271
9272 .IX Item "\fBoriginal\fR"
9273
9274 .IX Item "\fBoptimized\fR"
9275
9276 .IX Item "\fBinlined\fR"
9277
9278 .IX Item "\fB\-frandom-seed=\fR\fIstring\fR"
9279
9280 .IX Item "\fB\-fsched-verbose=\fR\fIn\fR"
9281
9282 .IX Item "\fB\-save-temps\fR"
9283
9284 .IX Item "\fB\-time\fR"
9285
9286 .IX Item "\fB\-print-file-name=\fR\fIlibrary\fR"
9287
9288 .IX Item "\fB\-print-multi-directory\fR"
9289
9290 .IX Item "\fB\-print-multi-lib\fR"
9291
9292 .IX Item "\fB\-print-prog-name=\fR\fIprogram\fR"
9293
9294 .IX Item "\fB\-print-libgcc-file-name\fR"
9295
9296 .IX Item "\fB\-print-search-dirs\fR"
9297
9298 .IX Item "\fB\-dumpmachine\fR"
9299
9300 .IX Item "\fB\-dumpversion\fR"
9301
9302 .IX Item "\fB\-dumpspecs\fR"
9303
9304 .IX Item "\fB\-feliminate-unused-debug-types\fR"
9305
9306 .IX Subsection "Options That Control Optimization"
9307
9308 .IX Item "\fB\-O\fR"
9309
9310 .IX Item "\fB\-O1\fR"
9311
9312 .IX Item "\fB\-O2\fR"
9313
9314 .IX Item "\fB\-O3\fR"
9315
9316 .IX Item "\fB\-O0\fR"
9317
9318 .IX Item "\fB\-Os\fR"
9319
9320 .IX Item "\fB\-fno-default-inline\fR"
9321
9322 .IX Item "\fB\-fno-defer-pop\fR"
9323
9324 .IX Item "\fB\-fforce-mem\fR"
9325
9326 .IX Item "\fB\-fforce-addr\fR"
9327
9328 .IX Item "\fB\-fomit-frame-pointer\fR"
9329
9330 .IX Item "\fB\-foptimize-sibling-calls\fR"
9331
9332 .IX Item "\fB\-fno-inline\fR"
9333
9334 .IX Item "\fB\-finline-functions\fR"
9335
9336 .IX Item "\fB\-finline-limit=\fR\fIn\fR"
9337
9338 .IX Item "\fB\-fkeep-inline-functions\fR"
9339
9340 .IX Item "\fB\-fkeep-static-consts\fR"
9341
9342 .IX Item "\fB\-fmerge-constants\fR"
9343
9344 .IX Item "\fB\-fmerge-all-constants\fR"
9345
9346 .IX Item "\fB\-fnew-ra\fR"
9347
9348 .IX Item "\fB\-fno-branch-count-reg\fR"
9349
9350 .IX Item "\fB\-fno-function-cse\fR"
9351
9352 .IX Item "\fB\-fno-zero-initialized-in-bss\fR"
9353
9354 .IX Item "\fB\-fstrength-reduce\fR"
9355
9356 .IX Item "\fB\-fthread-jumps\fR"
9357
9358 .IX Item "\fB\-fcse-follow-jumps\fR"
9359
9360 .IX Item "\fB\-fcse-skip-blocks\fR"
9361
9362 .IX Item "\fB\-frerun-cse-after-loop\fR"
9363
9364 .IX Item "\fB\-frerun-loop-opt\fR"
9365
9366 .IX Item "\fB\-fgcse\fR"
9367
9368 .IX Item "\fB\-fgcse-lm\fR"
9369
9370 .IX Item "\fB\-fgcse-sm\fR"
9371
9372 .IX Item "\fB\-fgcse-las\fR"
9373
9374 .IX Item "\fB\-floop-optimize\fR"
9375
9376 .IX Item "\fB\-fcrossjumping\fR"
9377
9378 .IX Item "\fB\-fif-conversion\fR"
9379
9380 .IX Item "\fB\-fif-conversion2\fR"
9381
9382 .IX Item "\fB\-fdelete-null-pointer-checks\fR"
9383
9384 .IX Item "\fB\-fexpensive-optimizations\fR"
9385
9386 .IX Item "\fB\-foptimize-register-move\fR"
9387
9388 .IX Item "\fB\-fregmove\fR"
9389
9390 .IX Item "\fB\-fdelayed-branch\fR"
9391
9392 .IX Item "\fB\-fschedule-insns\fR"
9393
9394 .IX Item "\fB\-fschedule-insns2\fR"
9395
9396 .IX Item "\fB\-fno-sched-interblock\fR"
9397
9398 .IX Item "\fB\-fno-sched-spec\fR"
9399
9400 .IX Item "\fB\-fsched-spec-load\fR"
9401
9402 .IX Item "\fB\-fsched-spec-load-dangerous\fR"
9403
9404 .IX Item "\fB\-fsched-stalled-insns=\fR\fIn\fR"
9405
9406 .IX Item "\fB\-fsched-stalled-insns-dep=\fR\fIn\fR"
9407
9408 .IX Item "\fB\-fsched2-use-superblocks\fR"
9409
9410 .IX Item "\fB\-fsched2-use-traces\fR"
9411
9412 .IX Item "\fB\-fcaller-saves\fR"
9413
9414 .IX Item "\fB\-fmove-all-movables\fR"
9415
9416 .IX Item "\fB\-freduce-all-givs\fR"
9417
9418 .IX Item "\fB\-fno-peephole\fR"
9419
9420 .IX Item "\fB\-fno-peephole2\fR"
9421
9422 .IX Item "\fB\-fno-guess-branch-probability\fR"
9423
9424 .IX Item "\fB\-freorder-blocks\fR"
9425
9426 .IX Item "\fB\-freorder-functions\fR"
9427
9428 .IX Item "\fB\-fstrict-aliasing\fR"
9429
9430 .IX Item "\fB\-falign-functions\fR"
9431
9432 .IX Item "\fB\-falign-functions=\fR\fIn\fR"
9433
9434 .IX Item "\fB\-falign-labels\fR"
9435
9436 .IX Item "\fB\-falign-labels=\fR\fIn\fR"
9437
9438 .IX Item "\fB\-falign-loops\fR"
9439
9440 .IX Item "\fB\-falign-loops=\fR\fIn\fR"
9441
9442 .IX Item "\fB\-falign-jumps\fR"
9443
9444 .IX Item "\fB\-falign-jumps=\fR\fIn\fR"
9445
9446 .IX Item "\fB\-frename-registers\fR"
9447
9448 .IX Item "\fB\-fweb\fR"
9449
9450 .IX Item "\fB\-fno-cprop-registers\fR"
9451
9452 .IX Item "\fB\-fprofile-generate\fR"
9453
9454 .IX Item "\fB\-fprofile-use\fR"
9455
9456 .IX Item "\fB\-ffloat-store\fR"
9457
9458 .IX Item "\fB\-ffast-math\fR"
9459
9460 .IX Item "\fB\-fno-math-errno\fR"
9461
9462 .IX Item "\fB\-funsafe-math-optimizations\fR"
9463
9464 .IX Item "\fB\-ffinite-math-only\fR"
9465
9466 .IX Item "\fB\-fno-trapping-math\fR"
9467
9468 .IX Item "\fB\-frounding-math\fR"
9469
9470 .IX Item "\fB\-fsignaling-nans\fR"
9471
9472 .IX Item "\fB\-fsingle-precision-constant\fR"
9473
9474 .IX Item "\fB\-fbranch-probabilities\fR"
9475
9476 .IX Item "\fB\-fprofile-values\fR"
9477
9478 .IX Item "\fB\-fvpt\fR"
9479
9480 .IX Item "\fB\-fnew-ra\fR"
9481
9482 .IX Item "\fB\-ftracer\fR"
9483
9484 .IX Item "\fB\-funit-at-a-time\fR"
9485
9486 .IX Item "\fB\-funroll-loops\fR"
9487
9488 .IX Item "\fB\-funroll-all-loops\fR"
9489
9490 .IX Item "\fB\-fpeel-loops\fR"
9491
9492 .IX Item "\fB\-funswitch-loops\fR"
9493
9494 .IX Item "\fB\-fold-unroll-loops\fR"
9495
9496 .IX Item "\fB\-fold-unroll-all-loops\fR"
9497
9498 .IX Item "\fB\-funswitch-loops\fR"
9499
9500 .IX Item "\fB\-funswitch-loops\fR"
9501
9502 .IX Item "\fB\-fprefetch-loop-arrays\fR"
9503
9504 .IX Item "\fB\-ffunction-sections\fR"
9505
9506 .IX Item "\fB\-fdata-sections\fR"
9507
9508 .IX Item "\fB\-fbranch-target-load-optimize\fR"
9509
9510 .IX Item "\fB\-fbranch-target-load-optimize2\fR"
9511
9512 .IX Item "\fB--param\fR \fIname\fR\fB=\fR\fIvalue\fR"
9513
9514 .IX Item "\fBmax-crossjump-edges\fR"
9515
9516 .IX Item "\fBmax-delay-slot-insn-search\fR"
9517
9518 .IX Item "\fBmax-delay-slot-live-search\fR"
9519
9520 .IX Item "\fBmax-gcse-memory\fR"
9521
9522 .IX Item "\fBmax-gcse-passes\fR"
9523
9524 .IX Item "\fBmax-pending-list-length\fR"
9525
9526 .IX Item "\fBmax-inline-insns-single\fR"
9527
9528 .IX Item "\fBmax-inline-insns-auto\fR"
9529
9530 .IX Item "\fBlarge-function-insns\fR"
9531
9532 .IX Item "\fBlarge-function-growth\fR"
9533
9534 .IX Item "\fBinline-unit-growth\fR"
9535
9536 .IX Item "\fBmax-inline-insns-rtl\fR"
9537
9538 .IX Item "\fBmax-unrolled-insns\fR"
9539
9540 .IX Item "\fBmax-average-unrolled-insns\fR"
9541
9542 .IX Item "\fBmax-unroll-times\fR"
9543
9544 .IX Item "\fBmax-peeled-insns\fR"
9545
9546 .IX Item "\fBmax-peel-times\fR"
9547
9548 .IX Item "\fBmax-completely-peeled-insns\fR"
9549
9550 .IX Item "\fBmax-completely-peel-times\fR"
9551
9552 .IX Item "\fBmax-unswitch-insns\fR"
9553
9554 .IX Item "\fBmax-unswitch-level\fR"
9555
9556 .IX Item "\fBhot-bb-count-fraction\fR"
9557
9558 .IX Item "\fBhot-bb-frequency-fraction\fR"
9559
9560 .IX Item "\fBtracer-dynamic-coverage\fR"
9561
9562 .IX Item "\fBtracer-dynamic-coverage-feedback\fR"
9563
9564 .IX Item "\fBtracer-max-code-growth\fR"
9565
9566 .IX Item "\fBtracer-min-branch-ratio\fR"
9567
9568 .IX Item "\fBtracer-min-branch-ratio\fR"
9569
9570 .IX Item "\fBtracer-min-branch-ratio-feedback\fR"
9571
9572 .IX Item "\fBmax-cse-path-length\fR"
9573
9574 .IX Item "\fBggc-min-expand\fR"
9575
9576 .IX Item "\fBggc-min-heapsize\fR"
9577
9578 .IX Item "\fBmax-reload-search-insns\fR"
9579
9580 .IX Item "\fBmax-cselib-memory-location\fR"
9581
9582 .IX Item "\fBreorder-blocks-duplicate\fR"
9583
9584 .IX Item "\fBreorder-blocks-duplicate-feedback\fR"
9585
9586 .IX Subsection "Options Controlling the Preprocessor"
9587
9588 .IX Item "\fB\-Xpreprocessor\fR \fIoption\fR"
9589
9590 .IX Item "\fB\-D\fR \fIname\fR"
9591
9592 .IX Item "\fB\-D\fR \fIname\fR\fB=\fR\fIdefinition\fR"
9593
9594 .IX Item "\fB\-U\fR \fIname\fR"
9595
9596 .IX Item "\fB\-undef\fR"
9597
9598 .IX Item "\fB\-I\fR \fIdir\fR"
9599
9600 .IX Item "\fB\-o\fR \fIfile\fR"
9601
9602 .IX Item "\fB\-Wall\fR"
9603
9604 .IX Item "\fB\-Wcomment\fR"
9605
9606 .IX Item "\fB\-Wcomments\fR"
9607
9608 .IX Item "\fB\-Wtrigraphs\fR"
9609
9610 .IX Item "\fB\-Wtraditional\fR"
9611
9612 .IX Item "\fB\-Wimport\fR"
9613
9614 .IX Item "\fB\-Wundef\fR"
9615
9616 .IX Item "\fB\-Wunused-macros\fR"
9617
9618 .IX Item "\fB\-Wendif-labels\fR"
9619
9620 .IX Item "\fB\-Werror\fR"
9621
9622 .IX Item "\fB\-Wsystem-headers\fR"
9623
9624 .IX Item "\fB\-w\fR"
9625
9626 .IX Item "\fB\-pedantic\fR"
9627
9628 .IX Item "\fB\-pedantic-errors\fR"
9629
9630 .IX Item "\fB\-M\fR"
9631
9632 .IX Item "\fB\-\s-1MM\s0\fR"
9633
9634 .IX Item "\fB\-\s-1MF\s0\fR \fIfile\fR"
9635
9636 .IX Item "\fB\-\s-1MG\s0\fR"
9637
9638 .IX Item "\fB\-\s-1MP\s0\fR"
9639
9640 .IX Item "\fB\-\s-1MT\s0\fR \fItarget\fR"
9641
9642 .IX Item "\fB\-\s-1MQ\s0\fR \fItarget\fR"
9643
9644 .IX Item "\fB\-\s-1MD\s0\fR"
9645
9646 .IX Item "\fB\-\s-1MMD\s0\fR"
9647
9648 .IX Item "\fB\-fpch-deps\fR"
9649
9650 .IX Item "\fB\-x c\fR"
9651
9652 .IX Item "\fB\-x c++\fR"
9653
9654 .IX Item "\fB\-x objective-c\fR"
9655
9656 .IX Item "\fB\-x assembler-with-cpp\fR"
9657
9658 .IX Item "\fB\-std=\fR\fIstandard\fR"
9659
9660 .IX Item "\fB\-ansi\fR"
9661
9662 .IX Item "\f(CWiso9899:1990\fR"
9663
9664 .IX Item "\f(CWc89\fR"
9665
9666 .IX Item "\f(CWiso9899:199409\fR"
9667
9668 .IX Item "\f(CWiso9899:1999\fR"
9669
9670 .IX Item "\f(CWc99\fR"
9671
9672 .IX Item "\f(CWiso9899:199x\fR"
9673
9674 .IX Item "\f(CWc9x\fR"
9675
9676 .IX Item "\f(CWgnu89\fR"
9677
9678 .IX Item "\f(CWgnu99\fR"
9679
9680 .IX Item "\f(CWgnu9x\fR"
9681
9682 .IX Item "\f(CWc++98\fR"
9683
9684 .IX Item "\f(CWgnu++98\fR"
9685
9686 .IX Item "\fB\-I-\fR"
9687
9688 .IX Item "\fB\-nostdinc\fR"
9689
9690 .IX Item "\fB\-nostdinc++\fR"
9691
9692 .IX Item "\fB\-include\fR \fIfile\fR"
9693
9694 .IX Item "\fB\-imacros\fR \fIfile\fR"
9695
9696 .IX Item "\fB\-idirafter\fR \fIdir\fR"
9697
9698 .IX Item "\fB\-iprefix\fR \fIprefix\fR"
9699
9700 .IX Item "\fB\-iwithprefix\fR \fIdir\fR"
9701
9702 .IX Item "\fB\-iwithprefixbefore\fR \fIdir\fR"
9703
9704 .IX Item "\fB\-isystem\fR \fIdir\fR"
9705
9706 .IX Item "\fB\-fdollars-in-identifiers\fR"
9707
9708 .IX Item "\fB\-fpreprocessed\fR"
9709
9710 .IX Item "\fB\-ftabstop=\fR\fIwidth\fR"
9711
9712 .IX Item "\fB\-fexec-charset=\fR\fIcharset\fR"
9713
9714 .IX Item "\fB\-fwide-exec-charset=\fR\fIcharset\fR"
9715
9716 .IX Item "\fB\-finput-charset=\fR\fIcharset\fR"
9717
9718 .IX Item "\fB\-fworking-directory\fR"
9719
9720 .IX Item "\fB\-fno-show-column\fR"
9721
9722 .IX Item "\fB\-A\fR \fIpredicate\fR\fB=\fR\fIanswer\fR"
9723
9724 .IX Item "\fB\-A \-\fR\fIpredicate\fR\fB=\fR\fIanswer\fR"
9725
9726 .IX Item "\fB\-dCHARS\fR"
9727
9728 .IX Item "\fBM\fR"
9729
9730 .IX Item "\fBD\fR"
9731
9732 .IX Item "\fBN\fR"
9733
9734 .IX Item "\fBI\fR"
9735
9736 .IX Item "\fB\-P\fR"
9737
9738 .IX Item "\fB\-C\fR"
9739
9740 .IX Item "\fB\-\s-1CC\s0\fR"
9741
9742 .IX Item "\fB\-traditional-cpp\fR"
9743
9744 .IX Item "\fB\-trigraphs\fR"
9745
9746 .IX Item "\fB\-remap\fR"
9747
9748 .IX Item "\fB--help\fR"
9749
9750 .IX Item "\fB--target-help\fR"
9751
9752 .IX Item "\fB\-v\fR"
9753
9754 .IX Item "\fB\-H\fR"
9755
9756 .IX Item "\fB\-version\fR"
9757
9758 .IX Item "\fB--version\fR"
9759
9760 .IX Subsection "Passing Options to the Assembler"
9761
9762 .IX Item "\fB\-Wa,\fR\fIoption\fR"
9763
9764 .IX Item "\fB\-Xassembler\fR \fIoption\fR"
9765
9766 .IX Subsection "Options for Linking"
9767
9768 .IX Item "\fIobject-file-name\fR"
9769
9770 .IX Item "\fB\-c\fR"
9771
9772 .IX Item "\fB\-S\fR"
9773
9774 .IX Item "\fB\-E\fR"
9775
9776 .IX Item "\fB\-l\fR\fIlibrary\fR"
9777
9778 .IX Item "\fB\-l\fR \fIlibrary\fR"
9779
9780 .IX Item "\fB\-lobjc\fR"
9781
9782 .IX Item "\fB\-nostartfiles\fR"
9783
9784 .IX Item "\fB\-nodefaultlibs\fR"
9785
9786 .IX Item "\fB\-nostdlib\fR"
9787
9788 .IX Item "\fB\-pie\fR"
9789
9790 .IX Item "\fB\-s\fR"
9791
9792 .IX Item "\fB\-static\fR"
9793
9794 .IX Item "\fB\-shared\fR"
9795
9796 .IX Item "\fB\-shared-libgcc\fR"
9797
9798 .IX Item "\fB\-static-libgcc\fR"
9799
9800 .IX Item "\fB\-symbolic\fR"
9801
9802 .IX Item "\fB\-Xlinker\fR \fIoption\fR"
9803
9804 .IX Item "\fB\-Wl,\fR\fIoption\fR"
9805
9806 .IX Item "\fB\-u\fR \fIsymbol\fR"
9807
9808 .IX Subsection "Options for Directory Search"
9809
9810 .IX Item "\fB\-I\fR\fIdir\fR"
9811
9812 .IX Item "\fB\-I-\fR"
9813
9814 .IX Item "\fB\-L\fR\fIdir\fR"
9815
9816 .IX Item "\fB\-B\fR\fIprefix\fR"
9817
9818 .IX Item "\fB\-specs=\fR\fIfile\fR"
9819
9820 .IX Subsection "Specifying Target Machine and Compiler Version"
9821
9822 .IX Item "\fB\-b\fR \fImachine\fR"
9823
9824 .IX Item "\fB\-V\fR \fIversion\fR"
9825
9826 .IX Subsection "Hardware Models and Configurations"
9827
9828 .IX Item "\fB\-m68000\fR"
9829
9830 .IX Item "\fB\-mc68000\fR"
9831
9832 .IX Item "\fB\-m68020\fR"
9833
9834 .IX Item "\fB\-mc68020\fR"
9835
9836 .IX Item "\fB\-m68881\fR"
9837
9838 .IX Item "\fB\-m68030\fR"
9839
9840 .IX Item "\fB\-m68040\fR"
9841
9842 .IX Item "\fB\-m68060\fR"
9843
9844 .IX Item "\fB\-mcpu32\fR"
9845
9846 .IX Item "\fB\-m5200\fR"
9847
9848 .IX Item "\fB\-m68020-40\fR"
9849
9850 .IX Item "\fB\-m68020-60\fR"
9851
9852 .IX Item "\fB\-msoft-float\fR"
9853
9854 .IX Item "\fB\-mshort\fR"
9855
9856 .IX Item "\fB\-mnobitfield\fR"
9857
9858 .IX Item "\fB\-mbitfield\fR"
9859
9860 .IX Item "\fB\-mrtd\fR"
9861
9862 .IX Item "\fB\-malign-int\fR"
9863
9864 .IX Item "\fB\-mno-align-int\fR"
9865
9866 .IX Item "\fB\-mpcrel\fR"
9867
9868 .IX Item "\fB\-mno-strict-align\fR"
9869
9870 .IX Item "\fB\-mstrict-align\fR"
9871
9872 .IX Item "\fB\-msep-data\fR"
9873
9874 .IX Item "\fB\-mno-sep-data\fR"
9875
9876 .IX Item "\fB\-mid-shared-library\fR"
9877
9878 .IX Item "\fB\-mno-id-shared-library\fR"
9879
9880 .IX Item "\fB\-mshared-library-id=n\fR"
9881
9882 .IX Item "\fB\-m6811\fR"
9883
9884 .IX Item "\fB\-m68hc11\fR"
9885
9886 .IX Item "\fB\-m6812\fR"
9887
9888 .IX Item "\fB\-m68hc12\fR"
9889
9890 .IX Item "\fB\-m68S12\fR"
9891
9892 .IX Item "\fB\-m68hcs12\fR"
9893
9894 .IX Item "\fB\-mauto-incdec\fR"
9895
9896 .IX Item "\fB\-minmax\fR"
9897
9898 .IX Item "\fB\-nominmax\fR"
9899
9900 .IX Item "\fB\-mlong-calls\fR"
9901
9902 .IX Item "\fB\-mno-long-calls\fR"
9903
9904 .IX Item "\fB\-mshort\fR"
9905
9906 .IX Item "\fB\-msoft-reg-count=\fR\fIcount\fR"
9907
9908 .IX Item "\fB\-munix\fR"
9909
9910 .IX Item "\fB\-mgnu\fR"
9911
9912 .IX Item "\fB\-mg\fR"
9913
9914 .IX Item "\fB\-mno-app-regs\fR"
9915
9916 .IX Item "\fB\-mapp-regs\fR"
9917
9918 .IX Item "\fB\-mfpu\fR"
9919
9920 .IX Item "\fB\-mhard-float\fR"
9921
9922 .IX Item "\fB\-mno-fpu\fR"
9923
9924 .IX Item "\fB\-msoft-float\fR"
9925
9926 .IX Item "\fB\-mhard-quad-float\fR"
9927
9928 .IX Item "\fB\-msoft-quad-float\fR"
9929
9930 .IX Item "\fB\-mno-flat\fR"
9931
9932 .IX Item "\fB\-mflat\fR"
9933
9934 .IX Item "\fB\-mno-unaligned-doubles\fR"
9935
9936 .IX Item "\fB\-munaligned-doubles\fR"
9937
9938 .IX Item "\fB\-mno-faster-structs\fR"
9939
9940 .IX Item "\fB\-mfaster-structs\fR"
9941
9942 .IX Item "\fB\-mimpure-text\fR"
9943
9944 .IX Item "\fB\-mv8\fR"
9945
9946 .IX Item "\fB\-msparclite\fR"
9947
9948 .IX Item "\fB\-mcypress\fR"
9949
9950 .IX Item "\fB\-msupersparc\fR"
9951
9952 .IX Item "\fB\-mf930\fR"
9953
9954 .IX Item "\fB\-mf934\fR"
9955
9956 .IX Item "\fB\-mcpu=\fR\fIcpu_type\fR"
9957
9958 .IX Item "\fB\-mtune=\fR\fIcpu_type\fR"
9959
9960 .IX Item "\fB\-mv8plus\fR"
9961
9962 .IX Item "\fB\-mno-v8plus\fR"
9963
9964 .IX Item "\fB\-mvis\fR"
9965
9966 .IX Item "\fB\-mno-vis\fR"
9967
9968 .IX Item "\fB\-mlittle-endian\fR"
9969
9970 .IX Item "\fB\-m32\fR"
9971
9972 .IX Item "\fB\-m64\fR"
9973
9974 .IX Item "\fB\-mcmodel=medlow\fR"
9975
9976 .IX Item "\fB\-mcmodel=medmid\fR"
9977
9978 .IX Item "\fB\-mcmodel=medany\fR"
9979
9980 .IX Item "\fB\-mcmodel=embmedany\fR"
9981
9982 .IX Item "\fB\-mstack-bias\fR"
9983
9984 .IX Item "\fB\-mno-stack-bias\fR"
9985
9986 .IX Item "\fB\-mapcs-frame\fR"
9987
9988 .IX Item "\fB\-mapcs\fR"
9989
9990 .IX Item "\fB\-mapcs-26\fR"
9991
9992 .IX Item "\fB\-mapcs-32\fR"
9993
9994 .IX Item "\fB\-mthumb-interwork\fR"
9995
9996 .IX Item "\fB\-mno-sched-prolog\fR"
9997
9998 .IX Item "\fB\-mhard-float\fR"
9999
10000 .IX Item "\fB\-msoft-float\fR"
10001
10002 .IX Item "\fB\-mlittle-endian\fR"
10003
10004 .IX Item "\fB\-mbig-endian\fR"
10005
10006 .IX Item "\fB\-mwords-little-endian\fR"
10007
10008 .IX Item "\fB\-malignment-traps\fR"
10009
10010 .IX Item "\fB\-mno-alignment-traps\fR"
10011
10012 .IX Item "\fB\-mcpu=\fR\fIname\fR"
10013
10014 .IX Item "\fB\-mtune=\fR\fIname\fR"
10015
10016 .IX Item "\fB\-march=\fR\fIname\fR"
10017
10018 .IX Item "\fB\-mfpe=\fR\fInumber\fR"
10019
10020 .IX Item "\fB\-mfp=\fR\fInumber\fR"
10021
10022 .IX Item "\fB\-mstructure-size-boundary=\fR\fIn\fR"
10023
10024 .IX Item "\fB\-mabort-on-noreturn\fR"
10025
10026 .IX Item "\fB\-mlong-calls\fR"
10027
10028 .IX Item "\fB\-mno-long-calls\fR"
10029
10030 .IX Item "\fB\-mnop-fun-dllimport\fR"
10031
10032 .IX Item "\fB\-msingle-pic-base\fR"
10033
10034 .IX Item "\fB\-mpic-register=\fR\fIreg\fR"
10035
10036 .IX Item "\fB\-mcirrus-fix-invalid-insns\fR"
10037
10038 .IX Item "\fB\-mpoke-function-name\fR"
10039
10040 .IX Item "\fB\-mthumb\fR"
10041
10042 .IX Item "\fB\-mtpcs-frame\fR"
10043
10044 .IX Item "\fB\-mtpcs-leaf-frame\fR"
10045
10046 .IX Item "\fB\-mcallee-super-interworking\fR"
10047
10048 .IX Item "\fB\-mcaller-super-interworking\fR"
10049
10050 .IX Item "\fB\-mmult-bug\fR"
10051
10052 .IX Item "\fB\-mno-mult-bug\fR"
10053
10054 .IX Item "\fB\-mam33\fR"
10055
10056 .IX Item "\fB\-mno-am33\fR"
10057
10058 .IX Item "\fB\-mno-crt0\fR"
10059
10060 .IX Item "\fB\-mrelax\fR"
10061
10062 .IX Item "\fB\-m32r2\fR"
10063
10064 .IX Item "\fB\-m32rx\fR"
10065
10066 .IX Item "\fB\-m32r\fR"
10067
10068 .IX Item "\fB\-mmodel=small\fR"
10069
10070 .IX Item "\fB\-mmodel=medium\fR"
10071
10072 .IX Item "\fB\-mmodel=large\fR"
10073
10074 .IX Item "\fB\-msdata=none\fR"
10075
10076 .IX Item "\fB\-msdata=sdata\fR"
10077
10078 .IX Item "\fB\-msdata=use\fR"
10079
10080 .IX Item "\fB\-G\fR \fInum\fR"
10081
10082 .IX Item "\fB\-mdebug\fR"
10083
10084 .IX Item "\fB\-malign-loops\fR"
10085
10086 .IX Item "\fB\-mno-align-loops\fR"
10087
10088 .IX Item "\fB\-missue-rate=\fR\fInumber\fR"
10089
10090 .IX Item "\fB\-mbranch-cost=\fR\fInumber\fR"
10091
10092 .IX Item "\fB\-mflush-trap=\fR\fInumber\fR"
10093
10094 .IX Item "\fB\-mno-flush-trap\fR"
10095
10096 .IX Item "\fB\-mflush-func=\fR\fIname\fR"
10097
10098 .IX Item "\fB\-mno-flush-func\fR"
10099
10100 .IX Item "\fB\-mpower\fR"
10101
10102 .IX Item "\fB\-mno-power\fR"
10103
10104 .IX Item "\fB\-mpower2\fR"
10105
10106 .IX Item "\fB\-mno-power2\fR"
10107
10108 .IX Item "\fB\-mpowerpc\fR"
10109
10110 .IX Item "\fB\-mno-powerpc\fR"
10111
10112 .IX Item "\fB\-mpowerpc-gpopt\fR"
10113
10114 .IX Item "\fB\-mno-powerpc-gpopt\fR"
10115
10116 .IX Item "\fB\-mpowerpc-gfxopt\fR"
10117
10118 .IX Item "\fB\-mno-powerpc-gfxopt\fR"
10119
10120 .IX Item "\fB\-mpowerpc64\fR"
10121
10122 .IX Item "\fB\-mno-powerpc64\fR"
10123
10124 .IX Item "\fB\-mnew-mnemonics\fR"
10125
10126 .IX Item "\fB\-mold-mnemonics\fR"
10127
10128 .IX Item "\fB\-mcpu=\fR\fIcpu_type\fR"
10129
10130 .IX Item "\fB\-mtune=\fR\fIcpu_type\fR"
10131
10132 .IX Item "\fB\-maltivec\fR"
10133
10134 .IX Item "\fB\-mno-altivec\fR"
10135
10136 .IX Item "\fB\-mabi=spe\fR"
10137
10138 .IX Item "\fB\-mabi=no-spe\fR"
10139
10140 .IX Item "\fB\-misel=\fR\fIyes/no\fR"
10141
10142 .IX Item "\fB\-misel\fR"
10143
10144 .IX Item "\fB\-mspe=\fR\fIyes/no\fR"
10145
10146 .IX Item "\fB\-mspe\fR"
10147
10148 .IX Item "\fB\-mfloat-gprs=\fR\fIyes/no\fR"
10149
10150 .IX Item "\fB\-mfloat-gprs\fR"
10151
10152 .IX Item "\fB\-mfull-toc\fR"
10153
10154 .IX Item "\fB\-mno-fp-in-toc\fR"
10155
10156 .IX Item "\fB\-mno-sum-in-toc\fR"
10157
10158 .IX Item "\fB\-mminimal-toc\fR"
10159
10160 .IX Item "\fB\-maix64\fR"
10161
10162 .IX Item "\fB\-maix32\fR"
10163
10164 .IX Item "\fB\-mxl-call\fR"
10165
10166 .IX Item "\fB\-mno-xl-call\fR"
10167
10168 .IX Item "\fB\-mpe\fR"
10169
10170 .IX Item "\fB\-malign-natural\fR"
10171
10172 .IX Item "\fB\-malign-power\fR"
10173
10174 .IX Item "\fB\-msoft-float\fR"
10175
10176 .IX Item "\fB\-mhard-float\fR"
10177
10178 .IX Item "\fB\-mmultiple\fR"
10179
10180 .IX Item "\fB\-mno-multiple\fR"
10181
10182 .IX Item "\fB\-mstring\fR"
10183
10184 .IX Item "\fB\-mno-string\fR"
10185
10186 .IX Item "\fB\-mupdate\fR"
10187
10188 .IX Item "\fB\-mno-update\fR"
10189
10190 .IX Item "\fB\-mfused-madd\fR"
10191
10192 .IX Item "\fB\-mno-fused-madd\fR"
10193
10194 .IX Item "\fB\-mno-bit-align\fR"
10195
10196 .IX Item "\fB\-mbit-align\fR"
10197
10198 .IX Item "\fB\-mno-strict-align\fR"
10199
10200 .IX Item "\fB\-mstrict-align\fR"
10201
10202 .IX Item "\fB\-mrelocatable\fR"
10203
10204 .IX Item "\fB\-mno-relocatable\fR"
10205
10206 .IX Item "\fB\-mrelocatable-lib\fR"
10207
10208 .IX Item "\fB\-mno-relocatable-lib\fR"
10209
10210 .IX Item "\fB\-mno-toc\fR"
10211
10212 .IX Item "\fB\-mtoc\fR"
10213
10214 .IX Item "\fB\-mlittle\fR"
10215
10216 .IX Item "\fB\-mlittle-endian\fR"
10217
10218 .IX Item "\fB\-mbig\fR"
10219
10220 .IX Item "\fB\-mbig-endian\fR"
10221
10222 .IX Item "\fB\-mdynamic-no-pic\fR"
10223
10224 .IX Item "\fB\-mprioritize-restricted-insns=\fR\fIpriority\fR"
10225
10226 .IX Item "\fB\-msched-costly-dep=\fR\fIdependence_type\fR"
10227
10228 .IX Item "\fB\-minsert-sched-nops=\fR\fIscheme\fR"
10229
10230 .IX Item "\fB\-mcall-sysv\fR"
10231
10232 .IX Item "\fB\-mcall-sysv-eabi\fR"
10233
10234 .IX Item "\fB\-mcall-sysv-noeabi\fR"
10235
10236 .IX Item "\fB\-mcall-solaris\fR"
10237
10238 .IX Item "\fB\-mcall-linux\fR"
10239
10240 .IX Item "\fB\-mcall-gnu\fR"
10241
10242 .IX Item "\fB\-mcall-netbsd\fR"
10243
10244 .IX Item "\fB\-maix-struct-return\fR"
10245
10246 .IX Item "\fB\-msvr4-struct-return\fR"
10247
10248 .IX Item "\fB\-mabi=altivec\fR"
10249
10250 .IX Item "\fB\-mabi=no-altivec\fR"
10251
10252 .IX Item "\fB\-mprototype\fR"
10253
10254 .IX Item "\fB\-mno-prototype\fR"
10255
10256 .IX Item "\fB\-msim\fR"
10257
10258 .IX Item "\fB\-mmvme\fR"
10259
10260 .IX Item "\fB\-mads\fR"
10261
10262 .IX Item "\fB\-myellowknife\fR"
10263
10264 .IX Item "\fB\-mvxworks\fR"
10265
10266 .IX Item "\fB\-mwindiss\fR"
10267
10268 .IX Item "\fB\-memb\fR"
10269
10270 .IX Item "\fB\-meabi\fR"
10271
10272 .IX Item "\fB\-mno-eabi\fR"
10273
10274 .IX Item "\fB\-msdata=eabi\fR"
10275
10276 .IX Item "\fB\-msdata=sysv\fR"
10277
10278 .IX Item "\fB\-msdata=default\fR"
10279
10280 .IX Item "\fB\-msdata\fR"
10281
10282 .IX Item "\fB\-msdata-data\fR"
10283
10284 .IX Item "\fB\-msdata=none\fR"
10285
10286 .IX Item "\fB\-mno-sdata\fR"
10287
10288 .IX Item "\fB\-G\fR \fInum\fR"
10289
10290 .IX Item "\fB\-mregnames\fR"
10291
10292 .IX Item "\fB\-mno-regnames\fR"
10293
10294 .IX Item "\fB\-mlongcall\fR"
10295
10296 .IX Item "\fB\-mno-longcall\fR"
10297
10298 .IX Item "\fB\-pthread\fR"
10299
10300 .IX Item "\fB\-all_load\fR"
10301
10302 .IX Item "\fB\-arch_errors_fatal\fR"
10303
10304 .IX Item "\fB\-bind_at_load\fR"
10305
10306 .IX Item "\fB\-bundle\fR"
10307
10308 .IX Item "\fB\-bundle_loader\fR \fIexecutable\fR"
10309
10310 .IX Item "\fB\-allowable_client\fR  \fIclient_name\fR"
10311
10312 .IX Item "\fB\-arch_only\fR"
10313
10314 .IX Item "\fB\-client_name\fR"
10315
10316 .IX Item "\fB\-compatibility_version\fR"
10317
10318 .IX Item "\fB\-current_version\fR"
10319
10320 .IX Item "\fB\-dependency-file\fR"
10321
10322 .IX Item "\fB\-dylib_file\fR"
10323
10324 .IX Item "\fB\-dylinker_install_name\fR"
10325
10326 .IX Item "\fB\-dynamic\fR"
10327
10328 .IX Item "\fB\-dynamiclib\fR"
10329
10330 .IX Item "\fB\-exported_symbols_list\fR"
10331
10332 .IX Item "\fB\-filelist\fR"
10333
10334 .IX Item "\fB\-flat_namespace\fR"
10335
10336 .IX Item "\fB\-force_cpusubtype_ALL\fR"
10337
10338 .IX Item "\fB\-force_flat_namespace\fR"
10339
10340 .IX Item "\fB\-headerpad_max_install_names\fR"
10341
10342 .IX Item "\fB\-image_base\fR"
10343
10344 .IX Item "\fB\-init\fR"
10345
10346 .IX Item "\fB\-install_name\fR"
10347
10348 .IX Item "\fB\-keep_private_externs\fR"
10349
10350 .IX Item "\fB\-multi_module\fR"
10351
10352 .IX Item "\fB\-multiply_defined\fR"
10353
10354 .IX Item "\fB\-multiply_defined_unused\fR"
10355
10356 .IX Item "\fB\-noall_load\fR"
10357
10358 .IX Item "\fB\-nofixprebinding\fR"
10359
10360 .IX Item "\fB\-nomultidefs\fR"
10361
10362 .IX Item "\fB\-noprebind\fR"
10363
10364 .IX Item "\fB\-noseglinkedit\fR"
10365
10366 .IX Item "\fB\-pagezero_size\fR"
10367
10368 .IX Item "\fB\-prebind\fR"
10369
10370 .IX Item "\fB\-prebind_all_twolevel_modules\fR"
10371
10372 .IX Item "\fB\-private_bundle\fR"
10373
10374 .IX Item "\fB\-read_only_relocs\fR"
10375
10376 .IX Item "\fB\-sectalign\fR"
10377
10378 .IX Item "\fB\-sectobjectsymbols\fR"
10379
10380 .IX Item "\fB\-whyload\fR"
10381
10382 .IX Item "\fB\-seg1addr\fR"
10383
10384 .IX Item "\fB\-sectcreate\fR"
10385
10386 .IX Item "\fB\-sectobjectsymbols\fR"
10387
10388 .IX Item "\fB\-sectorder\fR"
10389
10390 .IX Item "\fB\-seg_addr_table\fR"
10391
10392 .IX Item "\fB\-seg_addr_table_filename\fR"
10393
10394 .IX Item "\fB\-seglinkedit\fR"
10395
10396 .IX Item "\fB\-segprot\fR"
10397
10398 .IX Item "\fB\-segs_read_only_addr\fR"
10399
10400 .IX Item "\fB\-segs_read_write_addr\fR"
10401
10402 .IX Item "\fB\-single_module\fR"
10403
10404 .IX Item "\fB\-static\fR"
10405
10406 .IX Item "\fB\-sub_library\fR"
10407
10408 .IX Item "\fB\-sub_umbrella\fR"
10409
10410 .IX Item "\fB\-twolevel_namespace\fR"
10411
10412 .IX Item "\fB\-umbrella\fR"
10413
10414 .IX Item "\fB\-undefined\fR"
10415
10416 .IX Item "\fB\-unexported_symbols_list\fR"
10417
10418 .IX Item "\fB\-weak_reference_mismatches\fR"
10419
10420 .IX Item "\fB\-whatsloaded\fR"
10421
10422 .IX Item "\fB\-\s-1EB\s0\fR"
10423
10424 .IX Item "\fB\-\s-1EL\s0\fR"
10425
10426 .IX Item "\fB\-march=\fR\fIarch\fR"
10427
10428 .IX Item "\fB\-mtune=\fR\fIarch\fR"
10429
10430 .IX Item "\fB\-mips1\fR"
10431
10432 .IX Item "\fB\-mips2\fR"
10433
10434 .IX Item "\fB\-mips3\fR"
10435
10436 .IX Item "\fB\-mips4\fR"
10437
10438 .IX Item "\fB\-mips32\fR"
10439
10440 .IX Item "\fB\-mips32r2\fR"
10441
10442 .IX Item "\fB\-mips64\fR"
10443
10444 .IX Item "\fB\-mips16\fR"
10445
10446 .IX Item "\fB\-mno-mips16\fR"
10447
10448 .IX Item "\fB\-mabi=32\fR"
10449
10450 .IX Item "\fB\-mabi=o64\fR"
10451
10452 .IX Item "\fB\-mabi=n32\fR"
10453
10454 .IX Item "\fB\-mabi=64\fR"
10455
10456 .IX Item "\fB\-mabi=eabi\fR"
10457
10458 .IX Item "\fB\-mabicalls\fR"
10459
10460 .IX Item "\fB\-mno-abicalls\fR"
10461
10462 .IX Item "\fB\-mxgot\fR"
10463
10464 .IX Item "\fB\-mno-xgot\fR"
10465
10466 .IX Item "\fB\-membedded-pic\fR"
10467
10468 .IX Item "\fB\-mno-embedded-pic\fR"
10469
10470 .IX Item "\fB\-mgp32\fR"
10471
10472 .IX Item "\fB\-mgp64\fR"
10473
10474 .IX Item "\fB\-mfp32\fR"
10475
10476 .IX Item "\fB\-mfp64\fR"
10477
10478 .IX Item "\fB\-mhard-float\fR"
10479
10480 .IX Item "\fB\-msoft-float\fR"
10481
10482 .IX Item "\fB\-msingle-float\fR"
10483
10484 .IX Item "\fB\-mdouble-float\fR"
10485
10486 .IX Item "\fB\-mint64\fR"
10487
10488 .IX Item "\fB\-mlong64\fR"
10489
10490 .IX Item "\fB\-mlong32\fR"
10491
10492 .IX Item "\fB\-G\fR \fInum\fR"
10493
10494 .IX Item "\fB\-membedded-data\fR"
10495
10496 .IX Item "\fB\-mno-embedded-data\fR"
10497
10498 .IX Item "\fB\-muninit-const-in-rodata\fR"
10499
10500 .IX Item "\fB\-mno-uninit-const-in-rodata\fR"
10501
10502 .IX Item "\fB\-msplit-addresses\fR"
10503
10504 .IX Item "\fB\-mno-split-addresses\fR"
10505
10506 .IX Item "\fB\-mexplicit-relocs\fR"
10507
10508 .IX Item "\fB\-mno-explicit-relocs\fR"
10509
10510 .IX Item "\(bu"
10511
10512 .IX Item "\(bu"
10513
10514 .IX Item "\fB\-mrnames\fR"
10515
10516 .IX Item "\fB\-mno-rnames\fR"
10517
10518 .IX Item "\fB\-mcheck-zero-division\fR"
10519
10520 .IX Item "\fB\-mno-check-zero-division\fR"
10521
10522 .IX Item "\fB\-mmemcpy\fR"
10523
10524 .IX Item "\fB\-mno-memcpy\fR"
10525
10526 .IX Item "\fB\-mlong-calls\fR"
10527
10528 .IX Item "\fB\-mno-long-calls\fR"
10529
10530 .IX Item "\fB\-mmad\fR"
10531
10532 .IX Item "\fB\-mno-mad\fR"
10533
10534 .IX Item "\fB\-mfused-madd\fR"
10535
10536 .IX Item "\fB\-mno-fused-madd\fR"
10537
10538 .IX Item "\fB\-nocpp\fR"
10539
10540 .IX Item "\fB\-mfix-sb1\fR"
10541
10542 .IX Item "\fB\-mno-fix-sb1\fR"
10543
10544 .IX Item "\fB\-mflush-func=\fR\fIfunc\fR"
10545
10546 .IX Item "\fB\-mno-flush-func\fR"
10547
10548 .IX Item "\fB\-mbranch-likely\fR"
10549
10550 .IX Item "\fB\-mno-branch-likely\fR"
10551
10552 .IX Item "\fB\-mtune=\fR\fIcpu-type\fR"
10553
10554 .IX Item "\fIi386\fR"
10555
10556 .IX Item "\fIi486\fR"
10557
10558 .IX Item "\fIi586, pentium\fR"
10559
10560 .IX Item "\fIpentium-mmx\fR"
10561
10562 .IX Item "\fIi686, pentiumpro\fR"
10563
10564 .IX Item "\fIpentium2\fR"
10565
10566 .IX Item "\fIpentium3, pentium3m\fR"
10567
10568 .IX Item "\fIpentium-m\fR"
10569
10570 .IX Item "\fIpentium4, pentium4m\fR"
10571
10572 .IX Item "\fIprescott\fR"
10573
10574 .IX Item "\fInocona\fR"
10575
10576 .IX Item "\fIk6\fR"
10577
10578 .IX Item "\fIk6-2, k6-3\fR"
10579
10580 .IX Item "\fIathlon, athlon-tbird\fR"
10581
10582 .IX Item "\fIathlon-4, athlon-xp, athlon-mp\fR"
10583
10584 .IX Item "\fIk8, opteron, athlon64, athlon-fx\fR"
10585
10586 .IX Item "\fIwinchip-c6\fR"
10587
10588 .IX Item "\fIwinchip2\fR"
10589
10590 .IX Item "\fIc3\fR"
10591
10592 .IX Item "\fIc3-2\fR"
10593
10594 .IX Item "\fB\-march=\fR\fIcpu-type\fR"
10595
10596 .IX Item "\fB\-mcpu=\fR\fIcpu-type\fR"
10597
10598 .IX Item "\fB\-m386\fR"
10599
10600 .IX Item "\fB\-m486\fR"
10601
10602 .IX Item "\fB\-mpentium\fR"
10603
10604 .IX Item "\fB\-mpentiumpro\fR"
10605
10606 .IX Item "\fB\-mfpmath=\fR\fIunit\fR"
10607
10608 .IX Item "\fB387\fR"
10609
10610 .IX Item "\fBsse\fR"
10611
10612 .IX Item "\fBsse,387\fR"
10613
10614 .IX Item "\fB\-masm=\fR\fIdialect\fR"
10615
10616 .IX Item "\fB\-mieee-fp\fR"
10617
10618 .IX Item "\fB\-mno-ieee-fp\fR"
10619
10620 .IX Item "\fB\-msoft-float\fR"
10621
10622 .IX Item "\fB\-mno-fp-ret-in-387\fR"
10623
10624 .IX Item "\fB\-mno-fancy-math-387\fR"
10625
10626 .IX Item "\fB\-malign-double\fR"
10627
10628 .IX Item "\fB\-mno-align-double\fR"
10629
10630 .IX Item "\fB\-m96bit-long-double\fR"
10631
10632 .IX Item "\fB\-m128bit-long-double\fR"
10633
10634 .IX Item "\fB\-msvr3-shlib\fR"
10635
10636 .IX Item "\fB\-mno-svr3-shlib\fR"
10637
10638 .IX Item "\fB\-mrtd\fR"
10639
10640 .IX Item "\fB\-mregparm=\fR\fInum\fR"
10641
10642 .IX Item "\fB\-mpreferred-stack-boundary=\fR\fInum\fR"
10643
10644 .IX Item "\fB\-mmmx\fR"
10645
10646 .IX Item "\fB\-mno-mmx\fR"
10647
10648 .IX Item "\fB\-msse\fR"
10649
10650 .IX Item "\fB\-mno-sse\fR"
10651
10652 .IX Item "\fB\-msse2\fR"
10653
10654 .IX Item "\fB\-mno-sse2\fR"
10655
10656 .IX Item "\fB\-msse3\fR"
10657
10658 .IX Item "\fB\-mno-sse3\fR"
10659
10660 .IX Item "\fB\-m3dnow\fR"
10661
10662 .IX Item "\fB\-mno-3dnow\fR"
10663
10664 .IX Item "\fB\-mpush-args\fR"
10665
10666 .IX Item "\fB\-mno-push-args\fR"
10667
10668 .IX Item "\fB\-maccumulate-outgoing-args\fR"
10669
10670 .IX Item "\fB\-mthreads\fR"
10671
10672 .IX Item "\fB\-mno-align-stringops\fR"
10673
10674 .IX Item "\fB\-minline-all-stringops\fR"
10675
10676 .IX Item "\fB\-momit-leaf-frame-pointer\fR"
10677
10678 .IX Item "\fB\-mtls-direct-seg-refs\fR"
10679
10680 .IX Item "\fB\-mno-tls-direct-seg-refs\fR"
10681
10682 .IX Item "\fB\-m32\fR"
10683
10684 .IX Item "\fB\-m64\fR"
10685
10686 .IX Item "\fB\-mno-red-zone\fR"
10687
10688 .IX Item "\fB\-mcmodel=small\fR"
10689
10690 .IX Item "\fB\-mcmodel=kernel\fR"
10691
10692 .IX Item "\fB\-mcmodel=medium\fR"
10693
10694 .IX Item "\fB\-mcmodel=large\fR"
10695
10696 .IX Item "\fB\-march=\fR\fIarchitecture-type\fR"
10697
10698 .IX Item "\fB\-mpa-risc-1-0\fR"
10699
10700 .IX Item "\fB\-mpa-risc-1-1\fR"
10701
10702 .IX Item "\fB\-mpa-risc-2-0\fR"
10703
10704 .IX Item "\fB\-mbig-switch\fR"
10705
10706 .IX Item "\fB\-mjump-in-delay\fR"
10707
10708 .IX Item "\fB\-mdisable-fpregs\fR"
10709
10710 .IX Item "\fB\-mdisable-indexing\fR"
10711
10712 .IX Item "\fB\-mno-space-regs\fR"
10713
10714 .IX Item "\fB\-mfast-indirect-calls\fR"
10715
10716 .IX Item "\fB\-mlong-load-store\fR"
10717
10718 .IX Item "\fB\-mportable-runtime\fR"
10719
10720 .IX Item "\fB\-mgas\fR"
10721
10722 .IX Item "\fB\-mschedule=\fR\fIcpu-type\fR"
10723
10724 .IX Item "\fB\-mlinker-opt\fR"
10725
10726 .IX Item "\fB\-msoft-float\fR"
10727
10728 .IX Item "\fB\-msio\fR"
10729
10730 .IX Item "\fB\-mgnu-ld\fR"
10731
10732 .IX Item "\fB\-mhp-ld\fR"
10733
10734 .IX Item "\fB\-mlong-calls\fR"
10735
10736 .IX Item "\fB\-nolibdld\fR"
10737
10738 .IX Item "\fB\-static\fR"
10739
10740 .IX Item "\fB\-threads\fR"
10741
10742 .IX Item "\fB\-m\fR\fIcpu-type\fR"
10743
10744 .IX Item "\fB\-mnumerics\fR"
10745
10746 .IX Item "\fB\-msoft-float\fR"
10747
10748 .IX Item "\fB\-mleaf-procedures\fR"
10749
10750 .IX Item "\fB\-mno-leaf-procedures\fR"
10751
10752 .IX Item "\fB\-mtail-call\fR"
10753
10754 .IX Item "\fB\-mno-tail-call\fR"
10755
10756 .IX Item "\fB\-mcomplex-addr\fR"
10757
10758 .IX Item "\fB\-mno-complex-addr\fR"
10759
10760 .IX Item "\fB\-mcode-align\fR"
10761
10762 .IX Item "\fB\-mno-code-align\fR"
10763
10764 .IX Item "\fB\-mic-compat\fR"
10765
10766 .IX Item "\fB\-mic2.0-compat\fR"
10767
10768 .IX Item "\fB\-mic3.0-compat\fR"
10769
10770 .IX Item "\fB\-masm-compat\fR"
10771
10772 .IX Item "\fB\-mintel-asm\fR"
10773
10774 .IX Item "\fB\-mstrict-align\fR"
10775
10776 .IX Item "\fB\-mno-strict-align\fR"
10777
10778 .IX Item "\fB\-mold-align\fR"
10779
10780 .IX Item "\fB\-mlong-double-64\fR"
10781
10782 .IX Item "\fB\-mno-soft-float\fR"
10783
10784 .IX Item "\fB\-msoft-float\fR"
10785
10786 .IX Item "\fB\-mfp-reg\fR"
10787
10788 .IX Item "\fB\-mno-fp-regs\fR"
10789
10790 .IX Item "\fB\-mieee\fR"
10791
10792 .IX Item "\fB\-mieee-with-inexact\fR"
10793
10794 .IX Item "\fB\-mfp-trap-mode=\fR\fItrap-mode\fR"
10795
10796 .IX Item "\fBn\fR"
10797
10798 .IX Item "\fBu\fR"
10799
10800 .IX Item "\fBsu\fR"
10801
10802 .IX Item "\fBsui\fR"
10803
10804 .IX Item "\fB\-mfp-rounding-mode=\fR\fIrounding-mode\fR"
10805
10806 .IX Item "\fBn\fR"
10807
10808 .IX Item "\fBm\fR"
10809
10810 .IX Item "\fBc\fR"
10811
10812 .IX Item "\fBd\fR"
10813
10814 .IX Item "\fB\-mtrap-precision=\fR\fItrap-precision\fR"
10815
10816 .IX Item "\fBp\fR"
10817
10818 .IX Item "\fBf\fR"
10819
10820 .IX Item "\fBi\fR"
10821
10822 .IX Item "\fB\-mieee-conformant\fR"
10823
10824 .IX Item "\fB\-mbuild-constants\fR"
10825
10826 .IX Item "\fB\-malpha-as\fR"
10827
10828 .IX Item "\fB\-mgas\fR"
10829
10830 .IX Item "\fB\-mbwx\fR"
10831
10832 .IX Item "\fB\-mno-bwx\fR"
10833
10834 .IX Item "\fB\-mcix\fR"
10835
10836 .IX Item "\fB\-mno-cix\fR"
10837
10838 .IX Item "\fB\-mfix\fR"
10839
10840 .IX Item "\fB\-mno-fix\fR"
10841
10842 .IX Item "\fB\-mmax\fR"
10843
10844 .IX Item "\fB\-mno-max\fR"
10845
10846 .IX Item "\fB\-mfloat-vax\fR"
10847
10848 .IX Item "\fB\-mfloat-ieee\fR"
10849
10850 .IX Item "\fB\-mexplicit-relocs\fR"
10851
10852 .IX Item "\fB\-mno-explicit-relocs\fR"
10853
10854 .IX Item "\fB\-msmall-data\fR"
10855
10856 .IX Item "\fB\-mlarge-data\fR"
10857
10858 .IX Item "\fB\-msmall-text\fR"
10859
10860 .IX Item "\fB\-mlarge-text\fR"
10861
10862 .IX Item "\fB\-mcpu=\fR\fIcpu_type\fR"
10863
10864 .IX Item "\fBev4\fR"
10865
10866 .IX Item "\fBev45\fR"
10867
10868 .IX Item "\fB21064\fR"
10869
10870 .IX Item "\fBev5\fR"
10871
10872 .IX Item "\fB21164\fR"
10873
10874 .IX Item "\fBev56\fR"
10875
10876 .IX Item "\fB21164a\fR"
10877
10878 .IX Item "\fBpca56\fR"
10879
10880 .IX Item "\fB21164pc\fR"
10881
10882 .IX Item "\fB21164PC\fR"
10883
10884 .IX Item "\fBev6\fR"
10885
10886 .IX Item "\fB21264\fR"
10887
10888 .IX Item "\fBev67\fR"
10889
10890 .IX Item "\fB21264a\fR"
10891
10892 .IX Item "\fB\-mtune=\fR\fIcpu_type\fR"
10893
10894 .IX Item "\fB\-mmemory-latency=\fR\fItime\fR"
10895
10896 .IX Item "\fInumber\fR"
10897
10898 .IX Item "\fBL1\fR"
10899
10900 .IX Item "\fBL2\fR"
10901
10902 .IX Item "\fBL3\fR"
10903
10904 .IX Item "\fBmain\fR"
10905
10906 .IX Item "\fB\-mvms-return-codes\fR"
10907
10908 .IX Item "\fB\-mrelax\fR"
10909
10910 .IX Item "\fB\-mh\fR"
10911
10912 .IX Item "\fB\-ms\fR"
10913
10914 .IX Item "\fB\-mn\fR"
10915
10916 .IX Item "\fB\-ms2600\fR"
10917
10918 .IX Item "\fB\-mint32\fR"
10919
10920 .IX Item "\fB\-malign-300\fR"
10921
10922 .IX Item "\fB\-m1\fR"
10923
10924 .IX Item "\fB\-m2\fR"
10925
10926 .IX Item "\fB\-m2e\fR"
10927
10928 .IX Item "\fB\-m3\fR"
10929
10930 .IX Item "\fB\-m3e\fR"
10931
10932 .IX Item "\fB\-m4-nofpu\fR"
10933
10934 .IX Item "\fB\-m4-single-only\fR"
10935
10936 .IX Item "\fB\-m4-single\fR"
10937
10938 .IX Item "\fB\-m4\fR"
10939
10940 .IX Item "\fB\-mb\fR"
10941
10942 .IX Item "\fB\-ml\fR"
10943
10944 .IX Item "\fB\-mdalign\fR"
10945
10946 .IX Item "\fB\-mrelax\fR"
10947
10948 .IX Item "\fB\-mbigtable\fR"
10949
10950 .IX Item "\fB\-mfmovd\fR"
10951
10952 .IX Item "\fB\-mhitachi\fR"
10953
10954 .IX Item "\fB\-mnomacsave\fR"
10955
10956 .IX Item "\fB\-mieee\fR"
10957
10958 .IX Item "\fB\-misize\fR"
10959
10960 .IX Item "\fB\-mpadstruct\fR"
10961
10962 .IX Item "\fB\-mspace\fR"
10963
10964 .IX Item "\fB\-mprefergot\fR"
10965
10966 .IX Item "\fB\-musermode\fR"
10967
10968 .IX Item "\fB\-G\fR"
10969
10970 .IX Item "\fB\-Qy\fR"
10971
10972 .IX Item "\fB\-Qn\fR"
10973
10974 .IX Item "\fB\-\s-1YP\s0,\fR\fIdirs\fR"
10975
10976 .IX Item "\fB\-Ym,\fR\fIdir\fR"
10977
10978 .IX Item "\fB\-mcpu=\fR\fIcpu_type\fR"
10979
10980 .IX Item "\fB\-mbig-memory\fR"
10981
10982 .IX Item "\fB\-mbig\fR"
10983
10984 .IX Item "\fB\-msmall-memory\fR"
10985
10986 .IX Item "\fB\-msmall\fR"
10987
10988 .IX Item "\fB\-mbk\fR"
10989
10990 .IX Item "\fB\-mno-bk\fR"
10991
10992 .IX Item "\fB\-mdb\fR"
10993
10994 .IX Item "\fB\-mno-db\fR"
10995
10996 .IX Item "\fB\-mdp-isr-reload\fR"
10997
10998 .IX Item "\fB\-mparanoid\fR"
10999
11000 .IX Item "\fB\-mmpyi\fR"
11001
11002 .IX Item "\fB\-mno-mpyi\fR"
11003
11004 .IX Item "\fB\-mfast-fix\fR"
11005
11006 .IX Item "\fB\-mno-fast-fix\fR"
11007
11008 .IX Item "\fB\-mrptb\fR"
11009
11010 .IX Item "\fB\-mno-rptb\fR"
11011
11012 .IX Item "\fB\-mrpts=\fR\fIcount\fR"
11013
11014 .IX Item "\fB\-mno-rpts\fR"
11015
11016 .IX Item "\fB\-mloop-unsigned\fR"
11017
11018 .IX Item "\fB\-mno-loop-unsigned\fR"
11019
11020 .IX Item "\fB\-mti\fR"
11021
11022 .IX Item "\fB\-mregparm\fR"
11023
11024 .IX Item "\fB\-mmemparm\fR"
11025
11026 .IX Item "\fB\-mparallel-insns\fR"
11027
11028 .IX Item "\fB\-mno-parallel-insns\fR"
11029
11030 .IX Item "\fB\-mparallel-mpy\fR"
11031
11032 .IX Item "\fB\-mno-parallel-mpy\fR"
11033
11034 .IX Item "\fB\-mlong-calls\fR"
11035
11036 .IX Item "\fB\-mno-long-calls\fR"
11037
11038 .IX Item "\fB\-mno-ep\fR"
11039
11040 .IX Item "\fB\-mep\fR"
11041
11042 .IX Item "\fB\-mno-prolog-function\fR"
11043
11044 .IX Item "\fB\-mprolog-function\fR"
11045
11046 .IX Item "\fB\-mspace\fR"
11047
11048 .IX Item "\fB\-mtda=\fR\fIn\fR"
11049
11050 .IX Item "\fB\-msda=\fR\fIn\fR"
11051
11052 .IX Item "\fB\-mzda=\fR\fIn\fR"
11053
11054 .IX Item "\fB\-mv850\fR"
11055
11056 .IX Item "\fB\-mbig-switch\fR"
11057
11058 .IX Item "\fB\-mapp-regs\fR"
11059
11060 .IX Item "\fB\-mno-app-regs\fR"
11061
11062 .IX Item "\fB\-mv850e1\fR"
11063
11064 .IX Item "\fB\-mv850e\fR"
11065
11066 .IX Item "\fB\-mdisable-callt\fR"
11067
11068 .IX Item "\fB\-\s-1EL\s0\fR"
11069
11070 .IX Item "\fB\-\s-1EB\s0\fR"
11071
11072 .IX Item "\fB\-mmangle-cpu\fR"
11073
11074 .IX Item "\fB\-mcpu=\fR\fIcpu\fR"
11075
11076 .IX Item "\fB\-mtext=\fR\fItext-section\fR"
11077
11078 .IX Item "\fB\-mdata=\fR\fIdata-section\fR"
11079
11080 .IX Item "\fB\-mrodata=\fR\fIreadonly-data-section\fR"
11081
11082 .IX Item "\fB\-m32032\fR"
11083
11084 .IX Item "\fB\-m32032\fR"
11085
11086 .IX Item "\fB\-m32332\fR"
11087
11088 .IX Item "\fB\-m32332\fR"
11089
11090 .IX Item "\fB\-m32532\fR"
11091
11092 .IX Item "\fB\-m32532\fR"
11093
11094 .IX Item "\fB\-m32081\fR"
11095
11096 .IX Item "\fB\-m32381\fR"
11097
11098 .IX Item "\fB\-mmulti-add\fR"
11099
11100 .IX Item "\fB\-mnomulti-add\fR"
11101
11102 .IX Item "\fB\-msoft-float\fR"
11103
11104 .IX Item "\fB\-mieee-compare\fR"
11105
11106 .IX Item "\fB\-mno-ieee-compare\fR"
11107
11108 .IX Item "\fB\-mnobitfield\fR"
11109
11110 .IX Item "\fB\-mbitfield\fR"
11111
11112 .IX Item "\fB\-mrtd\fR"
11113
11114 .IX Item "\fB\-mregparam\fR"
11115
11116 .IX Item "\fB\-mnoregparam\fR"
11117
11118 .IX Item "\fB\-msb\fR"
11119
11120 .IX Item "\fB\-mnosb\fR"
11121
11122 .IX Item "\fB\-mhimem\fR"
11123
11124 .IX Item "\fB\-mnohimem\fR"
11125
11126 .IX Item "\fB\-mmcu=\fR\fImcu\fR"
11127
11128 .IX Item "\fB\-msize\fR"
11129
11130 .IX Item "\fB\-minit-stack=\fR\fIN\fR"
11131
11132 .IX Item "\fB\-mno-interrupts\fR"
11133
11134 .IX Item "\fB\-mcall-prologues\fR"
11135
11136 .IX Item "\fB\-mno-tablejump\fR"
11137
11138 .IX Item "\fB\-mtiny-stack\fR"
11139
11140 .IX Item "\fB\-mhardlit\fR"
11141
11142 .IX Item "\fB\-mno-hardlit\fR"
11143
11144 .IX Item "\fB\-mdiv\fR"
11145
11146 .IX Item "\fB\-mno-div\fR"
11147
11148 .IX Item "\fB\-mrelax-immediate\fR"
11149
11150 .IX Item "\fB\-mno-relax-immediate\fR"
11151
11152 .IX Item "\fB\-mwide-bitfields\fR"
11153
11154 .IX Item "\fB\-mno-wide-bitfields\fR"
11155
11156 .IX Item "\fB\-m4byte-functions\fR"
11157
11158 .IX Item "\fB\-mno-4byte-functions\fR"
11159
11160 .IX Item "\fB\-mcallgraph-data\fR"
11161
11162 .IX Item "\fB\-mno-callgraph-data\fR"
11163
11164 .IX Item "\fB\-mslow-bytes\fR"
11165
11166 .IX Item "\fB\-mno-slow-bytes\fR"
11167
11168 .IX Item "\fB\-mlittle-endian\fR"
11169
11170 .IX Item "\fB\-mbig-endian\fR"
11171
11172 .IX Item "\fB\-m210\fR"
11173
11174 .IX Item "\fB\-m340\fR"
11175
11176 .IX Item "\fB\-mbig-endian\fR"
11177
11178 .IX Item "\fB\-mlittle-endian\fR"
11179
11180 .IX Item "\fB\-mgnu-as\fR"
11181
11182 .IX Item "\fB\-mno-gnu-as\fR"
11183
11184 .IX Item "\fB\-mgnu-ld\fR"
11185
11186 .IX Item "\fB\-mno-gnu-ld\fR"
11187
11188 .IX Item "\fB\-mno-pic\fR"
11189
11190 .IX Item "\fB\-mvolatile-asm-stop\fR"
11191
11192 .IX Item "\fB\-mno-volatile-asm-stop\fR"
11193
11194 .IX Item "\fB\-mb-step\fR"
11195
11196 .IX Item "\fB\-mregister-names\fR"
11197
11198 .IX Item "\fB\-mno-register-names\fR"
11199
11200 .IX Item "\fB\-mno-sdata\fR"
11201
11202 .IX Item "\fB\-msdata\fR"
11203
11204 .IX Item "\fB\-mconstant-gp\fR"
11205
11206 .IX Item "\fB\-mauto-pic\fR"
11207
11208 .IX Item "\fB\-minline-float-divide-min-latency\fR"
11209
11210 .IX Item "\fB\-minline-float-divide-max-throughput\fR"
11211
11212 .IX Item "\fB\-minline-int-divide-min-latency\fR"
11213
11214 .IX Item "\fB\-minline-int-divide-max-throughput\fR"
11215
11216 .IX Item "\fB\-mno-dwarf2-asm\fR"
11217
11218 .IX Item "\fB\-mdwarf2-asm\fR"
11219
11220 .IX Item "\fB\-mfixed-range=\fR\fIregister-range\fR"
11221
11222 .IX Item "\fB\-mearly-stop-bits\fR"
11223
11224 .IX Item "\fB\-mno-early-stop-bits\fR"
11225
11226 .IX Item "\fB\-mextmem\fR"
11227
11228 .IX Item "\fB\-mextmemory\fR"
11229
11230 .IX Item "\fB\-monchip\fR"
11231
11232 .IX Item "\fB\-mno-asm-optimize\fR"
11233
11234 .IX Item "\fB\-masm-optimize\fR"
11235
11236 .IX Item "\fB\-mbranch-cost=\fR\fIn\fR"
11237
11238 .IX Item "\fB\-mcond-exec=\fR\fIn\fR"
11239
11240 .IX Item "\fB\-mhard-float\fR"
11241
11242 .IX Item "\fB\-msoft-float\fR"
11243
11244 .IX Item "\fB\-mbackchain\fR"
11245
11246 .IX Item "\fB\-mno-backchain\fR"
11247
11248 .IX Item "\fB\-msmall-exec\fR"
11249
11250 .IX Item "\fB\-mno-small-exec\fR"
11251
11252 .IX Item "\fB\-m64\fR"
11253
11254 .IX Item "\fB\-m31\fR"
11255
11256 .IX Item "\fB\-mzarch\fR"
11257
11258 .IX Item "\fB\-mesa\fR"
11259
11260 .IX Item "\fB\-mmvcle\fR"
11261
11262 .IX Item "\fB\-mno-mvcle\fR"
11263
11264 .IX Item "\fB\-mdebug\fR"
11265
11266 .IX Item "\fB\-mno-debug\fR"
11267
11268 .IX Item "\fB\-march=\fR\fIcpu-type\fR"
11269
11270 .IX Item "\fB\-mtune=\fR\fIcpu-type\fR"
11271
11272 .IX Item "\fB\-mfused-madd\fR"
11273
11274 .IX Item "\fB\-mno-fused-madd\fR"
11275
11276 .IX Item "\fB\-march=\fR\fIarchitecture-type\fR"
11277
11278 .IX Item "\fB\-mcpu=\fR\fIarchitecture-type\fR"
11279
11280 .IX Item "\fB\-mtune=\fR\fIarchitecture-type\fR"
11281
11282 .IX Item "\fB\-mmax-stack-frame=\fR\fIn\fR"
11283
11284 .IX Item "\fB\-melinux-stacksize=\fR\fIn\fR"
11285
11286 .IX Item "\fB\-metrax4\fR"
11287
11288 .IX Item "\fB\-metrax100\fR"
11289
11290 .IX Item "\fB\-mmul-bug-workaround\fR"
11291
11292 .IX Item "\fB\-mno-mul-bug-workaround\fR"
11293
11294 .IX Item "\fB\-mpdebug\fR"
11295
11296 .IX Item "\fB\-mcc-init\fR"
11297
11298 .IX Item "\fB\-mno-side-effects\fR"
11299
11300 .IX Item "\fB\-mstack-align\fR"
11301
11302 .IX Item "\fB\-mno-stack-align\fR"
11303
11304 .IX Item "\fB\-mdata-align\fR"
11305
11306 .IX Item "\fB\-mno-data-align\fR"
11307
11308 .IX Item "\fB\-mconst-align\fR"
11309
11310 .IX Item "\fB\-mno-const-align\fR"
11311
11312 .IX Item "\fB\-m32-bit\fR"
11313
11314 .IX Item "\fB\-m16-bit\fR"
11315
11316 .IX Item "\fB\-m8-bit\fR"
11317
11318 .IX Item "\fB\-mno-prologue-epilogue\fR"
11319
11320 .IX Item "\fB\-mprologue-epilogue\fR"
11321
11322 .IX Item "\fB\-mno-gotplt\fR"
11323
11324 .IX Item "\fB\-mgotplt\fR"
11325
11326 .IX Item "\fB\-maout\fR"
11327
11328 .IX Item "\fB\-melf\fR"
11329
11330 .IX Item "\fB\-melinux\fR"
11331
11332 .IX Item "\fB\-mlinux\fR"
11333
11334 .IX Item "\fB\-sim\fR"
11335
11336 .IX Item "\fB\-sim2\fR"
11337
11338 .IX Item "\fB\-mlibfuncs\fR"
11339
11340 .IX Item "\fB\-mno-libfuncs\fR"
11341
11342 .IX Item "\fB\-mepsilon\fR"
11343
11344 .IX Item "\fB\-mno-epsilon\fR"
11345
11346 .IX Item "\fB\-mabi=mmixware\fR"
11347
11348 .IX Item "\fB\-mabi=gnu\fR"
11349
11350 .IX Item "\fB\-mzero-extend\fR"
11351
11352 .IX Item "\fB\-mno-zero-extend\fR"
11353
11354 .IX Item "\fB\-mknuthdiv\fR"
11355
11356 .IX Item "\fB\-mno-knuthdiv\fR"
11357
11358 .IX Item "\fB\-mtoplevel-symbols\fR"
11359
11360 .IX Item "\fB\-mno-toplevel-symbols\fR"
11361
11362 .IX Item "\fB\-melf\fR"
11363
11364 .IX Item "\fB\-mbranch-predict\fR"
11365
11366 .IX Item "\fB\-mno-branch-predict\fR"
11367
11368 .IX Item "\fB\-mbase-addresses\fR"
11369
11370 .IX Item "\fB\-mno-base-addresses\fR"
11371
11372 .IX Item "\fB\-msingle-exit\fR"
11373
11374 .IX Item "\fB\-mno-single-exit\fR"
11375
11376 .IX Item "\fB\-mfpu\fR"
11377
11378 .IX Item "\fB\-msoft-float\fR"
11379
11380 .IX Item "\fB\-mac0\fR"
11381
11382 .IX Item "\fB\-mno-ac0\fR"
11383
11384 .IX Item "\fB\-m40\fR"
11385
11386 .IX Item "\fB\-m45\fR"
11387
11388 .IX Item "\fB\-m10\fR"
11389
11390 .IX Item "\fB\-mbcopy-builtin\fR"
11391
11392 .IX Item "\fB\-mbcopy\fR"
11393
11394 .IX Item "\fB\-mint16\fR"
11395
11396 .IX Item "\fB\-mno-int32\fR"
11397
11398 .IX Item "\fB\-mint32\fR"
11399
11400 .IX Item "\fB\-mno-int16\fR"
11401
11402 .IX Item "\fB\-mfloat64\fR"
11403
11404 .IX Item "\fB\-mno-float32\fR"
11405
11406 .IX Item "\fB\-mfloat32\fR"
11407
11408 .IX Item "\fB\-mno-float64\fR"
11409
11410 .IX Item "\fB\-mabshi\fR"
11411
11412 .IX Item "\fB\-mno-abshi\fR"
11413
11414 .IX Item "\fB\-mbranch-expensive\fR"
11415
11416 .IX Item "\fB\-mbranch-cheap\fR"
11417
11418 .IX Item "\fB\-msplit\fR"
11419
11420 .IX Item "\fB\-mno-split\fR"
11421
11422 .IX Item "\fB\-munix-asm\fR"
11423
11424 .IX Item "\fB\-mdec-asm\fR"
11425
11426 .IX Item "\fB\-msim\fR"
11427
11428 .IX Item "\fB\-mgpr-32\fR"
11429
11430 .IX Item "\fB\-mgpr-64\fR"
11431
11432 .IX Item "\fB\-mfpr-32\fR"
11433
11434 .IX Item "\fB\-mfpr-64\fR"
11435
11436 .IX Item "\fB\-mhard-float\fR"
11437
11438 .IX Item "\fB\-msoft-float\fR"
11439
11440 .IX Item "\fB\-malloc-cc\fR"
11441
11442 .IX Item "\fB\-mfixed-cc\fR"
11443
11444 .IX Item "\fB\-mdword\fR"
11445
11446 .IX Item "\fB\-mno-dword\fR"
11447
11448 .IX Item "\fB\-mdouble\fR"
11449
11450 .IX Item "\fB\-mno-double\fR"
11451
11452 .IX Item "\fB\-mmedia\fR"
11453
11454 .IX Item "\fB\-mno-media\fR"
11455
11456 .IX Item "\fB\-mmuladd\fR"
11457
11458 .IX Item "\fB\-mno-muladd\fR"
11459
11460 .IX Item "\fB\-mlibrary-pic\fR"
11461
11462 .IX Item "\fB\-macc-4\fR"
11463
11464 .IX Item "\fB\-macc-8\fR"
11465
11466 .IX Item "\fB\-mpack\fR"
11467
11468 .IX Item "\fB\-mno-pack\fR"
11469
11470 .IX Item "\fB\-mno-eflags\fR"
11471
11472 .IX Item "\fB\-mcond-move\fR"
11473
11474 .IX Item "\fB\-mno-cond-move\fR"
11475
11476 .IX Item "\fB\-mscc\fR"
11477
11478 .IX Item "\fB\-mno-scc\fR"
11479
11480 .IX Item "\fB\-mcond-exec\fR"
11481
11482 .IX Item "\fB\-mno-cond-exec\fR"
11483
11484 .IX Item "\fB\-mvliw-branch\fR"
11485
11486 .IX Item "\fB\-mno-vliw-branch\fR"
11487
11488 .IX Item "\fB\-mmulti-cond-exec\fR"
11489
11490 .IX Item "\fB\-mno-multi-cond-exec\fR"
11491
11492 .IX Item "\fB\-mnested-cond-exec\fR"
11493
11494 .IX Item "\fB\-mno-nested-cond-exec\fR"
11495
11496 .IX Item "\fB\-mtomcat-stats\fR"
11497
11498 .IX Item "\fB\-mcpu=\fR\fIcpu\fR"
11499
11500 .IX Item "\fB\-mconst16\fR"
11501
11502 .IX Item "\fB\-mno-const16\fR"
11503
11504 .IX Item "\fB\-mfused-madd\fR"
11505
11506 .IX Item "\fB\-mno-fused-madd\fR"
11507
11508 .IX Item "\fB\-mtext-section-literals\fR"
11509
11510 .IX Item "\fB\-mno-text-section-literals\fR"
11511
11512 .IX Item "\fB\-mtarget-align\fR"
11513
11514 .IX Item "\fB\-mno-target-align\fR"
11515
11516 .IX Item "\fB\-mlongcalls\fR"
11517
11518 .IX Item "\fB\-mno-longcalls\fR"
11519
11520 .IX Subsection "Options for Code Generation Conventions"
11521
11522 .IX Item "\fB\-fbounds-check\fR"
11523
11524 .IX Item "\fB\-ftrapv\fR"
11525
11526 .IX Item "\fB\-fwrapv\fR"
11527
11528 .IX Item "\fB\-fexceptions\fR"
11529
11530 .IX Item "\fB\-fnon-call-exceptions\fR"
11531
11532 .IX Item "\fB\-funwind-tables\fR"
11533
11534 .IX Item "\fB\-fasynchronous-unwind-tables\fR"
11535
11536 .IX Item "\fB\-fpcc-struct-return\fR"
11537
11538 .IX Item "\fB\-freg-struct-return\fR"
11539
11540 .IX Item "\fB\-fshort-enums\fR"
11541
11542 .IX Item "\fB\-fshort-double\fR"
11543
11544 .IX Item "\fB\-fshort-wchar\fR"
11545
11546 .IX Item "\fB\-fshared-data\fR"
11547
11548 .IX Item "\fB\-fno-common\fR"
11549
11550 .IX Item "\fB\-fno-ident\fR"
11551
11552 .IX Item "\fB\-finhibit-size-directive\fR"
11553
11554 .IX Item "\fB\-fverbose-asm\fR"
11555
11556 .IX Item "\fB\-fpic\fR"
11557
11558 .IX Item "\fB\-fPIC\fR"
11559
11560 .IX Item "\fB\-fpie\fR"
11561
11562 .IX Item "\fB\-fPIE\fR"
11563
11564 .IX Item "\fB\-ffixed-\fR\fIreg\fR"
11565
11566 .IX Item "\fB\-fcall-used-\fR\fIreg\fR"
11567
11568 .IX Item "\fB\-fcall-saved-\fR\fIreg\fR"
11569
11570 .IX Item "\fB\-fpack-struct\fR"
11571
11572 .IX Item "\fB\-finstrument-functions\fR"
11573
11574 .IX Item "\fB\-fstack-check\fR"
11575
11576 .IX Item "\fB\-fstack-limit-register=\fR\fIreg\fR"
11577
11578 .IX Item "\fB\-fstack-limit-symbol=\fR\fIsym\fR"
11579
11580 .IX Item "\fB\-fno-stack-limit\fR"
11581
11582 .IX Item "\fB\-fargument-alias\fR"
11583
11584 .IX Item "\fB\-fargument-noalias\fR"
11585
11586 .IX Item "\fB\-fargument-noalias-global\fR"
11587
11588 .IX Item "\fB\-fleading-underscore\fR"
11589
11590 .IX Item "\fB\-ftls-model=\fR\fImodel\fR"
11591
11592 .IX Header "ENVIRONMENT"
11593
11594 .IX Item "\fB\s-1LANG\s0\fR"
11595
11596 .IX Item "\fB\s-1LC_CTYPE\s0\fR"
11597
11598 .IX Item "\fB\s-1LC_MESSAGES\s0\fR"
11599
11600 .IX Item "\fB\s-1LC_ALL\s0\fR"
11601
11602 .IX Item "\fB\s-1TMPDIR\s0\fR"
11603
11604 .IX Item "\fB\s-1GCC_EXEC_PREFIX\s0\fR"
11605
11606 .IX Item "\fB\s-1COMPILER_PATH\s0\fR"
11607
11608 .IX Item "\fB\s-1LIBRARY_PATH\s0\fR"
11609
11610 .IX Item "\fB\s-1LANG\s0\fR"
11611
11612 .IX Item "\fBC\-\s-1JIS\s0\fR"
11613
11614 .IX Item "\fBC\-\s-1SJIS\s0\fR"
11615
11616 .IX Item "\fBC\-\s-1EUCJP\s0\fR"
11617
11618 .IX Item "\fB\s-1CPATH\s0\fR"
11619
11620 .IX Item "\fBC_INCLUDE_PATH\fR"
11621
11622 .IX Item "\fB\s-1CPLUS_INCLUDE_PATH\s0\fR"
11623
11624 .IX Item "\fB\s-1OBJC_INCLUDE_PATH\s0\fR"
11625
11626 .IX Item "\fB\s-1DEPENDENCIES_OUTPUT\s0\fR"
11627
11628 .IX Item "\fB\s-1SUNPRO_DEPENDENCIES\s0\fR"
11629
11630 .IX Header "BUGS"
11631
11632 .IX Header "FOOTNOTES"
11633
11634 .IX Item "1."
11635
11636 .IX Header "SEE ALSO"
11637
11638 .IX Header "AUTHOR"
11639
11640 .IX Header "COPYRIGHT"
11641