* configure.in: Add ${libgcj} to noconfigdirs for xtensa-*-* targets.
[official-gcc.git] / gcc / common.opt
blob44d8381a1ee5b56e5c1d8bf6f68ddaadd2426c1e
1 ; Options for the language- and target-independent parts of the compiler.
2 ; Copyright (C) 2003 Free Software Foundation, Inc.
4 ; This file is part of GCC.
6 ; GCC is free software; you can redistribute it and/or modify it under
7 ; the terms of the GNU General Public License as published by the Free
8 ; Software Foundation; either version 2, or (at your option) any later
9 ; version.
10
11 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 ; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 ; for more details.
15
16 ; You should have received a copy of the GNU General Public License
17 ; along with GCC; see the file COPYING.  If not, write to the Free
18 ; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19 ; 02111-1307, USA.
21 ; See c.opt for a description of this file's format.
23 ; Please try to keep this file in ASCII collating order.
25 -help
26 Common
27 Display this information
29 -param
30 Common Separate
32 -target-help
33 Common
35 -version
36 Common
39 Common Joined Separate UInteger
40 -G<number>      Put global and static data smaller than <number> bytes into a special section (on some targets)
43 Common JoinedOrMissing
44 -O<number>      Set optimization level to <number>
47 Common
48 Optimize for space rather than speed
51 Common RejectNegative
52 This switch is deprecated; use -Wextra instead
54 Waggregate-return
55 Common
56 Warn about returning structures, unions or arrays
58 Wcast-align
59 Common
60 Warn about pointer casts which increase alignment
62 Wdeprecated-declarations
63 Common
64 Warn about uses of __attribute__((deprecated)) declarations
66 Wdisabled-optimization
67 Common
68 Warn when an optimization pass is disabled
70 Werror
71 Common
72 Treat all warnings as errors
74 Wextra
75 Common
76 Print extra (possibly unwanted) warnings
78 Winline
79 Common
80 Warn when an inlined function cannot be inlined
82 Wlarger-than-
83 Common RejectNegative Joined UInteger
84 -Wlarger-than-<number>  Warn if an object is larger than <number> bytes
86 Wmissing-noreturn
87 Common
88 Warn about functions which might be candidates for __attribute__((noreturn))
90 Wpacked
91 Common
92 Warn when the packed attribute has no effect on struct layout
94 Wpadded
95 Common
96 Warn when padding is required to align structure members
98 Wshadow
99 Common
100 Warn when one local variable shadows another
102 Wstrict-aliasing
103 Common
104 Warn about code which might break strict aliasing rules
106 Wswitch
107 Common
108 Warn about enumerated switches, with no default, missing a case
110 Wswitch-default
111 Common
112 Warn about enumerated switches missing a \"default:\" statement
114 Wswitch-enum
115 Common
116 Warn about all enumerated switches missing a specific case
118 Wsystem-headers
119 Common
120 Suppress warnings from system headers
122 Wuninitialized
123 Common
124 Warn about uninitialized automatic variables
126 Wunreachable-code
127 Common
128 Warn about code that will never be executed
130 Wunused
131 Common
132 Enable all -Wunused- warnings
134 Wunused-function
135 Common
136 Warn when a function is unused
138 Wunused-label
139 Common
140 Warn when a label is unused
142 Wunused-parameter
143 Common
144 Warn when a function parameter is unused
146 Wunused-value
147 Common
148 Warn when an expression value is unused
150 Wunused-variable
151 Common
152 Warn when a variable is unused
154 aux-info
155 Common Separate
156 -aux-info <file>        Emit declaration information into <file>
158 aux-info=
159 Common Joined
161 auxbase
162 Common Separate
164 auxbase-strip
165 Common Separate
168 Common Joined
169 -d<letters>     Enable dumps from specific passes of the compiler
171 dumpbase
172 Common Separate
173 -dumpbase <file>        Set the file basename to be used for dumps
175 fPIC
176 Common
178 fPIE
179 Common
181 falign-functions
182 Common
184 falign-functions=
185 Common RejectNegative Joined UInteger
187 falign-jumps
188 Common
190 falign-jumps=
191 Common RejectNegative Joined UInteger
193 falign-labels
194 Common
196 falign-labels=
197 Common RejectNegative Joined UInteger
199 falign-loops
200 Common
202 falign-loops=
203 Common RejectNegative Joined UInteger
205 fargument-alias
206 Common
208 fargument-noalias
209 Common
211 fargument-noalias-global
212 Common
214 fasynchronous-unwind-tables
215 Common
217 fbounds-check
218 Common
220 fbranch-count-reg
221 Common
223 fbranch-probabilities
224 Common
226 fbranch-target-load-optimize
227 Common
229 fbranch-target-load-optimize2
230 Common
232 fcall-saved-
233 Common Joined RejectNegative
234 -fcall-saved-<register> Mark <register> as being preserved across functions
236 fcall-used-
237 Common Joined RejectNegative
238 -fcall-used-<register>  Mark <register> as being corrupted by function calls
240 fcaller-saves
241 Common
243 fcommon
244 Common
246 fcprop-registers
247 Common
249 fcrossjumping
250 Common
252 fcse-follow-jumps
253 Common
255 fcse-skip-blocks
256 Common
258 fdata-sections
259 Common
261 fdefer-pop
262 Common
264 fdelayed-branch
265 Common
267 fdelete-null-pointer-checks
268 Common
270 fdiagnostics-show-location=
271 Common Joined RejectNegative
272 -fdiagnostics-show-location=[once|every-line]   How often to emit source location at the beginning of line-wrapped diagnostics
274 fdump-unnumbered
275 Common
277 feliminate-dwarf2-dups
278 Common
280 feliminate-unused-debug-symbols
281 Common
283 feliminate-unused-debug-types
284 Common
286 fexceptions
287 Common
289 fexpensive-optimizations
290 Common
292 ffast-math
293 Common
295 ffinite-math-only
296 Common
298 ffixed-
299 Common Joined RejectNegative
300 -ffixed-<register>      Mark <register> as being unavailable to the compiler
302 ffloat-store
303 Common
305 fforce-addr
306 Common
308 fforce-mem
309 Common
311 ffunction-cse
312 Common
314 ffunction-sections
315 Common
317 fgcse
318 Common
320 fgcse-lm
321 Common
323 fgcse-sm
324 Common
326 fgnu-linker
327 Common
329 fguess-branch-probability
330 Common
332 fident
333 Common
335 fif-conversion
336 Common
338 fif-conversion2
339 Common
341 finhibit-size-directive
342 Common
344 finline
345 Common
347 finline-functions
348 Common
350 finline-limit-
351 Common RejectNegative Joined UInteger
353 finline-limit=
354 Common RejectNegative Joined UInteger
355 -finline-limit=<number> Limit the size of inlined functions to <number>
357 finstrument-functions
358 Common
360 fkeep-inline-functions
361 Common
363 fkeep-static-consts
364 Common
366 fleading-underscore
367 Common
369 floop-optimize
370 Common
372 fmath-errno
373 Common
375 fmem-report
376 Common
378 fmerge-all-constants
379 Common
381 fmerge-constants
382 Common
384 fmessage-length=
385 Common RejectNegative Joined UInteger
386 -fmessage-length=<number>       Limit diagnostics to <number> characters per line.  0 suppresses line-wrapping
388 fmove-all-movables
389 Common
391 fnew-ra
392 Common
394 fnon-call-exceptions
395 Common
397 fold-unroll-loops
398 Common
400 fold-unroll-all-loops
401 Common
403 fomit-frame-pointer
404 Common
406 foptimize-register-move
407 Common
409 foptimize-sibling-calls
410 Common
412 fpack-struct
413 Common
415 fpcc-struct-return
416 Common
418 fpeel-loops
419 Common
421 fpeephole
422 Common
424 fpeephole2
425 Common
427 fpic
428 Common
430 fpie
431 Common
433 fprefetch-loop-arrays
434 Common
436 fprofile
437 Common
439 fprofile-arcs
440 Common
442 frandom-seed
443 Common
445 frandom-seed=
446 Common Joined RejectNegative
447 -frandom-seed=<string>  Make compile reproducible using <string>
449 freduce-all-givs
450 Common
452 freg-struct-return
453 Common
455 fregmove
456 Common
458 frename-registers
459 Common
461 freorder-blocks
462 Common
464 freorder-functions
465 Common
467 frerun-cse-after-loop
468 Common
470 frerun-loop-opt
471 Common
473 fsched-interblock
474 Common
476 fsched-spec
477 Common
479 fsched-spec-load
480 Common
482 fsched-spec-load-dangerous
483 Common
485 fsched-verbose=
486 Common RejectNegative Joined
487 -fsched-verbose=<number>        Set the verbosity level of the scheduler
489 fsched2-use-superblocks
490 Common
492 fsched2-use-traces
493 Common
495 fschedule-insns
496 Common
498 fschedule-insns2
499 Common
501 fshared-data
502 Common
504 fsignaling-nans
505 Common
507 fsingle-precision-constant
508 Common
510 fssa
511 Common
513 fssa-ccp
514 Common
516 fssa-dce
517 Common
519 fstack-check
520 Common
522 fstack-limit
523 Common
525 fstack-limit-register=
526 Common RejectNegative Joined
527 -fstack-limit-register=<register>       Trap if the stack goes past <register>
529 fstack-limit-symbol=
530 Common RejectNegative Joined
531 -fstack-limit-symbol=<name>     Trap if the stack goes past symbol <name>
533 fstrength-reduce
534 Common
536 fstrict-aliasing
537 Common
539 fsyntax-only
540 Common
542 ftest-coverage
543 Common
545 fthread-jumps
546 Common
548 ftime-report
549 Common
551 ftls-model=
552 Common Joined RejectNegative
553 -ftls-model=[global-dynamic|local-dynamic|initial-exec|local-exec]      Set the default thread-local storage code generation model
555 ftracer
556 Common
558 ftrapping-math
559 Common
561 ftrapv
562 Common
564 funit-at-a-time
565 Common
567 funroll-loops
568 Common
570 funroll-all-loops
571 Common
573 funsafe-math-optimizations
574 Common
576 funswitch-loops
577 Common
579 funwind-tables
580 Common
582 fverbose-asm
583 Common
585 fwrapv
586 Common
588 fwritable-strings
589 Common
591 fzero-initialized-in-bss
592 Common
595 Common JoinedOrMissing
598 Common Joined
601 Common Joined Separate
602 -o <file>       Place output into <file>
605 Common
606 Enable function profiling
608 pedantic
609 Common
610 Issue warnings needed for strict compliance to the standard
612 pedantic-errors
613 Common
614 Like -pedantic but issue them as errors
616 quiet
617 Common
618 Do not display functions compiled or elapsed time
620 version
621 Common
622 Display the compiler's version
625 Common
626 Suppress warnings
628 ; This comment is to ensure we retain the blank line above.