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