OSDN Git Service

2005-06-01 Paul Thomas <pault@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / common.opt
1 ; Options for the language- and target-independent parts of the compiler.
2
3 ; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
4 ;
5 ; This file is part of GCC.
6 ;
7 ; GCC is free software; you can redistribute it and/or modify it under
8 ; the terms of the GNU General Public License as published by the Free
9 ; Software Foundation; either version 2, or (at your option) any later
10 ; version.
11
12 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 ; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 ; for more details.
16
17 ; You should have received a copy of the GNU General Public License
18 ; along with GCC; see the file COPYING.  If not, write to the Free
19 ; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 ; 02111-1307, USA.
21
22 ; See the GCC internals manual for a description of this file's format.
23
24 ; Please try to keep this file in ASCII collating order.
25
26 -help
27 Common
28 Display this information
29
30 -param
31 Common Separate
32 --param <param>=<value> Set parameter <param> to value.  See below for a complete list of parameters
33
34 -target-help
35 Common
36
37 -version
38 Common
39
40 G
41 Common Joined Separate UInteger
42 -G<number>      Put global and static data smaller than <number> bytes into a special section (on some targets)
43
44 O
45 Common JoinedOrMissing
46 -O<number>      Set optimization level to <number>
47
48 Os
49 Common
50 Optimize for space rather than speed
51
52 W
53 Common RejectNegative
54 This switch is deprecated; use -Wextra instead
55
56 Waggregate-return
57 Common Var(warn_aggregate_return)
58 Warn about returning structures, unions or arrays
59
60 Wattributes
61 Common Var(warn_attributes) Init(1)
62 Warn about inappropriate attribute usage
63
64 Wcast-align
65 Common Var(warn_cast_align)
66 Warn about pointer casts which increase alignment
67
68 Wdeprecated-declarations
69 Common Var(warn_deprecated_decl) Init(1)
70 Warn about uses of __attribute__((deprecated)) declarations
71
72 Wdisabled-optimization
73 Common Var(warn_disabled_optimization)
74 Warn when an optimization pass is disabled
75
76 Werror
77 Common Var(warnings_are_errors)
78 Treat all warnings as errors
79
80 Wextra
81 Common
82 Print extra (possibly unwanted) warnings
83
84 Wfatal-errors
85 Common Var(flag_fatal_errors)
86 Exit on the first error occurred
87
88 Winline
89 Common Var(warn_inline)
90 Warn when an inlined function cannot be inlined
91
92 Wlarger-than-
93 Common RejectNegative Joined UInteger
94 -Wlarger-than-<number>  Warn if an object is larger than <number> bytes
95
96 Wmissing-noreturn
97 Common Var(warn_missing_noreturn)
98 Warn about functions which might be candidates for __attribute__((noreturn))
99
100 Wpacked
101 Common Var(warn_packed)
102 Warn when the packed attribute has no effect on struct layout
103
104 Wpadded
105 Common Var(warn_padded)
106 Warn when padding is required to align structure members
107
108 Wshadow
109 Common Var(warn_shadow)
110 Warn when one local variable shadows another
111
112 Wstrict-aliasing
113 Common
114 Warn about code which might break strict aliasing rules
115
116 Wstrict-aliasing=
117 Common Joined UInteger
118 Warn about code which might break strict aliasing rules
119
120 Wswitch
121 Common Var(warn_switch)
122 Warn about enumerated switches, with no default, missing a case
123
124 Wswitch-default
125 Common Var(warn_switch_default)
126 Warn about enumerated switches missing a \"default:\" statement
127
128 Wswitch-enum
129 Common Var(warn_switch_enum)
130 Warn about all enumerated switches missing a specific case
131
132 Wsystem-headers
133 Common Var(warn_system_headers)
134 Do not suppress warnings from system headers
135
136 Wuninitialized
137 Common Var(warn_uninitialized)
138 Warn about uninitialized automatic variables
139
140 Wunreachable-code
141 Common Var(warn_notreached)
142 Warn about code that will never be executed
143
144 Wunused
145 Common
146 Enable all -Wunused- warnings
147
148 Wunused-function
149 Common Var(warn_unused_function)
150 Warn when a function is unused
151
152 Wunused-label
153 Common Var(warn_unused_label)
154 Warn when a label is unused
155
156 Wunused-parameter
157 Common Var(warn_unused_parameter)
158 Warn when a function parameter is unused
159
160 Wunused-value
161 Common Var(warn_unused_value)
162 Warn when an expression value is unused
163
164 Wunused-variable
165 Common Var(warn_unused_variable)
166 Warn when a variable is unused
167
168 aux-info
169 Common Separate
170 -aux-info <file>        Emit declaration information into <file>
171
172 aux-info=
173 Common Joined
174
175 auxbase
176 Common Separate
177
178 auxbase-strip
179 Common Separate
180
181 d
182 Common Joined
183 -d<letters>     Enable dumps from specific passes of the compiler
184
185 dumpbase
186 Common Separate
187 -dumpbase <file>        Set the file basename to be used for dumps
188
189 ; The version of the C++ ABI in use.  The following values are allowed:
190 ;
191 ; 0: The version of the ABI believed most conformant with the C++ ABI
192 ;    specification.  This ABI may change as bugs are discovered and fixed.
193 ;    Therefore, 0 will not necessarily indicate the same ABI in different
194 ;    versions of G++.
195 ;
196 ; 1: The version of the ABI first used in G++ 3.2.
197 ;
198 ; Additional positive integers will be assigned as new versions of
199 ; the ABI become the default version of the ABI.
200 fabi-version=
201 Common Joined UInteger Var(flag_abi_version) Init(2)
202
203 falign-functions
204 Common Report Var(align_functions,0)
205 Align the start of functions
206
207 falign-functions=
208 Common RejectNegative Joined UInteger
209
210 falign-jumps
211 Common Report Var(align_jumps,0)
212 Align labels which are only reached by jumping
213
214 falign-jumps=
215 Common RejectNegative Joined UInteger
216
217 falign-labels
218 Common Report Var(align_labels,0)
219 Align all labels
220
221 falign-labels=
222 Common RejectNegative Joined UInteger
223
224 falign-loops
225 Common Report Var(align_loops)
226 Align the start of loops
227
228 falign-loops=
229 Common RejectNegative Joined UInteger
230
231 ; This flag is only tested if alias checking is enabled.
232 ; 0 if pointer arguments may alias each other.  True in C.
233 ; 1 if pointer arguments may not alias each other but may alias
234 ;   global variables.
235 ; 2 if pointer arguments may not alias each other and may not
236 ;   alias global variables.  True in Fortran.
237 ;   The value is ignored if flag_alias_check is 0.
238 fargument-alias
239 Common Report Var(flag_argument_noalias,0)
240 Specify that arguments may alias each other and globals
241
242 fargument-noalias
243 Common Report Var(flag_argument_noalias,1) VarExists
244 Assume arguments may alias globals but not each other
245
246 fargument-noalias-global
247 Common Report Var(flag_argument_noalias,2) VarExists
248 Assume arguments alias neither each other nor globals
249
250 fasynchronous-unwind-tables
251 Common Report Var(flag_asynchronous_unwind_tables)
252 Generate unwind tables that are exact at each instruction boundary
253
254 ; -fcheck-bounds causes gcc to generate array bounds checks.
255 ; For C, C++ and ObjC: defaults off.
256 ; For Java: defaults to on.
257 ; For Fortran: defaults to off.
258 fbounds-check
259 Common Report Var(flag_bounds_check)
260 Generate code to check bounds before indexing arrays
261
262 fbranch-count-reg
263 Common Report Var(flag_branch_on_count_reg) Init(1)
264 Replace add, compare, branch with branch on count register
265
266 fbranch-probabilities
267 Common Report Var(flag_branch_probabilities)
268 Use profiling information for branch probabilities
269
270 fbranch-target-load-optimize
271 Common Report Var(flag_branch_target_load_optimize)
272 Perform branch target load optimization before prologue / epilogue threading
273
274 fbranch-target-load-optimize2
275 Common Report Var(flag_branch_target_load_optimize2)
276 Perform branch target load optimization after prologue / epilogue threading
277
278 fbtr-bb-exclusive
279 Common Report Var(flag_btr_bb_exclusive)
280 Restrict target load migration not to re-use registers in any basic block
281
282 fcall-saved-
283 Common Joined RejectNegative
284 -fcall-saved-<register> Mark <register> as being preserved across functions
285
286 fcall-used-
287 Common Joined RejectNegative
288 -fcall-used-<register>  Mark <register> as being corrupted by function calls
289
290 ; Nonzero for -fcaller-saves: allocate values in regs that need to
291 ; be saved across function calls, if that produces overall better code.
292 ; Optional now, so people can test it.
293 fcaller-saves
294 Common Report Var(flag_caller_saves)
295 Save registers around function calls
296
297 fcommon
298 Common Report Var(flag_no_common,0)
299 Do not put uninitialized globals in the common section
300
301 fcprop-registers
302 Common Report Var(flag_cprop_registers)
303 Perform a register copy-propagation optimization pass
304
305 fcrossjumping
306 Common Report Var(flag_crossjumping)
307 Perform cross-jumping optimization
308
309 fcse-follow-jumps
310 Common Report Var(flag_cse_follow_jumps)
311 When running CSE, follow jumps to their targets
312
313 fcse-skip-blocks
314 Common Report Var(flag_cse_skip_blocks)
315 When running CSE, follow conditional jumps
316
317 fcx-limited-range
318 Common Report Var(flag_cx_limited_range)
319 Omit range reduction step when performing complex division
320
321 fdata-sections
322 Common Report Var(flag_data_sections)
323 Place data items into their own section
324
325 ; Nonzero for -fdefer-pop: don't pop args after each function call
326 ; instead save them up to pop many calls' args with one insns.
327 fdefer-pop
328 Common Report Var(flag_defer_pop)
329 Defer popping functions args from stack until later
330
331 fdelayed-branch
332 Common Report Var(flag_delayed_branch)
333 Attempt to fill delay slots of branch instructions
334
335 fdelete-null-pointer-checks
336 Common Report Var(flag_delete_null_pointer_checks)
337 Delete useless null pointer checks
338
339 fdiagnostics-show-location=
340 Common Joined RejectNegative
341 -fdiagnostics-show-location=[once|every-line]   How often to emit source location at the beginning of line-wrapped diagnostics
342
343 fdiagnostics-show-option
344 Common
345 Amend appropriate diagnostic messages with the command line option that controls them.
346
347 fdump-
348 Common Joined RejectNegative
349 -fdump-<type>   Dump various compiler internals to a file
350
351 fdump-unnumbered
352 Common Report Var(flag_dump_unnumbered) VarExists
353 Suppress output of instruction numbers and line number notes in debugging dumps
354
355 feliminate-dwarf2-dups
356 Common Report Var(flag_eliminate_dwarf2_dups)
357 Perform DWARF2 duplicate elimination
358
359 feliminate-unused-debug-symbols
360 Common Report Var(flag_debug_only_used_symbols)
361 Perform unused type elimination in debug info
362
363 feliminate-unused-debug-types
364 Common Report Var(flag_eliminate_unused_debug_types) Init(1)
365 Perform unused type elimination in debug info
366
367 fexceptions
368 Common Report Var(flag_exceptions)
369 Enable exception handling
370
371 fexpensive-optimizations
372 Common Report Var(flag_expensive_optimizations)
373 Perform a number of minor, expensive optimizations
374
375 ffast-math
376 Common
377
378 ffinite-math-only
379 Common Report Var(flag_finite_math_only)
380 Assume no NaNs or infinities are generated
381
382 ffixed-
383 Common Joined RejectNegative
384 -ffixed-<register>      Mark <register> as being unavailable to the compiler
385
386 ffloat-store
387 Common Report Var(flag_float_store)
388 Don't allocate floats and doubles in extended-precision registers
389
390 ; Nonzero for -fforce-addr: load memory address into a register before
391 ; reference to memory.  This makes better cse but slower compilation.
392 fforce-addr
393 Common Report Var(flag_force_addr)
394 Copy memory address constants into registers before use
395
396 ; Nonzero for -fforce-mem: load memory value into a register
397 ; before arithmetic on it.  This makes better cse but slower compilation.
398 fforce-mem
399 Common Report Var(flag_force_mem)
400 Copy memory operands into registers before use
401
402 ; Nonzero means don't put addresses of constant functions in registers.
403 ; Used for compiling the Unix kernel, where strange substitutions are
404 ; done on the assembly output.
405 ffunction-cse
406 Common Report Var(flag_no_function_cse,0)
407 Allow function addresses to be held in registers
408
409 ffunction-sections
410 Common Report Var(flag_function_sections)
411 Place each function into its own section
412
413 fgcse
414 Common Report Var(flag_gcse)
415 Perform global common subexpression elimination
416
417 fgcse-lm
418 Common Report Var(flag_gcse_lm) Init(1)
419 Perform enhanced load motion during global common subexpression elimination
420
421 fgcse-sm
422 Common Report Var(flag_gcse_sm) Init(0)
423 Perform store motion after global common subexpression elimination
424
425 fgcse-las
426 Common Report Var(flag_gcse_las) Init(0)
427 Perform redundant load after store elimination in global common subexpression
428 elimination
429
430 fgcse-after-reload
431 Common Report Var(flag_gcse_after_reload)
432 Perform global common subexpression elimination after register allocation
433 has finished.
434
435 fguess-branch-probability
436 Common Report Var(flag_guess_branch_prob)
437 Enable guessing of branch probabilities
438
439 ; Nonzero means ignore `#ident' directives.  0 means handle them.
440 ; Generate position-independent code for executables if possible
441 ; On SVR4 targets, it also controls whether or not to emit a
442 ; string identifying the compiler.
443 fident
444 Common Report Var(flag_no_ident,0)
445 Process #ident directives
446
447 fif-conversion
448 Common Report Var(flag_if_conversion)
449 Perform conversion of conditional jumps to branchless equivalents
450
451 fif-conversion2
452 Common Report Var(flag_if_conversion2)
453 Perform conversion of conditional jumps to conditional execution
454
455 ; -finhibit-size-directive inhibits output of .size for ELF.
456 ; This is used only for compiling crtstuff.c,
457 ; and it may be extended to other effects
458 ; needed for crtstuff.c on other systems.
459 finhibit-size-directive
460 Common Report Var(flag_inhibit_size_directive)
461 Do not generate .size directives
462
463 ; Nonzero means that functions declared `inline' will be treated
464 ; as `static'.  Prevents generation of zillions of copies of unused
465 ; static inline functions; instead, `inlines' are written out
466 ; only when actually used.  Used in conjunction with -g.  Also
467 ; does the right thing with #pragma interface.
468 finline
469 Common Report Var(flag_no_inline,0) Init(2)
470 Pay attention to the \"inline\" keyword
471
472 finline-functions
473 Common Report Var(flag_inline_functions)
474 Integrate simple functions into their callers
475
476 finline-limit-
477 Common RejectNegative Joined UInteger
478
479 finline-limit=
480 Common RejectNegative Joined UInteger
481 -finline-limit=<number> Limit the size of inlined functions to <number>
482
483 finstrument-functions
484 Common Report Var(flag_instrument_function_entry_exit)
485 Instrument function entry and exit with profiling calls
486
487 fivopts
488 Common Report Var(flag_ivopts) Init(1)
489 Optimize induction variables on trees
490
491 fkeep-inline-functions
492 Common Report Var(flag_keep_inline_functions)
493 Generate code for functions even if they are fully inlined
494
495 fkeep-static-consts
496 Common Report Var(flag_keep_static_consts) Init(1)
497 Emit static const variables even if they are not used
498
499 fleading-underscore
500 Common Report Var(flag_leading_underscore) Init(-1)
501 Give external symbols a leading underscore
502
503 floop-optimize
504 Common Report Var(flag_loop_optimize)
505 Perform loop optimizations
506
507 floop-optimize2
508 Common Report Var(flag_loop_optimize2)
509 Perform loop optimizations using the new loop optimizer
510
511 fmath-errno
512 Common Report Var(flag_errno_math) Init(1)
513 Set errno after built-in math functions
514
515 fmem-report
516 Common Report Var(mem_report)
517 Report on permanent memory allocation
518
519 ; This will attempt to merge constant section constants, if 1 only
520 ; string constants and constants from constant pool, if 2 also constant
521 ; variables.
522 fmerge-all-constants
523 Common Report Var(flag_merge_constants,2) Init(1)
524 Attempt to merge identical constants and constant variables
525
526 fmerge-constants
527 Common Report Var(flag_merge_constants,1) VarExists
528 Attempt to merge identical constants across compilation units
529
530 fmessage-length=
531 Common RejectNegative Joined UInteger
532 -fmessage-length=<number>       Limit diagnostics to <number> characters per line.  0 suppresses line-wrapping
533
534 fmodulo-sched
535 Common Report Var(flag_modulo_sched)
536 Perform SMS based modulo scheduling before the first scheduling pass
537
538 fmove-loop-invariants
539 Common Report Var(flag_move_loop_invariants)
540 Move loop invariant computations out of loops
541
542 fmudflap
543 Common RejectNegative Report Var(flag_mudflap)
544 Add mudflap bounds-checking instrumentation for single-threaded program.
545
546 fmudflapth
547 Common RejectNegative Report Var(flag_mudflap_threads)
548 Add mudflap bounds-checking instrumentation for multi-threaded program.
549
550 fmudflapir
551 Common RejectNegative Report Var(flag_mudflap_ignore_reads)
552 Ignore read operations when inserting mudflap instrumentation.
553
554 freschedule-modulo-scheduled-loops
555 Common Report Var(flag_resched_modulo_sched)
556 Enable/Disable the traditional scheduling in loops that already passed modulo scheduling
557
558 fnon-call-exceptions
559 Common Report Var(flag_non_call_exceptions)
560 Support synchronous non-call exceptions
561
562 fomit-frame-pointer
563 Common Report Var(flag_omit_frame_pointer)
564 When possible do not generate stack frames
565
566 foptimize-register-move
567 Common Report Var(flag_regmove)
568 Do the full register move optimization pass
569
570 foptimize-sibling-calls
571 Common Report Var(flag_optimize_sibling_calls)
572 Optimize sibling and tail recursive calls
573
574 fpack-struct
575 Common Report Var(flag_pack_struct)
576 Pack structure members together without holes
577
578 fpack-struct=
579 Common RejectNegative Joined UInteger
580 -fpack-struct=<number>  Set initial maximum structure member alignment
581
582 fpcc-struct-return
583 Common Report Var(flag_pcc_struct_return,1) VarExists
584 Return small aggregates in memory, not registers
585
586 fpeel-loops
587 Common Report Var(flag_peel_loops)
588 Perform loop peeling
589
590 fpeephole
591 Common Report Var(flag_no_peephole,0)
592 Enable machine specific peephole optimizations
593
594 fpeephole2
595 Common Report Var(flag_peephole2)
596 Enable an RTL peephole pass before sched2
597
598 fPIC
599 Common Report Var(flag_pic,2)
600 Generate position-independent code if possible (large mode)
601
602 fPIE
603 Common Report Var(flag_pie,2)
604 Generate position-independent code for executables if possible (large mode)
605
606 fpic
607 Common Report Var(flag_pic,1) VarExists
608 Generate position-independent code if possible (small mode)
609
610 fpie
611 Common Report Var(flag_pie,1) VarExists
612 Generate position-independent code for executables if possible (small mode)
613
614 fprefetch-loop-arrays
615 Common Report Var(flag_prefetch_loop_arrays)
616 Generate prefetch instructions, if available, for arrays in loops
617
618 fprofile
619 Common Report Var(profile_flag)
620 Enable basic program profiling code
621
622 fprofile-arcs
623 Common Report Var(profile_arc_flag)
624 Insert arc-based program profiling code
625
626 fprofile-generate
627 Common
628 Enable common options for generating profile info for profile feedback directed optimizations
629
630 fprofile-use
631 Common
632 Enable common options for performing profile feedback directed optimizations
633
634 fprofile-values
635 Common Report Var(flag_profile_values)
636 Insert code to profile values of expressions
637
638 frandom-seed
639 Common
640
641 frandom-seed=
642 Common Joined RejectNegative
643 -frandom-seed=<string>  Make compile reproducible using <string>
644
645 freg-struct-return
646 Common Report Var(flag_pcc_struct_return,0) VarExists
647 Return small aggregates in registers
648
649 fregmove
650 Common Report Var(flag_regmove)
651 Enables a register move optimization
652
653 frename-registers
654 Common Report Var(flag_rename_registers)
655 Perform a register renaming optimization pass
656
657 freorder-blocks
658 Common Report Var(flag_reorder_blocks)
659 Reorder basic blocks to improve code placement
660
661 freorder-blocks-and-partition
662 Common Report Var(flag_reorder_blocks_and_partition)
663 Reorder basic blocks and partition into hot and cold sections
664
665 freorder-functions
666 Common Report Var(flag_reorder_functions)
667 Reorder functions to improve code placement
668
669 frerun-cse-after-loop
670 Common Report Var(flag_rerun_cse_after_loop)
671 Add a common subexpression elimination pass after loop optimizations
672
673 frerun-loop-opt
674 Common Report Var(flag_rerun_loop_opt)
675 Run the loop optimizer twice
676
677 frounding-math
678 Common Report Var(flag_rounding_math)
679 Disable optimizations that assume default FP rounding behavior
680
681 fsched-interblock
682 Common Report Var(flag_schedule_interblock) Init(1)
683 Enable scheduling across basic blocks
684
685 fsched-spec
686 Common Report Var(flag_schedule_speculative) Init(1)
687 Allow speculative motion of non-loads
688
689 fsched-spec-load
690 Common Report Var(flag_schedule_speculative_load)
691 Allow speculative motion of some loads
692
693 fsched-spec-load-dangerous
694 Common Report Var(flag_schedule_speculative_load_dangerous)
695 Allow speculative motion of more loads
696
697 fsched-verbose=
698 Common RejectNegative Joined
699 -fsched-verbose=<number>        Set the verbosity level of the scheduler
700
701 fsched2-use-superblocks
702 Common Report Var(flag_sched2_use_superblocks)
703 If scheduling post reload, do superblock scheduling
704
705 fsched2-use-traces
706 Common Report Var(flag_sched2_use_traces)
707 If scheduling post reload, do trace scheduling
708
709 fschedule-insns
710 Common Report Var(flag_schedule_insns)
711 Reschedule instructions before register allocation
712
713 fschedule-insns2
714 Common Report Var(flag_schedule_insns_after_reload)
715 Reschedule instructions after register allocation
716
717 ; sched_stalled_insns means that insns can be moved prematurely from the queue
718 ; of stalled insns into the ready list.
719 fsched-stalled-insns
720 Common Report Var(flag_sched_stalled_insns)
721 Allow premature scheduling of queued insns
722
723 fsched-stalled-insns=
724 Common RejectNegative Joined UInteger 
725 -fsched-stalled-insns=<number>  Set number of queued insns that can be prematurely scheduled
726
727 ; sched_stalled_insns_dep controls how many recently scheduled cycles will
728 ; be examined for a dependency on a stalled insn that is candidate for
729 ; premature removal from the queue of stalled insns into the ready list (has
730 ; an effect only if the flag 'sched_stalled_insns' is set).
731 fsched-stalled-insns-dep
732 Common Report Var(flag_sched_stalled_insns_dep,1) Init(1)
733 Set dependence distance checking in premature scheduling of queued insns
734
735 fsched-stalled-insns-dep=
736 Common RejectNegative Joined UInteger
737 -fsched-stalled-insns-dep=<number>      Set dependence distance checking in premature scheduling of queued insns
738
739 fshared-data
740 Common Report Var(flag_shared_data)
741 Mark data as shared rather than private
742
743 fshow-column
744 Common C ObjC C++ ObjC++ Report Var(flag_show_column) Init(1)
745 Show column numbers in diagnostics, when available.  Default on.
746
747 fsignaling-nans
748 Common Report Var(flag_signaling_nans)
749 Disable optimizations observable by IEEE signaling NaNs
750
751 fsingle-precision-constant
752 Common Report Var(flag_single_precision_constant)
753 Convert floating point constants to single precision constants
754
755 fspeculative-prefetching
756 Common Report Var(flag_speculative_prefetching)
757 Use value profiling for speculative prefetching
758
759 fsplit-ivs-in-unroller
760 Common Report Var(flag_split_ivs_in_unroller) Init(1)
761 Split lifetimes of induction variables when loops are unrolled.
762
763 fvariable-expansion-in-unroller
764 Common Report Var(flag_variable_expansion_in_unroller) 
765 Apply variable expansion when loops are unrolled.
766
767 ; Emit code to probe the stack, to help detect stack overflow; also
768 ; may cause large objects to be allocated dynamically.
769 fstack-check
770 Common Report Var(flag_stack_check)
771 Insert stack checking code into the program
772
773 fstack-limit
774 Common
775
776 fstack-limit-register=
777 Common RejectNegative Joined
778 -fstack-limit-register=<register>       Trap if the stack goes past <register>
779
780 fstack-limit-symbol=
781 Common RejectNegative Joined
782 -fstack-limit-symbol=<name>     Trap if the stack goes past symbol <name>
783
784 fstrength-reduce
785 Common Report Var(flag_strength_reduce)
786 Perform strength reduction optimizations
787
788 ; Nonzero if we should do (language-dependent) alias analysis.
789 ; Typically, this analysis will assume that expressions of certain
790 ; types do not alias expressions of certain other types.  Only used
791 ; if alias analysis (in general) is enabled.
792 fstrict-aliasing
793 Common Report Var(flag_strict_aliasing)
794 Assume strict aliasing rules apply
795
796 fsyntax-only
797 Common Report Var(flag_syntax_only)
798 Check for syntax errors, then stop
799
800 ftest-coverage
801 Common Report Var(flag_test_coverage)
802 Create data files needed by \"gcov\"
803
804 fthread-jumps
805 Common Report Var(flag_thread_jumps)
806 Perform jump threading optimizations
807
808 ftime-report
809 Common Report Var(time_report)
810 Report the time taken by each compiler pass
811
812 ftls-model=
813 Common Joined RejectNegative
814 -ftls-model=[global-dynamic|local-dynamic|initial-exec|local-exec]      Set the default thread-local storage code generation model
815
816 ftracer
817 Common Report Var(flag_tracer)
818 Perform superblock formation via tail duplication
819
820 ; Zero means that floating-point math operations cannot generate a
821 ; (user-visible) trap.  This is the case, for example, in nonstop
822 ; IEEE 754 arithmetic.
823 ftrapping-math
824 Common Report Var(flag_trapping_math) Init(1)
825 Assume floating-point operations can trap
826
827 ftrapv
828 Common Report Var(flag_trapv)
829 Trap for signed overflow in addition, subtraction and multiplication
830
831 ftree-based-profiling
832 Common Report Var(flag_tree_based_profiling)
833 Use tree-ssa based implementation of profiling
834
835 ftree-ccp
836 Common Report Var(flag_tree_ccp)
837 Enable SSA-CCP optimization on trees
838
839 ftree-store-ccp
840 Common Report Var(flag_tree_store_ccp)
841 Enable SSA-CCP optimization for stores and loads
842
843 ftree-ch
844 Common Report Var(flag_tree_ch)
845 Enable loop header copying on trees
846
847 ftree-combine-temps
848 Common Report Var(flag_tree_combine_temps)
849 Coalesce memory temporaries in the SSA->normal pass
850
851 ftree-copyrename
852 Common Report Var(flag_tree_copyrename)
853 Replace SSA temporaries with better names in copies.
854
855 ftree-copy-prop
856 Common Report Var(flag_tree_copy_prop)
857 Enable copy propagation on trees
858
859 ftree-store-copy-prop
860 Common Report Var(flag_tree_store_copy_prop)
861 Enable copy propagation for stores and loads
862
863 ftree-dce
864 Common Report Var(flag_tree_dce)
865 Enable SSA dead code elimination optimization on trees
866
867 ftree-dominator-opts
868 Common Report Var(flag_tree_dom)
869 Enable dominator optimizations
870
871 ftree-dse
872 Common Report Var(flag_tree_dse)
873 Enable dead store elimination
874
875 ftree-fre
876 Common Report Var(flag_tree_fre)
877 Enable Full Redundancy Elimination (FRE) on trees
878
879 ftree-loop-im
880 Common Report Var(flag_tree_loop_im) Init(1)
881 Enable loop invariant motion on trees
882
883 ftree-loop-linear
884 Common Report Var(flag_tree_loop_linear)
885 Enable linear loop transforms on trees
886
887 ftree-loop-ivcanon
888 Common Report Var(flag_tree_loop_ivcanon) Init(1)
889 Create canonical induction variables in loops
890
891 ftree-loop-optimize
892 Common Report Var(flag_tree_loop_optimize) Init(1)
893 Enable loop optimizations on tree level
894
895 ftree-pre
896 Common Report Var(flag_tree_pre)
897 Enable SSA-PRE optimization on trees
898
899 ftree-salias
900 Common Report Var(flag_tree_salias)
901 Perform structural alias analysis
902
903 ftree-sink
904 Common Report Var(flag_tree_sink)
905 Enable SSA code sinking on trees
906
907 ftree-sra
908 Common Report Var(flag_tree_sra)
909 Perform scalar replacement of aggregates
910
911 ftree-ter
912 Common Report Var(flag_tree_ter)
913 Replace temporary expressions in the SSA->normal pass
914
915 ftree-lrs
916 Common Report Var(flag_tree_live_range_split)
917 Perform live range splitting during the SSA->normal pass.
918
919 ftree-vrp
920 Common Report Var(flag_tree_vrp) Init(0)
921 Perform Value Range Propagation on trees
922
923 funit-at-a-time
924 Common Report Var(flag_unit_at_a_time)
925 Compile whole compilation unit at a time
926
927 funroll-loops
928 Common Report Var(flag_unroll_loops)
929 Perform loop unrolling when iteration count is known
930
931 funroll-all-loops
932 Common Report Var(flag_unroll_all_loops)
933 Perform loop unrolling for all loops
934
935 ; Nonzero means that unsafe floating-point math optimizations are allowed
936 ; for the sake of speed.  IEEE compliance is not guaranteed, and operations
937 ; are allowed to assume that their arguments and results are "normal"
938 ; (e.g., nonnegative for SQRT).
939 funsafe-math-optimizations
940 Common Report Var(flag_unsafe_math_optimizations)
941 Allow math optimizations that may violate IEEE or ISO standards
942
943 funswitch-loops
944 Common Report Var(flag_unswitch_loops)
945 Perform loop unswitching
946
947 funwind-tables
948 Common Report Var(flag_unwind_tables)
949 Just generate unwind tables for exception handling
950
951 fvar-tracking
952 Common Report Var(flag_var_tracking) VarExists
953 Perform variable tracking
954
955 ftree-vectorize
956 Common Report Var(flag_tree_vectorize)
957 Enable loop vectorization on trees
958
959 ftree-vectorizer-verbose=
960 Common RejectNegative Joined
961 -ftree-vectorizer-verbose=<number>      Set the verbosity level of the vectorizer
962
963 ; -fverbose-asm causes extra commentary information to be produced in
964 ; the generated assembly code (to make it more readable).  This option
965 ; is generally only of use to those who actually need to read the
966 ; generated assembly code (perhaps while debugging the compiler itself).
967 ; -fno-verbose-asm, the default, causes the extra information
968 ; to not be added and is useful when comparing two assembler files.
969 fverbose-asm
970 Common Report Var(flag_verbose_asm)
971 Add extra commentary to assembler output
972
973 fvisibility=
974 Common Joined RejectNegative
975 -fvisibility=[default|internal|hidden|protected]        Set the default symbol visibility
976
977
978 fvpt
979 Common Report Var(flag_value_profile_transformations)
980 Use expression value profiles in optimizations
981
982 fweb
983 Common Report Var(flag_web) Init(0)
984 Construct webs and split unrelated uses of single variable
985
986 fwrapv
987 Common Report Var(flag_wrapv)
988 Assume signed arithmetic overflow wraps around
989
990 fzero-initialized-in-bss
991 Common Report Var(flag_zero_initialized_in_bss) Init(1)
992 Put zero initialized data in the bss section
993
994 g
995 Common JoinedOrMissing
996 Generate debug information in default format
997
998 gcoff
999 Common JoinedOrMissing
1000 Generate debug information in COFF format
1001
1002 gdwarf-2
1003 Common JoinedOrMissing
1004 Generate debug information in DWARF v2 format
1005
1006 ggdb
1007 Common JoinedOrMissing
1008 Generate debug information in default extended format
1009
1010 gstabs
1011 Common JoinedOrMissing
1012 Generate debug information in STABS format
1013
1014 gstabs+
1015 Common JoinedOrMissing
1016 Generate debug information in extended STABS format
1017
1018 gvms
1019 Common JoinedOrMissing
1020 Generate debug information in VMS format
1021
1022 gxcoff
1023 Common JoinedOrMissing
1024 Generate debug information in XCOFF format
1025
1026 gxcoff+
1027 Common JoinedOrMissing
1028 Generate debug information in extended XCOFF format
1029
1030 o
1031 Common Joined Separate
1032 -o <file>       Place output into <file>
1033
1034 p
1035 Common Var(profile_flag)
1036 Enable function profiling
1037
1038 pedantic
1039 Common Var(pedantic)
1040 Issue warnings needed for strict compliance to the standard
1041
1042 pedantic-errors
1043 Common
1044 Like -pedantic but issue them as errors
1045
1046 quiet
1047 Common Var(quiet_flag)
1048 Do not display functions compiled or elapsed time
1049
1050 version
1051 Common Var(version_flag)
1052 Display the compiler's version
1053
1054 w
1055 Common Var(inhibit_warnings)
1056 Suppress warnings
1057
1058 ; This comment is to ensure we retain the blank line above.