1 ; Options for the language- and target-independent parts of the compiler.
3 ; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
4 ; Free Software Foundation, Inc.
6 ; This file is part of GCC.
8 ; GCC is free software; you can redistribute it and/or modify it under
9 ; the terms of the GNU General Public License as published by the Free
10 ; Software Foundation; either version 3, or (at your option) any later
13 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
14 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 ; You should have received a copy of the GNU General Public License
19 ; along with GCC; see the file COPYING3. If not see
20 ; <http://www.gnu.org/licenses/>.
22 ; See the GCC internals manual (options.texi) for a description of this file's format.
24 ; Please try to keep this file in ASCII collating order.
39 Driver Alias(coverage)
45 Common Separate Alias(d)
48 Common Joined Alias(d)
51 Common Separate Alias(dumpbase)
54 Common Separate Alias(dumpdir)
57 Driver Separate Alias(e)
60 Driver Joined Alias(e)
63 Common Warning Alias(Wextra)
66 Driver Separate Alias(Xassembler)
69 Driver JoinedOrMissing Alias(Xassembler)
72 Driver Separate Alias(Xlinker)
75 Driver JoinedOrMissing Alias(Xlinker)
78 Driver Separate Alias(u)
81 Driver Joined Alias(u)
84 Common Driver Var(help_flag)
85 Display this information
88 Common Driver Report Joined
89 --help=<class> Display descriptions of a specific class of options. <class> is one or more of optimizers, target, warnings, undocumented, params
92 Driver Separate Alias(x)
95 Driver Joined Alias(x)
98 Driver Separate Alias(L)
101 Driver Joined Alias(L)
103 -no-canonical-prefixes
104 Driver Alias(no-canonical-prefixes)
106 -no-standard-libraries
107 Driver Alias(nostdlib)
116 Common Driver Separate Alias(o) MissingArgError(missing filename after %qs)
119 Common Driver Joined Alias(o) MissingArgError(missing filename after %qs)
122 Driver Alias(pass-exit-codes)
125 Common Alias(pedantic)
128 Common Alias(pedantic-errors)
137 Driver Separate Alias(B)
140 Driver JoinedOrMissing Alias(B)
146 Driver Separate Alias(print-file-name=)
149 Driver JoinedOrMissing Alias(print-file-name=)
151 -print-libgcc-file-name
152 Driver Alias(print-libgcc-file-name)
154 -print-multi-directory
155 Driver Alias(print-multi-directory)
158 Driver Alias(print-multi-lib)
160 -print-multi-os-directory
161 Driver Alias(print-multi-os-directory)
164 Driver Separate Alias(print-prog-name=)
167 Driver JoinedOrMissing Alias(print-prog-name=)
170 Driver Alias(print-search-dirs)
173 Driver Alias(print-sysroot)
175 -print-sysroot-headers-suffix
176 Driver Alias(print-sysroot-headers-suffix)
182 Driver Alias(save-temps)
188 Driver Separate Alias(specs=)
191 Driver Joined Alias(specs=)
197 Driver Alias(symbolic)
201 Alias for --help=target
209 ;; The driver used to convert options such as --help into forms such
210 ;; as -fhelp; the following four entries are for compatibility with
211 ;; any direct uses of those (undocumented) -f forms
213 Common Driver Alias(-help)
216 Common Driver Joined Alias(-help=)
219 Common Driver Alias(-target-help)
222 Common Driver Alias(-version)
226 --param <param>=<value> Set parameter <param> to value. See below for a complete list of parameters
229 Common Joined Alias(-param)
232 Driver Separate Alias(-sysroot=)
235 Driver JoinedOrMissing
241 Driver Joined Separate
247 Driver Joined Separate
250 Common JoinedOrMissing Optimization
251 -O<number> Set optimization level to <number>
255 Optimize for space rather than speed
259 Optimize for speed disregarding exact standards compliance
265 Common RejectNegative Warning Alias(Wextra)
266 This switch is deprecated; use -Wextra instead
269 Driver JoinedOrMissing
272 Driver JoinedOrMissing
275 Driver JoinedOrMissing
278 Common Var(warn_aggregate_return) Warning
279 Warn about returning structures, unions or arrays
282 Common Var(warn_array_bounds) Warning
283 Warn if an array is accessed out of bounds
286 Common Var(warn_attributes) Init(1) Warning
287 Warn about inappropriate attribute usage
290 Common Var(warn_cast_align) Warning
291 Warn about pointer casts which increase alignment
294 Common Var(warn_cpp) Init(1) Warning
295 Warn when a #warning directive is encountered
297 Wdeprecated-declarations
298 Common Var(warn_deprecated_decl) Init(1) Warning
299 Warn about uses of __attribute__((deprecated)) declarations
301 Wdisabled-optimization
302 Common Var(warn_disabled_optimization) Warning
303 Warn when an optimization pass is disabled
306 Common Var(warnings_are_errors)
307 Treat all warnings as errors
311 Treat specified warning as error
314 Common Var(extra_warnings) Warning
315 Print extra (possibly unwanted) warnings
318 Common Var(flag_fatal_errors)
319 Exit on the first error occurred
322 Common RejectNegative Joined UInteger
323 -Wframe-larger-than=<number> Warn if a function's stack frame requires more than <number> bytes
326 Common Var(warn_inline) Warning
327 Warn when an inlined function cannot be inlined
330 Common RejectNegative Joined Warning Undocumented Alias(Wlarger-than=)
333 Common RejectNegative Joined UInteger Warning
334 -Wlarger-than=<number> Warn if an object is larger than <number> bytes
336 Wunsafe-loop-optimizations
337 Common Var(warn_unsafe_loop_optimizations) Warning
338 Warn if the loop cannot be optimized due to nontrivial assumptions.
341 Common Var(warn_missing_noreturn) Warning
342 Warn about functions which might be candidates for __attribute__((noreturn))
345 Common Var(warn_mudflap) Init(1) Warning
346 Warn about constructs not instrumented by -fmudflap
349 Common Var(warn_overflow) Init(1) Warning
350 Warn about overflow in arithmetic expressions
353 Common Var(warn_packed) Warning
354 Warn when the packed attribute has no effect on struct layout
357 Common Var(warn_padded) Warning
358 Warn when padding is required to align structure members
361 Common Var(warn_shadow) Warning
362 Warn when one local variable shadows another
365 Common Var(warn_stack_protect) Warning
366 Warn when not issuing stack smashing protection for some reason
370 Warn about code which might break strict aliasing rules
373 Common Joined RejectNegative UInteger Var(warn_strict_aliasing) Init(-1) Warning
374 Warn about code which might break strict aliasing rules
378 Warn about optimizations that assume that signed overflow is undefined
381 Common Joined RejectNegative UInteger Var(warn_strict_overflow) Init(-1) Warning
382 Warn about optimizations that assume that signed overflow is undefined
384 Wsuggest-attribute=const
385 Common Var(warn_suggest_attribute_const) Warning
386 Warn about functions which might be candidates for __attribute__((const))
388 Wsuggest-attribute=pure
389 Common Var(warn_suggest_attribute_pure) Warning
390 Warn about functions which might be candidates for __attribute__((pure))
392 Wsuggest-attribute=noreturn
393 Common Var(warn_suggest_attribute_noreturn) Warning
394 Warn about functions which might be candidates for __attribute__((noreturn))
397 Common Var(warn_switch) Warning
398 Warn about enumerated switches, with no default, missing a case
401 Common Var(warn_switch_default) Warning
402 Warn about enumerated switches missing a \"default:\" statement
405 Common Var(warn_switch_enum) Warning
406 Warn about all enumerated switches missing a specific case
409 Common Var(warn_system_headers) Warning
410 Do not suppress warnings from system headers
413 Common Var(warn_trampolines) Warning
414 Warn whenever a trampoline is generated
417 Common Var(warn_type_limits) Init(-1) Warning
418 Warn if a comparison is always true or always false due to the limited range of the data type
421 Common Var(warn_uninitialized) Init(-1) Warning
422 Warn about uninitialized automatic variables
426 Does nothing. Preserved for backward compatibility.
429 Common Var(warn_unused) Init(0) Warning
430 Enable all -Wunused- warnings
432 Wunused-but-set-parameter
433 Common Var(warn_unused_but_set_parameter) Init(-1) Warning
434 Warn when a function parameter is only set, otherwise unused
436 Wunused-but-set-variable
437 Common Var(warn_unused_but_set_variable) Init(-1) Warning
438 Warn when a variable is only set, otherwise unused
441 Common Var(warn_unused_function) Init(-1) Warning
442 Warn when a function is unused
445 Common Var(warn_unused_label) Init(-1) Warning
446 Warn when a label is unused
449 Common Var(warn_unused_parameter) Init(-1) Warning
450 Warn when a function parameter is unused
453 Common Var(warn_unused_value) Init(-1) Warning
454 Warn when an expression value is unused
457 Common Var(warn_unused_variable) Init(-1) Warning
458 Warn when a variable is unused
461 Common Var(warn_coverage_mismatch) Init(1) Warning
462 Warn in case profiles in -fprofile-use do not match
475 -aux-info <file> Emit declaration information into <file>
478 Common Joined Alias(aux-info)
481 Common Separate RejectDriver
484 Common Separate RejectDriver
494 -d<letters> Enable dumps from specific passes of the compiler
498 -dumpbase <file> Set the file basename to be used for dumps
502 -dumpdir <dir> Set the directory name to be used for dumps
514 Driver Joined Separate
516 ; The version of the C++ ABI in use. The following values are allowed:
518 ; 0: The version of the ABI believed most conformant with the C++ ABI
519 ; specification. This ABI may change as bugs are discovered and fixed.
520 ; Therefore, 0 will not necessarily indicate the same ABI in different
523 ; 1: The version of the ABI first used in G++ 3.2.
525 ; 2: The version of the ABI first used in G++ 3.4 (and current default).
527 ; 3: The version of the ABI that fixes the missing underscore
528 ; in template non-type arguments of pointer type.
530 ; 4: The version of the ABI that introduces unambiguous mangling of
533 ; Additional positive integers will be assigned as new versions of
534 ; the ABI become the default version of the ABI.
536 Common Joined RejectNegative UInteger Var(flag_abi_version) Init(2)
539 Common Report Var(align_functions,0) Optimization UInteger
540 Align the start of functions
543 Common RejectNegative Joined UInteger
546 Common Report Var(align_jumps,0) Optimization UInteger
547 Align labels which are only reached by jumping
550 Common RejectNegative Joined UInteger
553 Common Report Var(align_labels,0) Optimization UInteger
557 Common RejectNegative Joined UInteger
560 Common Report Var(align_loops) Optimization UInteger
561 Align the start of loops
564 Common RejectNegative Joined UInteger
568 Does nothing. Preserved for backward compatibility.
572 Does nothing. Preserved for backward compatibility.
574 fargument-noalias-global
576 Does nothing. Preserved for backward compatibility.
578 fargument-noalias-anything
580 Does nothing. Preserved for backward compatibility.
582 fasynchronous-unwind-tables
583 Common Report Var(flag_asynchronous_unwind_tables) Optimization
584 Generate unwind tables that are exact at each instruction boundary
587 Common Report Var(flag_auto_inc_dec) Init(1)
588 Generate auto-inc/dec instructions
590 ; -fcheck-bounds causes gcc to generate array bounds checks.
591 ; For C, C++ and ObjC: defaults off.
592 ; For Java: defaults to on.
593 ; For Fortran: defaults to off.
595 Common Report Var(flag_bounds_check)
596 Generate code to check bounds before indexing arrays
599 Common Report Var(flag_branch_on_count_reg) Init(1) Optimization
600 Replace add, compare, branch with branch on count register
602 fbranch-probabilities
603 Common Report Var(flag_branch_probabilities) Optimization
604 Use profiling information for branch probabilities
606 fbranch-target-load-optimize
607 Common Report Var(flag_branch_target_load_optimize) Optimization
608 Perform branch target load optimization before prologue / epilogue threading
610 fbranch-target-load-optimize2
611 Common Report Var(flag_branch_target_load_optimize2) Optimization
612 Perform branch target load optimization after prologue / epilogue threading
615 Common Report Var(flag_btr_bb_exclusive) Optimization
616 Restrict target load migration not to re-use registers in any basic block
619 Common Joined RejectNegative
620 -fcall-saved-<register> Mark <register> as being preserved across functions
623 Common Joined RejectNegative
624 -fcall-used-<register> Mark <register> as being corrupted by function calls
626 ; Nonzero for -fcaller-saves: allocate values in regs that need to
627 ; be saved across function calls, if that produces overall better code.
628 ; Optional now, so people can test it.
630 Common Report Var(flag_caller_saves) Optimization
631 Save registers around function calls
634 Common Report Var(flag_check_data_deps)
635 Compare the results of several data dependence analyzers.
638 Common Report Var(flag_no_common,0) Optimization
639 Do not put uninitialized globals in the common section
643 ; Converted by the driver to -fcompare-debug= options.
646 Common Driver JoinedOrMissing RejectNegative Var(flag_compare_debug_opt)
647 -fcompare-debug[=<opts>] Compile with and without e.g. -gtoggle, and compare the final-insns dump
649 fcompare-debug-second
650 Common Driver RejectNegative
651 Run only the second compilation of -fcompare-debug
654 Common Var(flag_conserve_stack) Optimization
655 Do not perform optimizations increasing noticeably stack usage
658 Common Report Var(flag_cprop_registers) Optimization
659 Perform a register copy-propagation optimization pass
662 Common Report Var(flag_crossjumping) Optimization
663 Perform cross-jumping optimization
666 Common Report Var(flag_cse_follow_jumps) Optimization
667 When running CSE, follow jumps to their targets
671 Does nothing. Preserved for backward compatibility.
674 Common Report Var(flag_cx_limited_range) Optimization
675 Omit range reduction step when performing complex division
678 Common Report Var(flag_cx_fortran_rules) Optimization
679 Complex multiplication and division follow Fortran rules
682 Common Report Var(flag_data_sections) Optimization
683 Place data items into their own section
687 List all available debugging counters with their limits and counts.
690 Common RejectNegative Joined
691 -fdbg-cnt=<counter>:<limit>[,<counter>:<limit>,...] Set the debug counter limit.
694 Common Joined RejectNegative
695 Map one directory name to another in debug information
697 ; Nonzero for -fdefer-pop: don't pop args after each function call
698 ; instead save them up to pop many calls' args with one insns.
700 Common Report Var(flag_defer_pop) Optimization
701 Defer popping functions args from stack until later
704 Common Report Var(flag_delayed_branch) Optimization
705 Attempt to fill delay slots of branch instructions
707 fdelete-null-pointer-checks
708 Common Report Var(flag_delete_null_pointer_checks) Init(1) Optimization
709 Delete useless null pointer checks
711 fdiagnostics-show-location=
712 Common Joined RejectNegative
713 -fdiagnostics-show-location=[once|every-line] How often to emit source location at the beginning of line-wrapped diagnostics
715 fdiagnostics-show-option
716 Common Var(flag_diagnostics_show_option) Init(1)
717 Amend appropriate diagnostic messages with the command line option that controls them
720 Common Joined RejectNegative
721 -fdump-<type> Dump various compiler internals to a file
724 Driver RejectNegative
727 Common RejectNegative Joined Var(flag_dump_final_insns)
728 -fdump-final-insns=filename Dump to filename the insns at the end of translation
731 Common Report Var(flag_dump_noaddr)
732 Suppress output of addresses in debugging dumps
735 Common Report Var(flag_dump_unnumbered)
736 Suppress output of instruction numbers, line number notes and addresses in debugging dumps
738 fdump-unnumbered-links
739 Common Report Var(flag_dump_unnumbered_links)
740 Suppress output of previous and next insn numbers in debugging dumps
743 Common Report Var(flag_dwarf2_cfi_asm) Init(HAVE_GAS_CFI_DIRECTIVE)
744 Enable CFI tables via GAS assembler directives.
747 Common Report Var(flag_early_inlining) Init(1) Optimization
748 Perform early inlining
750 feliminate-dwarf2-dups
751 Common Report Var(flag_eliminate_dwarf2_dups)
752 Perform DWARF2 duplicate elimination
755 Common Report Var(flag_ipa_sra) Init(0) Optimization
756 Perform interprocedural reduction of aggregates
758 feliminate-unused-debug-symbols
759 Common Report Var(flag_debug_only_used_symbols)
760 Perform unused type elimination in debug info
762 feliminate-unused-debug-types
763 Common Report Var(flag_eliminate_unused_debug_types) Init(1)
764 Perform unused type elimination in debug info
766 femit-class-debug-always
767 Common Report Var(flag_emit_class_debug_always) Init(0)
768 Do not suppress C++ class debug information.
771 Common Report Var(flag_enable_icf_debug)
772 Generate debug information to support Identical Code Folding (ICF)
775 Common Report Var(flag_exceptions) Optimization
776 Enable exception handling
778 fexpensive-optimizations
779 Common Report Var(flag_expensive_optimizations) Optimization
780 Perform a number of minor, expensive optimizations
783 Common Joined RejectNegative
784 -fexcess-precision=[fast|standard] Specify handling of excess floating-point precision
790 Common Report Var(flag_finite_math_only) Optimization
791 Assume no NaNs or infinities are generated
794 Common Joined RejectNegative
795 -ffixed-<register> Mark <register> as being unavailable to the compiler
798 Common Report Var(flag_float_store) Optimization
799 Don't allocate floats and doubles in extended-precision registers
803 Does nothing. Preserved for backward compatibility.
806 Common Report Var(flag_forward_propagate) Optimization
807 Perform a forward propagation pass on RTL
809 ; Nonzero means don't put addresses of constant functions in registers.
810 ; Used for compiling the Unix kernel, where strange substitutions are
811 ; done on the assembly output.
813 Common Report Var(flag_no_function_cse,0)
814 Allow function addresses to be held in registers
817 Common Report Var(flag_function_sections)
818 Place each function into its own section
821 Common Report Var(flag_gcse) Optimization
822 Perform global common subexpression elimination
825 Common Report Var(flag_gcse_lm) Init(1) Optimization
826 Perform enhanced load motion during global common subexpression elimination
829 Common Report Var(flag_gcse_sm) Init(0) Optimization
830 Perform store motion after global common subexpression elimination
833 Common Report Var(flag_gcse_las) Init(0) Optimization
834 Perform redundant load after store elimination in global common subexpression
838 Common Report Var(flag_gcse_after_reload) Optimization
839 Perform global common subexpression elimination after register allocation
842 ; This option is not documented yet as its semantics will change.
844 Common Report Var(flag_graphite)
845 Enable in and out of Graphite representation
848 Common Report Var(flag_graphite_identity) Optimization
849 Enable Graphite Identity transformation
851 floop-parallelize-all
852 Common Report Var(flag_loop_parallelize_all) Optimization
853 Mark all loops as parallel
856 Common Report Var(flag_loop_strip_mine) Optimization
857 Enable Loop Strip Mining transformation
860 Common Report Var(flag_loop_interchange) Optimization
861 Enable Loop Interchange transformation
864 Common Report Var(flag_loop_block) Optimization
865 Enable Loop Blocking transformation
867 fstrict-volatile-bitfields
868 Common Report Var(flag_strict_volatile_bitfields) Init(-1)
869 Force bitfield accesses to match their type width
871 fguess-branch-probability
872 Common Report Var(flag_guess_branch_prob) Optimization
873 Enable guessing of branch probabilities
875 ; Nonzero means ignore `#ident' directives. 0 means handle them.
876 ; Generate position-independent code for executables if possible
877 ; On SVR4 targets, it also controls whether or not to emit a
878 ; string identifying the compiler.
880 Common Report Var(flag_no_ident,0)
881 Process #ident directives
884 Common Report Var(flag_if_conversion) Optimization
885 Perform conversion of conditional jumps to branchless equivalents
888 Common Report Var(flag_if_conversion2) Optimization
889 Perform conversion of conditional jumps to conditional execution
891 ftree-loop-if-convert
892 Common Report Var(flag_tree_loop_if_convert) Init(-1) Optimization
893 Convert conditional jumps in innermost loops to branchless equivalents
895 ftree-loop-if-convert-stores
896 Common Report Var(flag_tree_loop_if_convert_stores) Optimization
897 Also if-convert conditional jumps containing memory writes
899 ; -finhibit-size-directive inhibits output of .size for ELF.
900 ; This is used only for compiling crtstuff.c,
901 ; and it may be extended to other effects
902 ; needed for crtstuff.c on other systems.
903 finhibit-size-directive
904 Common Report Var(flag_inhibit_size_directive)
905 Do not generate .size directives
908 Common Report Var(flag_indirect_inlining)
909 Perform indirect inlining
911 ; Nonzero means that functions declared `inline' will be treated
912 ; as `static'. Prevents generation of zillions of copies of unused
913 ; static inline functions; instead, `inlines' are written out
914 ; only when actually used. Used in conjunction with -g. Also
915 ; does the right thing with #pragma interface.
917 Common Report Var(flag_no_inline,0) Init(0)
918 Pay attention to the \"inline\" keyword
920 finline-small-functions
921 Common Report Var(flag_inline_small_functions) Optimization
922 Integrate simple functions into their callers when code size is known to not growth
925 Common Report Var(flag_inline_functions) Optimization
926 Integrate simple functions into their callers
928 finline-functions-called-once
929 Common Report Var(flag_inline_functions_called_once) Init(1) Optimization
930 Integrate functions called once into their callers
933 Common RejectNegative Joined Alias(finline-limit=)
936 Common RejectNegative Joined UInteger
937 -finline-limit=<number> Limit the size of inlined functions to <number>
939 finstrument-functions
940 Common Report Var(flag_instrument_function_entry_exit)
941 Instrument function entry and exit with profiling calls
943 finstrument-functions-exclude-function-list=
944 Common RejectNegative Joined
945 -finstrument-functions-exclude-function-list=name,... Do not instrument listed functions
947 finstrument-functions-exclude-file-list=
948 Common RejectNegative Joined
949 -finstrument-functions-exclude-file-list=filename,... Do not instrument functions listed in files
952 Common Report Var(flag_ipa_cp) Optimization
953 Perform Interprocedural constant propagation
956 Common Report Var(flag_ipa_cp_clone) Optimization
957 Perform cloning to make Interprocedural constant propagation stronger
960 Common Report Var(flag_ipa_profile) Init(0) Optimization
961 Perform interprocedural profile propagation
964 Common Report Var(flag_ipa_pta) Init(0) Optimization
965 Perform interprocedural points-to analysis
968 Common Report Var(flag_ipa_pure_const) Init(0) Optimization
969 Discover pure and const functions
972 Common Report Var(flag_ipa_reference) Init(0) Optimization
973 Discover readonly and non addressable static variables
976 Common Report Var(flag_ipa_matrix_reorg) Optimization
977 Perform matrix layout flattening and transposing based
978 on profiling information.
981 Common Report Var(flag_ipa_struct_reorg)
982 Perform structure layout optimizations based
983 on profiling information.
986 Common Joined RejectNegative
987 -fira-algorithm=[CB|priority] Set the used IRA algorithm
990 Common Joined RejectNegative
991 -fira-region=[one|all|mixed] Set regions for IRA
994 Common Report Var(flag_ira_coalesce) Init(0)
995 Do optimistic coalescing.
998 Common Report Var(flag_ira_loop_pressure)
999 Use IRA based register pressure calculation
1000 in RTL loop optimizations.
1002 fira-share-save-slots
1003 Common Report Var(flag_ira_share_save_slots) Init(1)
1004 Share slots for saving different hard registers.
1006 fira-share-spill-slots
1007 Common Report Var(flag_ira_share_spill_slots) Init(1)
1008 Share stack slots for spilled pseudo-registers.
1011 Common RejectNegative Joined UInteger Var(flag_ira_verbose) Init(5)
1012 -fira-verbose=<number> Control IRA's level of diagnostic messages.
1015 Common Report Var(flag_ivopts) Init(1) Optimization
1016 Optimize induction variables on trees
1019 Common Var(flag_jump_tables) Init(1) Optimization
1020 Use jump tables for sufficiently large switch statements
1022 fkeep-inline-functions
1023 Common Report Var(flag_keep_inline_functions)
1024 Generate code for functions even if they are fully inlined
1027 Common Report Var(flag_keep_static_consts) Init(1)
1028 Emit static const variables even if they are not used
1031 Common Report Var(flag_leading_underscore) Init(-1)
1032 Give external symbols a leading underscore
1036 Does nothing. Preserved for backward compatibility.
1039 Common Var(flag_lto)
1040 Enable link-time optimization.
1042 ; The initial value of -1 comes from Z_DEFAULT_COMPRESSION in zlib.h.
1043 flto-compression-level=
1044 Common Joined RejectNegative UInteger Var(flag_lto_compression_level) Init(-1)
1045 -flto-compression-level=<number> Use zlib compression level <number> for IL
1048 Common Report Var(flag_lto_report) Init(0) Optimization
1049 Report various link-time optimization statistics
1052 Common Report Var(flag_errno_math) Init(1) Optimization
1053 Set errno after built-in math functions
1056 Common Report Var(mem_report)
1057 Report on permanent memory allocation
1059 ; This will attempt to merge constant section constants, if 1 only
1060 ; string constants and constants from constant pool, if 2 also constant
1062 fmerge-all-constants
1063 Common Report Var(flag_merge_constants,2) Init(1) Optimization
1064 Attempt to merge identical constants and constant variables
1067 Common Report Var(flag_merge_constants,1) Optimization
1068 Attempt to merge identical constants across compilation units
1070 fmerge-debug-strings
1071 Common Report Var(flag_merge_debug_strings) Init(1)
1072 Attempt to merge identical debug strings across compilation units
1075 Common RejectNegative Joined UInteger
1076 -fmessage-length=<number> Limit diagnostics to <number> characters per line. 0 suppresses line-wrapping
1079 Common Report Var(flag_modulo_sched) Optimization
1080 Perform SMS based modulo scheduling before the first scheduling pass
1082 fmodulo-sched-allow-regmoves
1083 Common Report Var(flag_modulo_sched_allow_regmoves)
1084 Perform SMS based modulo scheduling with register moves allowed
1086 fmove-loop-invariants
1087 Common Report Var(flag_move_loop_invariants) Init(1) Optimization
1088 Move loop invariant computations out of loops
1091 Common RejectNegative Report Var(flag_mudflap)
1092 Add mudflap bounds-checking instrumentation for single-threaded program
1095 Common RejectNegative Report Var(flag_mudflap,2)
1096 Add mudflap bounds-checking instrumentation for multi-threaded program
1099 Common RejectNegative Report Var(flag_mudflap_ignore_reads)
1100 Ignore read operations when inserting mudflap instrumentation
1103 Common Var(flag_dce) Init(1) Optimization
1104 Use the RTL dead code elimination pass
1107 Common Var(flag_dse) Init(1) Optimization
1108 Use the RTL dead store elimination pass
1110 freschedule-modulo-scheduled-loops
1111 Common Report Var(flag_resched_modulo_sched) Optimization
1112 Enable/Disable the traditional scheduling in loops that already passed modulo scheduling
1114 fnon-call-exceptions
1115 Common Report Var(flag_non_call_exceptions) Optimization
1116 Support synchronous non-call exceptions
1119 Common Report Var(flag_omit_frame_pointer) Optimization
1120 When possible do not generate stack frames
1122 foptimize-register-move
1123 Common Report Var(flag_regmove) Optimization
1124 Do the full register move optimization pass
1126 foptimize-sibling-calls
1127 Common Report Var(flag_optimize_sibling_calls) Optimization
1128 Optimize sibling and tail recursive calls
1131 Common Report Var(flag_partial_inlining)
1132 Perform partial inlining
1135 Common Report Var(pre_ipa_mem_report)
1136 Report on memory allocation before interprocedural optimization
1138 fpost-ipa-mem-report
1139 Common Report Var(post_ipa_mem_report)
1140 Report on memory allocation before interprocedural optimization
1143 Common Report Var(flag_pack_struct) Optimization
1144 Pack structure members together without holes
1147 Common RejectNegative Joined UInteger Optimization
1148 -fpack-struct=<number> Set initial maximum structure member alignment
1151 Common Report Var(flag_pcc_struct_return,1) Init(DEFAULT_PCC_STRUCT_RETURN)
1152 Return small aggregates in memory, not registers
1155 Common Report Var(flag_peel_loops) Optimization
1156 Perform loop peeling
1159 Common Report Var(flag_no_peephole,0) Optimization
1160 Enable machine specific peephole optimizations
1163 Common Report Var(flag_peephole2) Optimization
1164 Enable an RTL peephole pass before sched2
1167 Common Report Var(flag_pic,2)
1168 Generate position-independent code if possible (large mode)
1171 Common Report Var(flag_pie,2)
1172 Generate position-independent code for executables if possible (large mode)
1175 Common Report Var(flag_pic,1)
1176 Generate position-independent code if possible (small mode)
1179 Common Report Var(flag_pie,1)
1180 Generate position-independent code for executables if possible (small mode)
1183 Common Joined RejectNegative
1184 Specify a plugin to load
1187 Common Joined RejectNegative
1188 -fplugin-arg-<name>-<key>[=<value>] Specify argument <key>=<value> for plugin <name>
1190 fpredictive-commoning
1191 Common Report Var(flag_predictive_commoning) Optimization
1192 Run predictive commoning optimization.
1194 fprefetch-loop-arrays
1195 Common Report Var(flag_prefetch_loop_arrays) Init(-1) Optimization
1196 Generate prefetch instructions, if available, for arrays in loops
1199 Common Report Var(profile_flag)
1200 Enable basic program profiling code
1203 Common Report Var(profile_arc_flag)
1204 Insert arc-based program profiling code
1207 Common Joined RejectNegative
1208 Set the top-level directory for storing the profile data.
1209 The default is 'pwd'.
1212 Common Report Var(flag_profile_correction)
1213 Enable correction of flow inconsistent profile data input
1217 Enable common options for generating profile info for profile feedback directed optimizations
1220 Common Joined RejectNegative
1221 Enable common options for generating profile info for profile feedback directed optimizations, and set -fprofile-dir=
1224 Common Var(flag_profile_use)
1225 Enable common options for performing profile feedback directed optimizations
1228 Common Joined RejectNegative
1229 Enable common options for performing profile feedback directed optimizations, and set -fprofile-dir=
1232 Common Report Var(flag_profile_values)
1233 Insert code to profile values of expressions
1239 Common Joined RejectNegative
1240 -frandom-seed=<string> Make compile reproducible using <string>
1242 ; This switch causes the command line that was used to create an
1243 ; object file to be recorded into the object file. The exact format
1244 ; of this recording is target and binary file format dependent.
1245 ; It is related to the -fverbose-asm switch, but that switch only
1246 ; records information in the assembler output file as comments, so
1247 ; they never reach the object file.
1248 frecord-gcc-switches
1249 Common Report Var(flag_record_gcc_switches)
1250 Record gcc command line switches in the object file.
1253 Common Report Var(flag_pcc_struct_return,0) Optimization
1254 Return small aggregates in registers
1257 Common Report Var(flag_regmove) Optimization
1258 Enables a register move optimization
1261 Common Report Var(flag_rename_registers) Init(2) Optimization
1262 Perform a register renaming optimization pass
1265 Common Report Var(flag_reorder_blocks) Optimization
1266 Reorder basic blocks to improve code placement
1268 freorder-blocks-and-partition
1269 Common Report Var(flag_reorder_blocks_and_partition) Optimization
1270 Reorder basic blocks and partition into hot and cold sections
1273 Common Report Var(flag_reorder_functions) Optimization
1274 Reorder functions to improve code placement
1276 frerun-cse-after-loop
1277 Common Report Var(flag_rerun_cse_after_loop) Init(2) Optimization
1278 Add a common subexpression elimination pass after loop optimizations
1282 Does nothing. Preserved for backward compatibility.
1285 Common Report Var(flag_rounding_math) Optimization
1286 Disable optimizations that assume default FP rounding behavior
1289 Common Report Var(flag_schedule_interblock) Init(1) Optimization
1290 Enable scheduling across basic blocks
1293 Common Report Var(flag_sched_pressure) Init(0) Optimization
1294 Enable register pressure sensitive insn scheduling
1297 Common Report Var(flag_schedule_speculative) Init(1) Optimization
1298 Allow speculative motion of non-loads
1301 Common Report Var(flag_schedule_speculative_load) Optimization
1302 Allow speculative motion of some loads
1304 fsched-spec-load-dangerous
1305 Common Report Var(flag_schedule_speculative_load_dangerous) Optimization
1306 Allow speculative motion of more loads
1309 Common RejectNegative Joined
1310 -fsched-verbose=<number> Set the verbosity level of the scheduler
1312 fsched2-use-superblocks
1313 Common Report Var(flag_sched2_use_superblocks) Optimization
1314 If scheduling post reload, do superblock scheduling
1318 Does nothing. Preserved for backward compatibility.
1321 Common Report Var(flag_schedule_insns) Optimization
1322 Reschedule instructions before register allocation
1325 Common Report Var(flag_schedule_insns_after_reload) Optimization
1326 Reschedule instructions after register allocation
1328 ; This flag should be on when a target implements non-trivial
1329 ; scheduling hooks, maybe saving some information for its own sake.
1330 ; On IA64, for example, this is used for correct bundling.
1331 fselective-scheduling
1332 Common Report Var(flag_selective_scheduling) Optimization
1333 Schedule instructions using selective scheduling algorithm
1335 fselective-scheduling2
1336 Common Report Var(flag_selective_scheduling2) Optimization
1337 Run selective scheduling after reload
1339 fsel-sched-pipelining
1340 Common Report Var(flag_sel_sched_pipelining) Init(0) Optimization
1341 Perform software pipelining of inner loops during selective scheduling
1343 fsel-sched-pipelining-outer-loops
1344 Common Report Var(flag_sel_sched_pipelining_outer_loops) Init(0) Optimization
1345 Perform software pipelining of outer loops during selective scheduling
1347 fsel-sched-reschedule-pipelined
1348 Common Report Var(flag_sel_sched_reschedule_pipelined) Init(0) Optimization
1349 Reschedule pipelined regions without pipelining
1351 ; sched_stalled_insns means that insns can be moved prematurely from the queue
1352 ; of stalled insns into the ready list.
1353 fsched-stalled-insns
1354 Common Report Var(flag_sched_stalled_insns) Optimization UInteger
1355 Allow premature scheduling of queued insns
1357 fsched-stalled-insns=
1358 Common RejectNegative Joined UInteger
1359 -fsched-stalled-insns=<number> Set number of queued insns that can be prematurely scheduled
1361 ; sched_stalled_insns_dep controls how many recently scheduled cycles will
1362 ; be examined for a dependency on a stalled insn that is candidate for
1363 ; premature removal from the queue of stalled insns into the ready list (has
1364 ; an effect only if the flag 'sched_stalled_insns' is set).
1365 fsched-stalled-insns-dep
1366 Common Report Var(flag_sched_stalled_insns_dep,1) Init(1) Optimization UInteger
1367 Set dependence distance checking in premature scheduling of queued insns
1369 fsched-stalled-insns-dep=
1370 Common RejectNegative Joined UInteger
1371 -fsched-stalled-insns-dep=<number> Set dependence distance checking in premature scheduling of queued insns
1373 fsched-group-heuristic
1374 Common Report Var(flag_sched_group_heuristic) Init(1) Optimization
1375 Enable the group heuristic in the scheduler
1377 fsched-critical-path-heuristic
1378 Common Report Var(flag_sched_critical_path_heuristic) Init(1) Optimization
1379 Enable the critical path heuristic in the scheduler
1381 fsched-spec-insn-heuristic
1382 Common Report Var(flag_sched_spec_insn_heuristic) Init(1) Optimization
1383 Enable the speculative instruction heuristic in the scheduler
1385 fsched-rank-heuristic
1386 Common Report Var(flag_sched_rank_heuristic) Init(1) Optimization
1387 Enable the rank heuristic in the scheduler
1389 fsched-last-insn-heuristic
1390 Common Report Var(flag_sched_last_insn_heuristic) Init(1) Optimization
1391 Enable the last instruction heuristic in the scheduler
1393 fsched-dep-count-heuristic
1394 Common Report Var(flag_sched_dep_count_heuristic) Init(1) Optimization
1395 Enable the dependent count heuristic in the scheduler
1398 Common Report Var(flag_section_anchors) Optimization
1399 Access data in the same section from shared anchor points
1403 Does nothing. Preserved for backward compatibility.
1406 Common Report Var(flag_zee) Init(0)
1407 Eliminate redundant zero extensions on targets that support implicit extensions.
1410 Common Report Var(flag_show_column) Init(1)
1411 Show column numbers in diagnostics, when available. Default on
1414 Common Report Var(flag_signaling_nans) Optimization
1415 Disable optimizations observable by IEEE signaling NaNs
1418 Common Report Var(flag_signed_zeros) Init(1) Optimization
1419 Disable floating point optimizations that ignore the IEEE signedness of zero
1421 fsingle-precision-constant
1422 Common Report Var(flag_single_precision_constant) Optimization
1423 Convert floating point constants to single precision constants
1425 fsplit-ivs-in-unroller
1426 Common Report Var(flag_split_ivs_in_unroller) Init(1) Optimization
1427 Split lifetimes of induction variables when loops are unrolled
1430 Common Report Var(flag_split_stack) Init(-1)
1431 Generate discontiguous stack frames
1434 Common Report Var(flag_split_wide_types) Optimization
1435 Split wide types into independent registers
1437 fvariable-expansion-in-unroller
1438 Common Report Var(flag_variable_expansion_in_unroller) Optimization
1439 Apply variable expansion when loops are unrolled
1442 Common Report RejectNegative Joined
1443 -fstack-check=[no|generic|specific] Insert stack checking code into the program
1446 Common Alias(fstack-check=, specific, no)
1447 Insert stack checking code into the program. Same as -fstack-check=specific
1452 fstack-limit-register=
1453 Common RejectNegative Joined
1454 -fstack-limit-register=<register> Trap if the stack goes past <register>
1456 fstack-limit-symbol=
1457 Common RejectNegative Joined
1458 -fstack-limit-symbol=<name> Trap if the stack goes past symbol <name>
1461 Common Report Var(flag_stack_protect, 1)
1462 Use propolice as a stack protection method
1464 fstack-protector-all
1465 Common Report RejectNegative Var(flag_stack_protect, 2)
1466 Use a stack protection method for every function
1469 Common RejectNegative Var(flag_stack_usage)
1470 Output stack usage information on a per-function basis
1474 Does nothing. Preserved for backward compatibility.
1476 ; Nonzero if we should do (language-dependent) alias analysis.
1477 ; Typically, this analysis will assume that expressions of certain
1478 ; types do not alias expressions of certain other types. Only used
1479 ; if alias analysis (in general) is enabled.
1481 Common Report Var(flag_strict_aliasing) Optimization
1482 Assume strict aliasing rules apply
1485 Common Report Var(flag_strict_overflow)
1486 Treat signed overflow as undefined
1489 Common Report Var(flag_syntax_only)
1490 Check for syntax errors, then stop
1493 Common Report Var(flag_test_coverage)
1494 Create data files needed by \"gcov\"
1497 Common Report Var(flag_thread_jumps) Optimization
1498 Perform jump threading optimizations
1501 Common Report Var(time_report)
1502 Report the time taken by each compiler pass
1505 Common Joined RejectNegative
1506 -ftls-model=[global-dynamic|local-dynamic|initial-exec|local-exec] Set the default thread-local storage code generation model
1509 Common Report Var(flag_toplevel_reorder) Init(2) Optimization
1510 Reorder top level functions, variables, and asms
1513 Common Report Var(flag_tracer)
1514 Perform superblock formation via tail duplication
1516 ; Zero means that floating-point math operations cannot generate a
1517 ; (user-visible) trap. This is the case, for example, in nonstop
1518 ; IEEE 754 arithmetic.
1520 Common Report Var(flag_trapping_math) Init(1) Optimization
1521 Assume floating-point operations can trap
1524 Common Report Var(flag_trapv) Optimization
1525 Trap for signed overflow in addition, subtraction and multiplication
1528 Common Report Var(flag_tree_ccp) Optimization
1529 Enable SSA-CCP optimization on trees
1532 Common Report Var(flag_tree_bit_ccp) Optimization
1533 Enable SSA-BIT-CCP optimization on trees
1537 Does nothing. Preserved for backward compatibility.
1540 Common Report Var(flag_tree_ch) Optimization
1541 Enable loop header copying on trees
1544 Common Report Var(flag_tree_copyrename) Optimization
1545 Replace SSA temporaries with better names in copies
1548 Common Report Var(flag_tree_copy_prop) Optimization
1549 Enable copy propagation on trees
1551 ftree-store-copy-prop
1553 Does nothing. Preserved for backward compatibility.
1556 Common Report Var(flag_tree_cselim) Init(2) Optimization
1557 Transform condition stores into unconditional ones
1559 ftree-switch-conversion
1560 Common Report Var(flag_tree_switch_conversion) Optimization
1561 Perform conversions of switch initializations.
1564 Common Report Var(flag_tree_dce) Optimization
1565 Enable SSA dead code elimination optimization on trees
1567 ftree-dominator-opts
1568 Common Report Var(flag_tree_dom) Optimization
1569 Enable dominator optimizations
1572 Common Report Var(flag_tree_dse) Optimization
1573 Enable dead store elimination
1576 Common Report Var(flag_tree_forwprop) Init(1) Optimization
1577 Enable forward propagation on trees
1580 Common Report Var(flag_tree_fre) Optimization
1581 Enable Full Redundancy Elimination (FRE) on trees
1583 ftree-loop-distribution
1584 Common Report Var(flag_tree_loop_distribution) Optimization
1585 Enable loop distribution on trees
1587 ftree-loop-distribute-patterns
1588 Common Report Var(flag_tree_loop_distribute_patterns) Optimization
1589 Enable loop distribution for patterns transformed into a library call
1592 Common Report Var(flag_tree_loop_im) Init(1) Optimization
1593 Enable loop invariant motion on trees
1596 Common Report Var(flag_tree_loop_linear) Optimization
1597 Enable linear loop transforms on trees
1600 Common Report Var(flag_tree_loop_ivcanon) Init(1) Optimization
1601 Create canonical induction variables in loops
1604 Common Report Var(flag_tree_loop_optimize) Init(1) Optimization
1605 Enable loop optimizations on tree level
1607 ftree-parallelize-loops=
1608 Common Report Joined RejectNegative UInteger Var(flag_tree_parallelize_loops) Init(1)
1609 Enable automatic parallelization of loops
1612 Common Report Var(flag_tree_phiprop) Init(1) Optimization
1613 Enable hoisting loads from conditional pointers.
1616 Common Report Var(flag_tree_pre) Optimization
1617 Enable SSA-PRE optimization on trees
1620 Common Report Var(flag_tree_pta) Init(1) Optimization
1621 Perform function-local points-to analysis on trees.
1624 Common Report Var(flag_tree_reassoc) Init(1) Optimization
1625 Enable reassociation on tree level
1629 Does nothing. Preserved for backward compatibility.
1632 Common Report Var(flag_tree_sink) Optimization
1633 Enable SSA code sinking on trees
1636 Common Report Var(flag_tree_sra) Optimization
1637 Perform scalar replacement of aggregates
1640 Common Report Var(flag_tree_ter) Init(1) Optimization
1641 Replace temporary expressions in the SSA->normal pass
1644 Common Report Var(flag_tree_live_range_split) Optimization
1645 Perform live range splitting during the SSA->normal pass
1648 Common Report Var(flag_tree_vrp) Init(0) Optimization
1649 Perform Value Range Propagation on trees
1652 Common Report Var(flag_unit_at_a_time) Init(1) Optimization
1653 Compile whole compilation unit at a time
1656 Common Report Var(flag_unroll_loops) Optimization
1657 Perform loop unrolling when iteration count is known
1660 Common Report Var(flag_unroll_all_loops) Optimization
1661 Perform loop unrolling for all loops
1663 ; Nonzero means that loop optimizer may assume that the induction variables
1664 ; that control loops do not overflow and that the loops with nontrivial
1665 ; exit condition are not infinite
1666 funsafe-loop-optimizations
1667 Common Report Var(flag_unsafe_loop_optimizations) Optimization
1668 Allow loop optimizations to assume that the loops behave in normal way
1671 Common Report Var(flag_associative_math)
1672 Allow optimization for floating-point arithmetic which may change the
1673 result of the operation due to rounding.
1676 Common Report Var(flag_reciprocal_math)
1677 Same as -fassociative-math for expressions which include division.
1679 ; Nonzero means that unsafe floating-point math optimizations are allowed
1680 ; for the sake of speed. IEEE compliance is not guaranteed, and operations
1681 ; are allowed to assume that their arguments and results are "normal"
1682 ; (e.g., nonnegative for SQRT).
1683 funsafe-math-optimizations
1684 Common Report Var(flag_unsafe_math_optimizations) Optimization
1685 Allow math optimizations that may violate IEEE or ISO standards
1688 Common Report Var(flag_unswitch_loops) Optimization
1689 Perform loop unswitching
1692 Common Report Var(flag_unwind_tables) Optimization
1693 Just generate unwind tables for exception handling
1698 ; Positive if we should track variables, negative if we should run
1699 ; the var-tracking pass only to discard debug annotations, zero if
1700 ; we're not to run it. When flag_var_tracking == 2 (AUTODETECT_VALUE) it
1701 ; will be set according to optimize, debug_info_level and debug_hooks
1702 ; in process_options ().
1704 Common Report Var(flag_var_tracking) Init(2) Optimization
1705 Perform variable tracking
1707 ; Positive if we should track variables at assignments, negative if
1708 ; we should run the var-tracking pass only to discard debug
1709 ; annotations. When flag_var_tracking_assignments ==
1710 ; AUTODETECT_VALUE it will be set according to flag_var_tracking.
1711 fvar-tracking-assignments
1712 Common Report Var(flag_var_tracking_assignments) Init(2) Optimization
1713 Perform variable tracking by annotating assignments
1715 ; Nonzero if we should toggle flag_var_tracking_assignments after
1716 ; processing options and computing its default. */
1717 fvar-tracking-assignments-toggle
1718 Common Report Var(flag_var_tracking_assignments_toggle) Optimization
1719 Toggle -fvar-tracking-assignments
1721 fvar-tracking-uninit
1722 Common Report Var(flag_var_tracking_uninit) Optimization
1723 Perform variable tracking and also tag variables that are uninitialized
1726 Common Report Var(flag_tree_vectorize) Optimization
1727 Enable loop vectorization on trees
1730 Common Report Var(flag_tree_slp_vectorize) Init(2) Optimization
1731 Enable basic block vectorization (SLP) on trees
1734 Common Report Var(flag_vect_cost_model) Optimization
1735 Enable use of cost model in vectorization
1737 ftree-vect-loop-version
1738 Common Report Var(flag_tree_vect_loop_version) Init(1) Optimization
1739 Enable loop versioning when doing loop vectorization on trees
1741 ftree-vectorizer-verbose=
1742 Common RejectNegative Joined
1743 -ftree-vectorizer-verbose=<number> Set the verbosity level of the vectorizer
1746 Common Report Var(flag_tree_scev_cprop) Init(1) Optimization
1747 Enable copy propagation of scalar-evolution information.
1749 ; -fverbose-asm causes extra commentary information to be produced in
1750 ; the generated assembly code (to make it more readable). This option
1751 ; is generally only of use to those who actually need to read the
1752 ; generated assembly code (perhaps while debugging the compiler itself).
1753 ; -fno-verbose-asm, the default, causes the extra information
1754 ; to not be added and is useful when comparing two assembler files.
1756 Common Report Var(flag_verbose_asm)
1757 Add extra commentary to assembler output
1760 Common Joined RejectNegative
1761 -fvisibility=[default|internal|hidden|protected] Set the default symbol visibility
1765 Common Report Var(flag_value_profile_transformations) Optimization
1766 Use expression value profiles in optimizations
1769 Common Report Var(flag_web) Init(2) Optimization
1770 Construct webs and split unrelated uses of single variable
1774 Enable partitioned link-time optimization
1777 Common RejectNegative Joined Var(flag_whopr)
1778 Partitioned link-time optimization with number of parallel jobs or jobserver.
1780 ftree-builtin-call-dce
1781 Common Report Var(flag_tree_builtin_call_dce) Init(0) Optimization
1782 Enable conditional dead code elimination for builtin calls
1785 Common Report Var(flag_whole_program) Init(0) Optimization
1786 Perform whole program optimizations
1789 Common Report Var(flag_wrapv) Optimization
1790 Assume signed arithmetic overflow wraps around
1792 fzero-initialized-in-bss
1793 Common Report Var(flag_zero_initialized_in_bss) Init(1)
1794 Put zero initialized data in the bss section
1797 Common JoinedOrMissing
1798 Generate debug information in default format
1801 Common JoinedOrMissing Negative(gdwarf-)
1802 Generate debug information in COFF format
1805 Common Joined UInteger Var(dwarf_version) Init(2) Negative(gstabs)
1806 Generate debug information in DWARF v2 (or later) format
1809 Common JoinedOrMissing
1810 Generate debug information in default extended format
1813 Common JoinedOrMissing Negative(gstabs+)
1814 Generate debug information in STABS format
1817 Common JoinedOrMissing Negative(gvms)
1818 Generate debug information in extended STABS format
1821 Common RejectNegative Var(dwarf_strict,0) Init(-1)
1822 Emit DWARF additions beyond selected version
1825 Common Report RejectNegative Var(dwarf_strict,1)
1826 Don't emit DWARF additions beyond selected version
1829 Common Report Var(flag_gtoggle)
1830 Toggle debug information generation
1833 Common JoinedOrMissing Negative(gxcoff)
1834 Generate debug information in VMS format
1837 Common JoinedOrMissing Negative(gxcoff+)
1838 Generate debug information in XCOFF format
1841 Common JoinedOrMissing Negative(gcoff)
1842 Generate debug information in extended XCOFF format
1845 Common Joined Var(plugindir_string) Init(0)
1846 -iplugindir=<dir> Set <dir> to be the default plugin directory
1849 Driver Joined Separate
1851 no-canonical-prefixes
1861 Common Driver Joined Separate MissingArgError(missing filename after %qs)
1862 -o <file> Place output into <file>
1865 Common Var(profile_flag)
1866 Enable function profiling
1869 Driver Var(pass_exit_codes)
1872 Common Var(pedantic)
1873 Issue warnings needed for strict compliance to the standard
1877 Like -pedantic but issue them as errors
1883 Driver Var(use_pipes)
1886 Driver JoinedOrMissing Var(print_file_name)
1888 print-libgcc-file-name
1891 print-multi-directory
1892 Driver Var(print_multi_directory)
1895 Driver Var(print_multi_lib)
1897 print-multi-os-directory
1898 Driver Var(print_multi_os_directory)
1901 Driver JoinedOrMissing Var(print_prog_name)
1904 Driver Var(print_search_dirs)
1907 Driver Var(print_sysroot)
1909 print-sysroot-headers-suffix
1910 Driver Var(print_sysroot_headers_suffix)
1913 Common Var(quiet_flag) RejectDriver
1914 Do not display functions compiled or elapsed time
1923 Driver Var(report_times)
1926 Driver JoinedOrMissing
1929 Driver Joined Separate
1933 ; C option, but driver must not handle as "-u ndef".
1939 Common Var(version_flag) RejectDriver
1940 Display the compiler's version
1943 Common Var(inhibit_warnings)
1947 Driver Separate Var(wrapper_string)
1950 Driver Joined Separate
1953 Common RejectNegative Negative(pie)
1954 Create a shared library
1960 Driver Separate Alias(specs=)
1973 ; Documented for Fortran, but always accepted by driver.
1982 Common RejectNegative Negative(shared)
1983 Create a position independent executable
1985 ; This comment is to ensure we retain the blank line above.