1 ; Options for the language- and target-independent parts of the compiler.
3 ; Copyright (C) 2003, 2004, 2005 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
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
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
22 ; See the GCC internals manual for a description of this file's format.
24 ; Please try to keep this file in ASCII collating order.
28 Display this information
32 --param <param>=<value> Set parameter <param> to value. See below for a complete list of parameters
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>
50 Optimize for space rather than speed
54 This switch is deprecated; use -Wextra instead
57 Common Var(warn_aggregate_return)
58 Warn about returning structures, unions or arrays
61 Common Var(warn_attributes) Init(1)
62 Warn about inappropriate attribute usage
65 Common Var(warn_cast_align)
66 Warn about pointer casts which increase alignment
68 Wdeprecated-declarations
69 Common Var(warn_deprecated_decl) Init(1)
70 Warn about uses of __attribute__((deprecated)) declarations
72 Wdisabled-optimization
73 Common Var(warn_disabled_optimization)
74 Warn when an optimization pass is disabled
77 Common Var(warnings_are_errors)
78 Treat all warnings as errors
82 Print extra (possibly unwanted) warnings
85 Common Var(flag_fatal_errors)
86 Exit on the first error occurred
89 Common Var(warn_inline)
90 Warn when an inlined function cannot be inlined
93 Common RejectNegative Joined UInteger
94 -Wlarger-than-<number> Warn if an object is larger than <number> bytes
97 Common Var(warn_missing_noreturn)
98 Warn about functions which might be candidates for __attribute__((noreturn))
101 Common Var(warn_packed)
102 Warn when the packed attribute has no effect on struct layout
105 Common Var(warn_padded)
106 Warn when padding is required to align structure members
109 Common Var(warn_shadow)
110 Warn when one local variable shadows another
114 Warn about code which might break strict aliasing rules
117 Common Joined UInteger
118 Warn about code which might break strict aliasing rules
121 Common Var(warn_switch)
122 Warn about enumerated switches, with no default, missing a case
125 Common Var(warn_switch_default)
126 Warn about enumerated switches missing a \"default:\" statement
129 Common Var(warn_switch_enum)
130 Warn about all enumerated switches missing a specific case
133 Common Var(warn_system_headers)
134 Do not suppress warnings from system headers
137 Common Var(warn_uninitialized)
138 Warn about uninitialized automatic variables
141 Common Var(warn_notreached)
142 Warn about code that will never be executed
146 Enable all -Wunused- warnings
149 Common Var(warn_unused_function)
150 Warn when a function is unused
153 Common Var(warn_unused_label)
154 Warn when a label is unused
157 Common Var(warn_unused_parameter)
158 Warn when a function parameter is unused
161 Common Var(warn_unused_value)
162 Warn when an expression value is unused
165 Common Var(warn_unused_variable)
166 Warn when a variable is unused
170 -aux-info <file> Emit declaration information into <file>
183 -d<letters> Enable dumps from specific passes of the compiler
187 -dumpbase <file> Set the file basename to be used for dumps
189 ; The version of the C++ ABI in use. The following values are allowed:
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
196 ; 1: The version of the ABI first used in G++ 3.2.
198 ; Additional positive integers will be assigned as new versions of
199 ; the ABI become the default version of the ABI.
201 Common Joined UInteger Var(flag_abi_version) Init(2)
204 Common Report Var(align_functions,0)
205 Align the start of functions
208 Common RejectNegative Joined UInteger
211 Common Report Var(align_jumps,0)
212 Align labels which are only reached by jumping
215 Common RejectNegative Joined UInteger
218 Common Report Var(align_labels,0)
222 Common RejectNegative Joined UInteger
225 Common Report Var(align_loops)
226 Align the start of loops
229 Common RejectNegative Joined UInteger
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
235 ; 2 if pointer arguments may not alias each other and may not
236 ; alias global variables. True in Fortran.
238 Common Report Var(flag_argument_noalias,0)
239 Specify that arguments may alias each other and globals
242 Common Report Var(flag_argument_noalias,1) VarExists
243 Assume arguments may alias globals but not each other
245 fargument-noalias-global
246 Common Report Var(flag_argument_noalias,2) VarExists
247 Assume arguments alias neither each other nor globals
249 fasynchronous-unwind-tables
250 Common Report Var(flag_asynchronous_unwind_tables)
251 Generate unwind tables that are exact at each instruction boundary
253 ; -fcheck-bounds causes gcc to generate array bounds checks.
254 ; For C, C++ and ObjC: defaults off.
255 ; For Java: defaults to on.
256 ; For Fortran: defaults to off.
258 Common Report Var(flag_bounds_check)
259 Generate code to check bounds before indexing arrays
262 Common Report Var(flag_branch_on_count_reg) Init(1)
263 Replace add, compare, branch with branch on count register
265 fbranch-probabilities
266 Common Report Var(flag_branch_probabilities)
267 Use profiling information for branch probabilities
269 fbranch-target-load-optimize
270 Common Report Var(flag_branch_target_load_optimize)
271 Perform branch target load optimization before prologue / epilogue threading
273 fbranch-target-load-optimize2
274 Common Report Var(flag_branch_target_load_optimize2)
275 Perform branch target load optimization after prologue / epilogue threading
278 Common Report Var(flag_btr_bb_exclusive)
279 Restrict target load migration not to re-use registers in any basic block
282 Common Joined RejectNegative
283 -fcall-saved-<register> Mark <register> as being preserved across functions
286 Common Joined RejectNegative
287 -fcall-used-<register> Mark <register> as being corrupted by function calls
289 ; Nonzero for -fcaller-saves: allocate values in regs that need to
290 ; be saved across function calls, if that produces overall better code.
291 ; Optional now, so people can test it.
293 Common Report Var(flag_caller_saves)
294 Save registers around function calls
297 Common Report Var(flag_no_common,0)
298 Do not put uninitialized globals in the common section
301 Common Report Var(flag_cprop_registers)
302 Perform a register copy-propagation optimization pass
305 Common Report Var(flag_crossjumping)
306 Perform cross-jumping optimization
309 Common Report Var(flag_cse_follow_jumps)
310 When running CSE, follow jumps to their targets
313 Common Report Var(flag_cse_skip_blocks)
314 When running CSE, follow conditional jumps
317 Common Report Var(flag_cx_limited_range)
318 Omit range reduction step when performing complex division
321 Common Report Var(flag_data_sections)
322 Place data items into their own section
324 ; Nonzero for -fdefer-pop: don't pop args after each function call
325 ; instead save them up to pop many calls' args with one insns.
327 Common Report Var(flag_defer_pop)
328 Defer popping functions args from stack until later
331 Common Report Var(flag_delayed_branch)
332 Attempt to fill delay slots of branch instructions
334 fdelete-null-pointer-checks
335 Common Report Var(flag_delete_null_pointer_checks)
336 Delete useless null pointer checks
338 fdiagnostics-show-location=
339 Common Joined RejectNegative
340 -fdiagnostics-show-location=[once|every-line] How often to emit source location at the beginning of line-wrapped diagnostics
342 fdiagnostics-show-option
344 Amend appropriate diagnostic messages with the command line option that controls them.
347 Common Joined RejectNegative
348 -fdump-<type> Dump various compiler internals to a file
351 Common Report Var(flag_dump_unnumbered) VarExists
352 Suppress output of instruction numbers and line number notes in debugging dumps
354 feliminate-dwarf2-dups
355 Common Report Var(flag_eliminate_dwarf2_dups)
356 Perform DWARF2 duplicate elimination
358 feliminate-unused-debug-symbols
359 Common Report Var(flag_debug_only_used_symbols)
360 Perform unused type elimination in debug info
362 feliminate-unused-debug-types
363 Common Report Var(flag_eliminate_unused_debug_types) Init(1)
364 Perform unused type elimination in debug info
367 Common Report Var(flag_exceptions)
368 Enable exception handling
370 fexpensive-optimizations
371 Common Report Var(flag_expensive_optimizations)
372 Perform a number of minor, expensive optimizations
378 Common Report Var(flag_finite_math_only)
379 Assume no NaNs or infinities are generated
382 Common Joined RejectNegative
383 -ffixed-<register> Mark <register> as being unavailable to the compiler
386 Common Report Var(flag_float_store)
387 Don't allocate floats and doubles in extended-precision registers
389 ; Nonzero for -fforce-addr: load memory address into a register before
390 ; reference to memory. This makes better cse but slower compilation.
392 Common Report Var(flag_force_addr)
393 Copy memory address constants into registers before use
395 ; Nonzero for -fforce-mem: load memory value into a register
396 ; before arithmetic on it. This makes better cse but slower compilation.
398 Common Report Var(flag_force_mem)
399 Copy memory operands into registers before use
401 ; Nonzero means don't put addresses of constant functions in registers.
402 ; Used for compiling the Unix kernel, where strange substitutions are
403 ; done on the assembly output.
405 Common Report Var(flag_no_function_cse,0)
406 Allow function addresses to be held in registers
409 Common Report Var(flag_function_sections)
410 Place each function into its own section
413 Common Report Var(flag_gcse)
414 Perform global common subexpression elimination
417 Common Report Var(flag_gcse_lm) Init(1)
418 Perform enhanced load motion during global common subexpression elimination
421 Common Report Var(flag_gcse_sm) Init(0)
422 Perform store motion after global common subexpression elimination
425 Common Report Var(flag_gcse_las) Init(0)
426 Perform redundant load after store elimination in global common subexpression
430 Common Report Var(flag_gcse_after_reload)
431 Perform global common subexpression elimination after register allocation
434 fguess-branch-probability
435 Common Report Var(flag_guess_branch_prob)
436 Enable guessing of branch probabilities
438 ; Nonzero means ignore `#ident' directives. 0 means handle them.
439 ; Generate position-independent code for executables if possible
440 ; On SVR4 targets, it also controls whether or not to emit a
441 ; string identifying the compiler.
443 Common Report Var(flag_no_ident,0)
444 Process #ident directives
447 Common Report Var(flag_if_conversion)
448 Perform conversion of conditional jumps to branchless equivalents
451 Common Report Var(flag_if_conversion2)
452 Perform conversion of conditional jumps to conditional execution
454 ; -finhibit-size-directive inhibits output of .size for ELF.
455 ; This is used only for compiling crtstuff.c,
456 ; and it may be extended to other effects
457 ; needed for crtstuff.c on other systems.
458 finhibit-size-directive
459 Common Report Var(flag_inhibit_size_directive)
460 Do not generate .size directives
462 ; Nonzero means that functions declared `inline' will be treated
463 ; as `static'. Prevents generation of zillions of copies of unused
464 ; static inline functions; instead, `inlines' are written out
465 ; only when actually used. Used in conjunction with -g. Also
466 ; does the right thing with #pragma interface.
468 Common Report Var(flag_no_inline,0) Init(2)
469 Pay attention to the \"inline\" keyword
472 Common Report Var(flag_inline_functions)
473 Integrate simple functions into their callers
476 Common RejectNegative Joined UInteger
479 Common RejectNegative Joined UInteger
480 -finline-limit=<number> Limit the size of inlined functions to <number>
482 finstrument-functions
483 Common Report Var(flag_instrument_function_entry_exit)
484 Instrument function entry and exit with profiling calls
487 Common Report Var(flag_ivopts) Init(1)
488 Optimize induction variables on trees
491 Common Var(flag_jump_tables) Init(1)
492 Use jump tables for sufficiently large switch statements
494 fkeep-inline-functions
495 Common Report Var(flag_keep_inline_functions)
496 Generate code for functions even if they are fully inlined
499 Common Report Var(flag_keep_static_consts) Init(1)
500 Emit static const variables even if they are not used
503 Common Report Var(flag_leading_underscore) Init(-1)
504 Give external symbols a leading underscore
507 Common Report Var(flag_loop_optimize)
508 Perform loop optimizations
511 Common Report Var(flag_loop_optimize2)
512 Perform loop optimizations using the new loop optimizer
515 Common Report Var(flag_errno_math) Init(1)
516 Set errno after built-in math functions
519 Common Report Var(mem_report)
520 Report on permanent memory allocation
522 ; This will attempt to merge constant section constants, if 1 only
523 ; string constants and constants from constant pool, if 2 also constant
526 Common Report Var(flag_merge_constants,2) Init(1)
527 Attempt to merge identical constants and constant variables
530 Common Report Var(flag_merge_constants,1) VarExists
531 Attempt to merge identical constants across compilation units
534 Common RejectNegative Joined UInteger
535 -fmessage-length=<number> Limit diagnostics to <number> characters per line. 0 suppresses line-wrapping
538 Common Report Var(flag_modulo_sched)
539 Perform SMS based modulo scheduling before the first scheduling pass
541 fmove-loop-invariants
542 Common Report Var(flag_move_loop_invariants)
543 Move loop invariant computations out of loops
546 Common RejectNegative Report Var(flag_mudflap)
547 Add mudflap bounds-checking instrumentation for single-threaded program.
550 Common RejectNegative Report Var(flag_mudflap_threads)
551 Add mudflap bounds-checking instrumentation for multi-threaded program.
554 Common RejectNegative Report Var(flag_mudflap_ignore_reads)
555 Ignore read operations when inserting mudflap instrumentation.
557 freschedule-modulo-scheduled-loops
558 Common Report Var(flag_resched_modulo_sched)
559 Enable/Disable the traditional scheduling in loops that already passed modulo scheduling
562 Common Report Var(flag_non_call_exceptions)
563 Support synchronous non-call exceptions
566 Common Report Var(flag_omit_frame_pointer)
567 When possible do not generate stack frames
569 foptimize-register-move
570 Common Report Var(flag_regmove)
571 Do the full register move optimization pass
573 foptimize-sibling-calls
574 Common Report Var(flag_optimize_sibling_calls)
575 Optimize sibling and tail recursive calls
578 Common Report Var(flag_pack_struct)
579 Pack structure members together without holes
582 Common RejectNegative Joined UInteger
583 -fpack-struct=<number> Set initial maximum structure member alignment
586 Common Report Var(flag_pcc_struct_return,1) VarExists
587 Return small aggregates in memory, not registers
590 Common Report Var(flag_peel_loops)
594 Common Report Var(flag_no_peephole,0)
595 Enable machine specific peephole optimizations
598 Common Report Var(flag_peephole2)
599 Enable an RTL peephole pass before sched2
602 Common Report Var(flag_pic,2)
603 Generate position-independent code if possible (large mode)
606 Common Report Var(flag_pie,2)
607 Generate position-independent code for executables if possible (large mode)
610 Common Report Var(flag_pic,1) VarExists
611 Generate position-independent code if possible (small mode)
614 Common Report Var(flag_pie,1) VarExists
615 Generate position-independent code for executables if possible (small mode)
617 fprefetch-loop-arrays
618 Common Report Var(flag_prefetch_loop_arrays)
619 Generate prefetch instructions, if available, for arrays in loops
622 Common Report Var(profile_flag)
623 Enable basic program profiling code
626 Common Report Var(profile_arc_flag)
627 Insert arc-based program profiling code
631 Enable common options for generating profile info for profile feedback directed optimizations
635 Enable common options for performing profile feedback directed optimizations
638 Common Report Var(flag_profile_values)
639 Insert code to profile values of expressions
645 Common Joined RejectNegative
646 -frandom-seed=<string> Make compile reproducible using <string>
649 Common Report Var(flag_pcc_struct_return,0) VarExists
650 Return small aggregates in registers
653 Common Report Var(flag_regmove)
654 Enables a register move optimization
657 Common Report Var(flag_rename_registers)
658 Perform a register renaming optimization pass
661 Common Report Var(flag_reorder_blocks)
662 Reorder basic blocks to improve code placement
664 freorder-blocks-and-partition
665 Common Report Var(flag_reorder_blocks_and_partition)
666 Reorder basic blocks and partition into hot and cold sections
669 Common Report Var(flag_reorder_functions)
670 Reorder functions to improve code placement
672 frerun-cse-after-loop
673 Common Report Var(flag_rerun_cse_after_loop)
674 Add a common subexpression elimination pass after loop optimizations
677 Common Report Var(flag_rerun_loop_opt)
678 Run the loop optimizer twice
681 Common Report Var(flag_rounding_math)
682 Disable optimizations that assume default FP rounding behavior
685 Common Report Var(flag_schedule_interblock) Init(1)
686 Enable scheduling across basic blocks
689 Common Report Var(flag_schedule_speculative) Init(1)
690 Allow speculative motion of non-loads
693 Common Report Var(flag_schedule_speculative_load)
694 Allow speculative motion of some loads
696 fsched-spec-load-dangerous
697 Common Report Var(flag_schedule_speculative_load_dangerous)
698 Allow speculative motion of more loads
701 Common RejectNegative Joined
702 -fsched-verbose=<number> Set the verbosity level of the scheduler
704 fsched2-use-superblocks
705 Common Report Var(flag_sched2_use_superblocks)
706 If scheduling post reload, do superblock scheduling
709 Common Report Var(flag_sched2_use_traces)
710 If scheduling post reload, do trace scheduling
713 Common Report Var(flag_schedule_insns)
714 Reschedule instructions before register allocation
717 Common Report Var(flag_schedule_insns_after_reload)
718 Reschedule instructions after register allocation
720 ; sched_stalled_insns means that insns can be moved prematurely from the queue
721 ; of stalled insns into the ready list.
723 Common Report Var(flag_sched_stalled_insns)
724 Allow premature scheduling of queued insns
726 fsched-stalled-insns=
727 Common RejectNegative Joined UInteger
728 -fsched-stalled-insns=<number> Set number of queued insns that can be prematurely scheduled
730 ; sched_stalled_insns_dep controls how many recently scheduled cycles will
731 ; be examined for a dependency on a stalled insn that is candidate for
732 ; premature removal from the queue of stalled insns into the ready list (has
733 ; an effect only if the flag 'sched_stalled_insns' is set).
734 fsched-stalled-insns-dep
735 Common Report Var(flag_sched_stalled_insns_dep,1) Init(1)
736 Set dependence distance checking in premature scheduling of queued insns
738 fsched-stalled-insns-dep=
739 Common RejectNegative Joined UInteger
740 -fsched-stalled-insns-dep=<number> Set dependence distance checking in premature scheduling of queued insns
743 Common Report Var(flag_shared_data)
744 Mark data as shared rather than private
747 Common C ObjC C++ ObjC++ Report Var(flag_show_column) Init(1)
748 Show column numbers in diagnostics, when available. Default on.
751 Common Report Var(flag_signaling_nans)
752 Disable optimizations observable by IEEE signaling NaNs
754 fsingle-precision-constant
755 Common Report Var(flag_single_precision_constant)
756 Convert floating point constants to single precision constants
758 fspeculative-prefetching
759 Common Report Var(flag_speculative_prefetching)
760 Use value profiling for speculative prefetching
762 fsplit-ivs-in-unroller
763 Common Report Var(flag_split_ivs_in_unroller) Init(1)
764 Split lifetimes of induction variables when loops are unrolled.
766 fvariable-expansion-in-unroller
767 Common Report Var(flag_variable_expansion_in_unroller)
768 Apply variable expansion when loops are unrolled.
770 ; Emit code to probe the stack, to help detect stack overflow; also
771 ; may cause large objects to be allocated dynamically.
773 Common Report Var(flag_stack_check)
774 Insert stack checking code into the program
779 fstack-limit-register=
780 Common RejectNegative Joined
781 -fstack-limit-register=<register> Trap if the stack goes past <register>
784 Common RejectNegative Joined
785 -fstack-limit-symbol=<name> Trap if the stack goes past symbol <name>
788 Common Report Var(flag_strength_reduce)
789 Perform strength reduction optimizations
791 ; Nonzero if we should do (language-dependent) alias analysis.
792 ; Typically, this analysis will assume that expressions of certain
793 ; types do not alias expressions of certain other types. Only used
794 ; if alias analysis (in general) is enabled.
796 Common Report Var(flag_strict_aliasing)
797 Assume strict aliasing rules apply
800 Common Report Var(flag_syntax_only)
801 Check for syntax errors, then stop
804 Common Report Var(flag_test_coverage)
805 Create data files needed by \"gcov\"
808 Common Report Var(flag_thread_jumps)
809 Perform jump threading optimizations
812 Common Report Var(time_report)
813 Report the time taken by each compiler pass
816 Common Joined RejectNegative
817 -ftls-model=[global-dynamic|local-dynamic|initial-exec|local-exec] Set the default thread-local storage code generation model
820 Common Report Var(flag_tracer)
821 Perform superblock formation via tail duplication
823 ; Zero means that floating-point math operations cannot generate a
824 ; (user-visible) trap. This is the case, for example, in nonstop
825 ; IEEE 754 arithmetic.
827 Common Report Var(flag_trapping_math) Init(1)
828 Assume floating-point operations can trap
831 Common Report Var(flag_trapv)
832 Trap for signed overflow in addition, subtraction and multiplication
834 ftree-based-profiling
835 Common Report Var(flag_tree_based_profiling)
836 Use tree-ssa based implementation of profiling
839 Common Report Var(flag_tree_ccp)
840 Enable SSA-CCP optimization on trees
843 Common Report Var(flag_tree_store_ccp)
844 Enable SSA-CCP optimization for stores and loads
847 Common Report Var(flag_tree_ch)
848 Enable loop header copying on trees
851 Common Report Var(flag_tree_combine_temps)
852 Coalesce memory temporaries in the SSA->normal pass
855 Common Report Var(flag_tree_copyrename)
856 Replace SSA temporaries with better names in copies.
859 Common Report Var(flag_tree_copy_prop)
860 Enable copy propagation on trees
862 ftree-store-copy-prop
863 Common Report Var(flag_tree_store_copy_prop)
864 Enable copy propagation for stores and loads
867 Common Report Var(flag_tree_dce)
868 Enable SSA dead code elimination optimization on trees
871 Common Report Var(flag_tree_dom)
872 Enable dominator optimizations
875 Common Report Var(flag_tree_dse)
876 Enable dead store elimination
879 Common Report Var(flag_tree_fre)
880 Enable Full Redundancy Elimination (FRE) on trees
883 Common Report Var(flag_tree_loop_im) Init(1)
884 Enable loop invariant motion on trees
887 Common Report Var(flag_tree_loop_linear)
888 Enable linear loop transforms on trees
891 Common Report Var(flag_tree_loop_ivcanon) Init(1)
892 Create canonical induction variables in loops
895 Common Report Var(flag_tree_loop_optimize) Init(1)
896 Enable loop optimizations on tree level
899 Common Report Var(flag_tree_pre)
900 Enable SSA-PRE optimization on trees
903 Common Report Var(flag_tree_salias)
904 Perform structural alias analysis
907 Common Report Var(flag_tree_sink)
908 Enable SSA code sinking on trees
911 Common Report Var(flag_tree_sra)
912 Perform scalar replacement of aggregates
915 Common Report Var(flag_tree_ter)
916 Replace temporary expressions in the SSA->normal pass
919 Common Report Var(flag_tree_live_range_split)
920 Perform live range splitting during the SSA->normal pass.
923 Common Report Var(flag_tree_vrp) Init(0)
924 Perform Value Range Propagation on trees
927 Common Report Var(flag_unit_at_a_time)
928 Compile whole compilation unit at a time
931 Common Report Var(flag_unroll_loops)
932 Perform loop unrolling when iteration count is known
935 Common Report Var(flag_unroll_all_loops)
936 Perform loop unrolling for all loops
938 ; Nonzero means that unsafe floating-point math optimizations are allowed
939 ; for the sake of speed. IEEE compliance is not guaranteed, and operations
940 ; are allowed to assume that their arguments and results are "normal"
941 ; (e.g., nonnegative for SQRT).
942 funsafe-math-optimizations
943 Common Report Var(flag_unsafe_math_optimizations)
944 Allow math optimizations that may violate IEEE or ISO standards
947 Common Report Var(flag_unswitch_loops)
948 Perform loop unswitching
951 Common Report Var(flag_unwind_tables)
952 Just generate unwind tables for exception handling
955 Common Report Var(flag_var_tracking) VarExists
956 Perform variable tracking
959 Common Report Var(flag_tree_vectorize)
960 Enable loop vectorization on trees
962 ftree-vectorizer-verbose=
963 Common RejectNegative Joined
964 -ftree-vectorizer-verbose=<number> Set the verbosity level of the vectorizer
966 ; -fverbose-asm causes extra commentary information to be produced in
967 ; the generated assembly code (to make it more readable). This option
968 ; is generally only of use to those who actually need to read the
969 ; generated assembly code (perhaps while debugging the compiler itself).
970 ; -fno-verbose-asm, the default, causes the extra information
971 ; to not be added and is useful when comparing two assembler files.
973 Common Report Var(flag_verbose_asm)
974 Add extra commentary to assembler output
977 Common Joined RejectNegative
978 -fvisibility=[default|internal|hidden|protected] Set the default symbol visibility
982 Common Report Var(flag_value_profile_transformations)
983 Use expression value profiles in optimizations
986 Common Report Var(flag_web) Init(0)
987 Construct webs and split unrelated uses of single variable
990 Common Report Var(flag_wrapv)
991 Assume signed arithmetic overflow wraps around
993 fzero-initialized-in-bss
994 Common Report Var(flag_zero_initialized_in_bss) Init(1)
995 Put zero initialized data in the bss section
998 Common JoinedOrMissing
999 Generate debug information in default format
1002 Common JoinedOrMissing
1003 Generate debug information in COFF format
1006 Common JoinedOrMissing
1007 Generate debug information in DWARF v2 format
1010 Common JoinedOrMissing
1011 Generate debug information in default extended format
1014 Common JoinedOrMissing
1015 Generate debug information in STABS format
1018 Common JoinedOrMissing
1019 Generate debug information in extended STABS format
1022 Common JoinedOrMissing
1023 Generate debug information in VMS format
1026 Common JoinedOrMissing
1027 Generate debug information in XCOFF format
1030 Common JoinedOrMissing
1031 Generate debug information in extended XCOFF format
1034 Common Joined Separate
1035 -o <file> Place output into <file>
1038 Common Var(profile_flag)
1039 Enable function profiling
1042 Common Var(pedantic)
1043 Issue warnings needed for strict compliance to the standard
1047 Like -pedantic but issue them as errors
1050 Common Var(quiet_flag)
1051 Do not display functions compiled or elapsed time
1054 Common Var(version_flag)
1055 Display the compiler's version
1058 Common Var(inhibit_warnings)
1061 ; This comment is to ensure we retain the blank line above.