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.
237 ; The value is ignored if flag_alias_check is 0.
239 Common Report Var(flag_argument_noalias,0)
240 Specify that arguments may alias each other and globals
243 Common Report Var(flag_argument_noalias,1) VarExists
244 Assume arguments may alias globals but not each other
246 fargument-noalias-global
247 Common Report Var(flag_argument_noalias,2) VarExists
248 Assume arguments alias neither each other nor globals
250 fasynchronous-unwind-tables
251 Common Report Var(flag_asynchronous_unwind_tables)
252 Generate unwind tables that are exact at each instruction boundary
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.
259 Common Report Var(flag_bounds_check)
260 Generate code to check bounds before indexing arrays
263 Common Report Var(flag_branch_on_count_reg) Init(1)
264 Replace add, compare, branch with branch on count register
266 fbranch-probabilities
267 Common Report Var(flag_branch_probabilities)
268 Use profiling information for branch probabilities
270 fbranch-target-load-optimize
271 Common Report Var(flag_branch_target_load_optimize)
272 Perform branch target load optimization before prologue / epilogue threading
274 fbranch-target-load-optimize2
275 Common Report Var(flag_branch_target_load_optimize2)
276 Perform branch target load optimization after prologue / epilogue threading
279 Common Report Var(flag_btr_bb_exclusive)
280 Restrict target load migration not to re-use registers in any basic block
283 Common Joined RejectNegative
284 -fcall-saved-<register> Mark <register> as being preserved across functions
287 Common Joined RejectNegative
288 -fcall-used-<register> Mark <register> as being corrupted by function calls
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.
294 Common Report Var(flag_caller_saves)
295 Save registers around function calls
298 Common Report Var(flag_no_common,0)
299 Do not put uninitialized globals in the common section
302 Common Report Var(flag_cprop_registers)
303 Perform a register copy-propagation optimization pass
306 Common Report Var(flag_crossjumping)
307 Perform cross-jumping optimization
310 Common Report Var(flag_cse_follow_jumps)
311 When running CSE, follow jumps to their targets
314 Common Report Var(flag_cse_skip_blocks)
315 When running CSE, follow conditional jumps
318 Common Report Var(flag_cx_limited_range)
319 Omit range reduction step when performing complex division
322 Common Report Var(flag_data_sections)
323 Place data items into their own section
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.
328 Common Report Var(flag_defer_pop)
329 Defer popping functions args from stack until later
332 Common Report Var(flag_delayed_branch)
333 Attempt to fill delay slots of branch instructions
335 fdelete-null-pointer-checks
336 Common Report Var(flag_delete_null_pointer_checks)
337 Delete useless null pointer checks
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
343 fdiagnostics-show-option
345 Amend appropriate diagnostic messages with the command line option that controls them.
348 Common Joined RejectNegative
349 -fdump-<type> Dump various compiler internals to a file
352 Common Report Var(flag_dump_unnumbered) VarExists
353 Suppress output of instruction numbers and line number notes in debugging dumps
355 feliminate-dwarf2-dups
356 Common Report Var(flag_eliminate_dwarf2_dups)
357 Perform DWARF2 duplicate elimination
359 feliminate-unused-debug-symbols
360 Common Report Var(flag_debug_only_used_symbols)
361 Perform unused type elimination in debug info
363 feliminate-unused-debug-types
364 Common Report Var(flag_eliminate_unused_debug_types) Init(1)
365 Perform unused type elimination in debug info
368 Common Report Var(flag_exceptions)
369 Enable exception handling
371 fexpensive-optimizations
372 Common Report Var(flag_expensive_optimizations)
373 Perform a number of minor, expensive optimizations
379 Common Report Var(flag_finite_math_only)
380 Assume no NaNs or infinities are generated
383 Common Joined RejectNegative
384 -ffixed-<register> Mark <register> as being unavailable to the compiler
387 Common Report Var(flag_float_store)
388 Don't allocate floats and doubles in extended-precision registers
390 ; Nonzero for -fforce-addr: load memory address into a register before
391 ; reference to memory. This makes better cse but slower compilation.
393 Common Report Var(flag_force_addr)
394 Copy memory address constants into registers before use
396 ; Nonzero for -fforce-mem: load memory value into a register
397 ; before arithmetic on it. This makes better cse but slower compilation.
399 Common Report Var(flag_force_mem)
400 Copy memory operands into registers before use
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.
406 Common Report Var(flag_no_function_cse,0)
407 Allow function addresses to be held in registers
410 Common Report Var(flag_function_sections)
411 Place each function into its own section
414 Common Report Var(flag_gcse)
415 Perform global common subexpression elimination
418 Common Report Var(flag_gcse_lm) Init(1)
419 Perform enhanced load motion during global common subexpression elimination
422 Common Report Var(flag_gcse_sm) Init(0)
423 Perform store motion after global common subexpression elimination
426 Common Report Var(flag_gcse_las) Init(0)
427 Perform redundant load after store elimination in global common subexpression
431 Common Report Var(flag_gcse_after_reload)
432 Perform global common subexpression elimination after register allocation
435 fguess-branch-probability
436 Common Report Var(flag_guess_branch_prob)
437 Enable guessing of branch probabilities
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.
444 Common Report Var(flag_no_ident,0)
445 Process #ident directives
448 Common Report Var(flag_if_conversion)
449 Perform conversion of conditional jumps to branchless equivalents
452 Common Report Var(flag_if_conversion2)
453 Perform conversion of conditional jumps to conditional execution
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
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.
469 Common Report Var(flag_no_inline,0) Init(2)
470 Pay attention to the \"inline\" keyword
473 Common Report Var(flag_inline_functions)
474 Integrate simple functions into their callers
477 Common RejectNegative Joined UInteger
480 Common RejectNegative Joined UInteger
481 -finline-limit=<number> Limit the size of inlined functions to <number>
483 finstrument-functions
484 Common Report Var(flag_instrument_function_entry_exit)
485 Instrument function entry and exit with profiling calls
488 Common Report Var(flag_ivopts) Init(1)
489 Optimize induction variables on trees
492 Common Var(flag_jump_tables) Init(1)
493 Use jump tables for sufficiently large switch statements
495 fkeep-inline-functions
496 Common Report Var(flag_keep_inline_functions)
497 Generate code for functions even if they are fully inlined
500 Common Report Var(flag_keep_static_consts) Init(1)
501 Emit static const variables even if they are not used
504 Common Report Var(flag_leading_underscore) Init(-1)
505 Give external symbols a leading underscore
508 Common Report Var(flag_loop_optimize)
509 Perform loop optimizations
512 Common Report Var(flag_loop_optimize2)
513 Perform loop optimizations using the new loop optimizer
516 Common Report Var(flag_errno_math) Init(1)
517 Set errno after built-in math functions
520 Common Report Var(mem_report)
521 Report on permanent memory allocation
523 ; This will attempt to merge constant section constants, if 1 only
524 ; string constants and constants from constant pool, if 2 also constant
527 Common Report Var(flag_merge_constants,2) Init(1)
528 Attempt to merge identical constants and constant variables
531 Common Report Var(flag_merge_constants,1) VarExists
532 Attempt to merge identical constants across compilation units
535 Common RejectNegative Joined UInteger
536 -fmessage-length=<number> Limit diagnostics to <number> characters per line. 0 suppresses line-wrapping
539 Common Report Var(flag_modulo_sched)
540 Perform SMS based modulo scheduling before the first scheduling pass
542 fmove-loop-invariants
543 Common Report Var(flag_move_loop_invariants)
544 Move loop invariant computations out of loops
547 Common RejectNegative Report Var(flag_mudflap)
548 Add mudflap bounds-checking instrumentation for single-threaded program.
551 Common RejectNegative Report Var(flag_mudflap_threads)
552 Add mudflap bounds-checking instrumentation for multi-threaded program.
555 Common RejectNegative Report Var(flag_mudflap_ignore_reads)
556 Ignore read operations when inserting mudflap instrumentation.
558 freschedule-modulo-scheduled-loops
559 Common Report Var(flag_resched_modulo_sched)
560 Enable/Disable the traditional scheduling in loops that already passed modulo scheduling
563 Common Report Var(flag_non_call_exceptions)
564 Support synchronous non-call exceptions
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
579 Common Report Var(flag_pack_struct)
580 Pack structure members together without holes
583 Common RejectNegative Joined UInteger
584 -fpack-struct=<number> Set initial maximum structure member alignment
587 Common Report Var(flag_pcc_struct_return,1) VarExists
588 Return small aggregates in memory, not registers
591 Common Report Var(flag_peel_loops)
595 Common Report Var(flag_no_peephole,0)
596 Enable machine specific peephole optimizations
599 Common Report Var(flag_peephole2)
600 Enable an RTL peephole pass before sched2
603 Common Report Var(flag_pic,2)
604 Generate position-independent code if possible (large mode)
607 Common Report Var(flag_pie,2)
608 Generate position-independent code for executables if possible (large mode)
611 Common Report Var(flag_pic,1) VarExists
612 Generate position-independent code if possible (small mode)
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
623 Common Report Var(profile_flag)
624 Enable basic program profiling code
627 Common Report Var(profile_arc_flag)
628 Insert arc-based program profiling code
632 Enable common options for generating profile info for profile feedback directed optimizations
636 Enable common options for performing profile feedback directed optimizations
639 Common Report Var(flag_profile_values)
640 Insert code to profile values of expressions
646 Common Joined RejectNegative
647 -frandom-seed=<string> Make compile reproducible using <string>
650 Common Report Var(flag_pcc_struct_return,0) VarExists
651 Return small aggregates in registers
654 Common Report Var(flag_regmove)
655 Enables a register move optimization
658 Common Report Var(flag_rename_registers)
659 Perform a register renaming optimization pass
662 Common Report Var(flag_reorder_blocks)
663 Reorder basic blocks to improve code placement
665 freorder-blocks-and-partition
666 Common Report Var(flag_reorder_blocks_and_partition)
667 Reorder basic blocks and partition into hot and cold sections
670 Common Report Var(flag_reorder_functions)
671 Reorder functions to improve code placement
673 frerun-cse-after-loop
674 Common Report Var(flag_rerun_cse_after_loop)
675 Add a common subexpression elimination pass after loop optimizations
678 Common Report Var(flag_rerun_loop_opt)
679 Run the loop optimizer twice
682 Common Report Var(flag_rounding_math)
683 Disable optimizations that assume default FP rounding behavior
686 Common Report Var(flag_schedule_interblock) Init(1)
687 Enable scheduling across basic blocks
690 Common Report Var(flag_schedule_speculative) Init(1)
691 Allow speculative motion of non-loads
694 Common Report Var(flag_schedule_speculative_load)
695 Allow speculative motion of some loads
697 fsched-spec-load-dangerous
698 Common Report Var(flag_schedule_speculative_load_dangerous)
699 Allow speculative motion of more loads
702 Common RejectNegative Joined
703 -fsched-verbose=<number> Set the verbosity level of the scheduler
705 fsched2-use-superblocks
706 Common Report Var(flag_sched2_use_superblocks)
707 If scheduling post reload, do superblock scheduling
710 Common Report Var(flag_sched2_use_traces)
711 If scheduling post reload, do trace scheduling
714 Common Report Var(flag_schedule_insns)
715 Reschedule instructions before register allocation
718 Common Report Var(flag_schedule_insns_after_reload)
719 Reschedule instructions after register allocation
721 ; sched_stalled_insns means that insns can be moved prematurely from the queue
722 ; of stalled insns into the ready list.
724 Common Report Var(flag_sched_stalled_insns)
725 Allow premature scheduling of queued insns
727 fsched-stalled-insns=
728 Common RejectNegative Joined UInteger
729 -fsched-stalled-insns=<number> Set number of queued insns that can be prematurely scheduled
731 ; sched_stalled_insns_dep controls how many recently scheduled cycles will
732 ; be examined for a dependency on a stalled insn that is candidate for
733 ; premature removal from the queue of stalled insns into the ready list (has
734 ; an effect only if the flag 'sched_stalled_insns' is set).
735 fsched-stalled-insns-dep
736 Common Report Var(flag_sched_stalled_insns_dep,1) Init(1)
737 Set dependence distance checking in premature scheduling of queued insns
739 fsched-stalled-insns-dep=
740 Common RejectNegative Joined UInteger
741 -fsched-stalled-insns-dep=<number> Set dependence distance checking in premature scheduling of queued insns
744 Common Report Var(flag_shared_data)
745 Mark data as shared rather than private
748 Common C ObjC C++ ObjC++ Report Var(flag_show_column) Init(1)
749 Show column numbers in diagnostics, when available. Default on.
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 fsplit-ivs-in-unroller
764 Common Report Var(flag_split_ivs_in_unroller) Init(1)
765 Split lifetimes of induction variables when loops are unrolled.
767 fvariable-expansion-in-unroller
768 Common Report Var(flag_variable_expansion_in_unroller)
769 Apply variable expansion when loops are unrolled.
771 ; Emit code to probe the stack, to help detect stack overflow; also
772 ; may cause large objects to be allocated dynamically.
774 Common Report Var(flag_stack_check)
775 Insert stack checking code into the program
780 fstack-limit-register=
781 Common RejectNegative Joined
782 -fstack-limit-register=<register> Trap if the stack goes past <register>
785 Common RejectNegative Joined
786 -fstack-limit-symbol=<name> Trap if the stack goes past symbol <name>
789 Common Report Var(flag_strength_reduce)
790 Perform strength reduction optimizations
792 ; Nonzero if we should do (language-dependent) alias analysis.
793 ; Typically, this analysis will assume that expressions of certain
794 ; types do not alias expressions of certain other types. Only used
795 ; if alias analysis (in general) is enabled.
797 Common Report Var(flag_strict_aliasing)
798 Assume strict aliasing rules apply
801 Common Report Var(flag_syntax_only)
802 Check for syntax errors, then stop
805 Common Report Var(flag_test_coverage)
806 Create data files needed by \"gcov\"
809 Common Report Var(flag_thread_jumps)
810 Perform jump threading optimizations
813 Common Report Var(time_report)
814 Report the time taken by each compiler pass
817 Common Joined RejectNegative
818 -ftls-model=[global-dynamic|local-dynamic|initial-exec|local-exec] Set the default thread-local storage code generation model
821 Common Report Var(flag_tracer)
822 Perform superblock formation via tail duplication
824 ; Zero means that floating-point math operations cannot generate a
825 ; (user-visible) trap. This is the case, for example, in nonstop
826 ; IEEE 754 arithmetic.
828 Common Report Var(flag_trapping_math) Init(1)
829 Assume floating-point operations can trap
832 Common Report Var(flag_trapv)
833 Trap for signed overflow in addition, subtraction and multiplication
835 ftree-based-profiling
836 Common Report Var(flag_tree_based_profiling)
837 Use tree-ssa based implementation of profiling
840 Common Report Var(flag_tree_ccp)
841 Enable SSA-CCP optimization on trees
844 Common Report Var(flag_tree_store_ccp)
845 Enable SSA-CCP optimization for stores and loads
848 Common Report Var(flag_tree_ch)
849 Enable loop header copying on trees
852 Common Report Var(flag_tree_combine_temps)
853 Coalesce memory temporaries in the SSA->normal pass
856 Common Report Var(flag_tree_copyrename)
857 Replace SSA temporaries with better names in copies.
860 Common Report Var(flag_tree_copy_prop)
861 Enable copy propagation on trees
863 ftree-store-copy-prop
864 Common Report Var(flag_tree_store_copy_prop)
865 Enable copy propagation for stores and loads
868 Common Report Var(flag_tree_dce)
869 Enable SSA dead code elimination optimization on trees
872 Common Report Var(flag_tree_dom)
873 Enable dominator optimizations
876 Common Report Var(flag_tree_dse)
877 Enable dead store elimination
880 Common Report Var(flag_tree_fre)
881 Enable Full Redundancy Elimination (FRE) on trees
884 Common Report Var(flag_tree_loop_im) Init(1)
885 Enable loop invariant motion on trees
888 Common Report Var(flag_tree_loop_linear)
889 Enable linear loop transforms on trees
892 Common Report Var(flag_tree_loop_ivcanon) Init(1)
893 Create canonical induction variables in loops
896 Common Report Var(flag_tree_loop_optimize) Init(1)
897 Enable loop optimizations on tree level
900 Common Report Var(flag_tree_pre)
901 Enable SSA-PRE optimization on trees
904 Common Report Var(flag_tree_salias)
905 Perform structural alias analysis
908 Common Report Var(flag_tree_sink)
909 Enable SSA code sinking on trees
912 Common Report Var(flag_tree_sra)
913 Perform scalar replacement of aggregates
916 Common Report Var(flag_tree_ter)
917 Replace temporary expressions in the SSA->normal pass
920 Common Report Var(flag_tree_live_range_split)
921 Perform live range splitting during the SSA->normal pass.
924 Common Report Var(flag_tree_vrp) Init(0)
925 Perform Value Range Propagation on trees
928 Common Report Var(flag_unit_at_a_time)
929 Compile whole compilation unit at a time
932 Common Report Var(flag_unroll_loops)
933 Perform loop unrolling when iteration count is known
936 Common Report Var(flag_unroll_all_loops)
937 Perform loop unrolling for all loops
939 ; Nonzero means that unsafe floating-point math optimizations are allowed
940 ; for the sake of speed. IEEE compliance is not guaranteed, and operations
941 ; are allowed to assume that their arguments and results are "normal"
942 ; (e.g., nonnegative for SQRT).
943 funsafe-math-optimizations
944 Common Report Var(flag_unsafe_math_optimizations)
945 Allow math optimizations that may violate IEEE or ISO standards
948 Common Report Var(flag_unswitch_loops)
949 Perform loop unswitching
952 Common Report Var(flag_unwind_tables)
953 Just generate unwind tables for exception handling
956 Common Report Var(flag_var_tracking) VarExists
957 Perform variable tracking
960 Common Report Var(flag_tree_vectorize)
961 Enable loop vectorization on trees
963 ftree-vectorizer-verbose=
964 Common RejectNegative Joined
965 -ftree-vectorizer-verbose=<number> Set the verbosity level of the vectorizer
967 ; -fverbose-asm causes extra commentary information to be produced in
968 ; the generated assembly code (to make it more readable). This option
969 ; is generally only of use to those who actually need to read the
970 ; generated assembly code (perhaps while debugging the compiler itself).
971 ; -fno-verbose-asm, the default, causes the extra information
972 ; to not be added and is useful when comparing two assembler files.
974 Common Report Var(flag_verbose_asm)
975 Add extra commentary to assembler output
978 Common Joined RejectNegative
979 -fvisibility=[default|internal|hidden|protected] Set the default symbol visibility
983 Common Report Var(flag_value_profile_transformations)
984 Use expression value profiles in optimizations
987 Common Report Var(flag_web) Init(0)
988 Construct webs and split unrelated uses of single variable
991 Common Report Var(flag_wrapv)
992 Assume signed arithmetic overflow wraps around
994 fzero-initialized-in-bss
995 Common Report Var(flag_zero_initialized_in_bss) Init(1)
996 Put zero initialized data in the bss section
999 Common JoinedOrMissing
1000 Generate debug information in default format
1003 Common JoinedOrMissing
1004 Generate debug information in COFF format
1007 Common JoinedOrMissing
1008 Generate debug information in DWARF v2 format
1011 Common JoinedOrMissing
1012 Generate debug information in default extended format
1015 Common JoinedOrMissing
1016 Generate debug information in STABS format
1019 Common JoinedOrMissing
1020 Generate debug information in extended STABS format
1023 Common JoinedOrMissing
1024 Generate debug information in VMS format
1027 Common JoinedOrMissing
1028 Generate debug information in XCOFF format
1031 Common JoinedOrMissing
1032 Generate debug information in extended XCOFF format
1035 Common Joined Separate
1036 -o <file> Place output into <file>
1039 Common Var(profile_flag)
1040 Enable function profiling
1043 Common Var(pedantic)
1044 Issue warnings needed for strict compliance to the standard
1048 Like -pedantic but issue them as errors
1051 Common Var(quiet_flag)
1052 Do not display functions compiled or elapsed time
1055 Common Var(version_flag)
1056 Display the compiler's version
1059 Common Var(inhibit_warnings)
1062 ; This comment is to ensure we retain the blank line above.