diff options
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 584 |
1 files changed, 292 insertions, 292 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 4ab5fe4..fcb86c8 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -298,7 +298,7 @@ Common Driver Var(help_flag) Display this information. -help= -Common Driver Report Joined +Common Driver Joined --help=<class> Display descriptions of a specific class of options. <class> is one or more of optimizers, target, warnings, undocumented, params. -language @@ -978,42 +978,42 @@ Common Joined RejectNegative UInteger Var(flag_abi_version) Init(0) The version of the C++ ABI in use. faggressive-loop-optimizations -Common Report Var(flag_aggressive_loop_optimizations) Optimization Init(1) +Common Var(flag_aggressive_loop_optimizations) Optimization Init(1) Aggressively optimize loops using language constraints. falign-functions -Common Report Var(flag_align_functions) Optimization +Common Var(flag_align_functions) Optimization Align the start of functions. falign-functions= Common RejectNegative Joined Var(str_align_functions) Optimization flimit-function-alignment -Common Report Var(flag_limit_function_alignment) Optimization Init(0) +Common Var(flag_limit_function_alignment) Optimization Init(0) falign-jumps -Common Report Var(flag_align_jumps) Optimization +Common Var(flag_align_jumps) Optimization Align labels which are only reached by jumping. falign-jumps= Common RejectNegative Joined Var(str_align_jumps) Optimization falign-labels -Common Report Var(flag_align_labels) Optimization +Common Var(flag_align_labels) Optimization Align all labels. falign-labels= Common RejectNegative Joined Var(str_align_labels) Optimization falign-loops -Common Report Var(flag_align_loops) Optimization +Common Var(flag_align_loops) Optimization Align the start of loops. falign-loops= Common RejectNegative Joined Var(str_align_loops) Optimization fallow-store-data-races -Common Report Var(flag_store_data_races) Optimization +Common Var(flag_store_data_races) Optimization Allow the compiler to introduce new data races on stores. fanalyzer @@ -1037,11 +1037,11 @@ Common Ignore Does nothing. Preserved for backward compatibility. fsanitize= -Common Driver Report Joined +Common Driver Joined Select what to sanitize. fsanitize-coverage= -Common Report Joined +Common Joined Select type of coverage sanitization. fasan-shadow-offset= @@ -1054,30 +1054,30 @@ Common Joined RejectNegative Var(common_deferred_options) Defer in user-defined sections. fsanitize-recover= -Common Report Joined +Common Joined After diagnosing undefined behavior attempt to continue execution. fsanitize-recover -Common Report +Common This switch is deprecated; use -fsanitize-recover= instead. fsanitize-address-use-after-scope -Common Driver Report Var(flag_sanitize_address_use_after_scope) Init(0) +Common Driver Var(flag_sanitize_address_use_after_scope) Init(0) fsanitize-undefined-trap-on-error -Common Driver Report Var(flag_sanitize_undefined_trap_on_error) Init(0) +Common Driver Var(flag_sanitize_undefined_trap_on_error) Init(0) Use trap instead of a library function for undefined behavior sanitization. fasynchronous-unwind-tables -Common Report Var(flag_asynchronous_unwind_tables) Optimization +Common Var(flag_asynchronous_unwind_tables) Optimization Generate unwind tables that are exact at each instruction boundary. fauto-inc-dec -Common Report Var(flag_auto_inc_dec) Init(1) Optimization +Common Var(flag_auto_inc_dec) Init(1) Optimization Generate auto-inc/dec instructions. fauto-profile -Common Report Var(flag_auto_profile) +Common Var(flag_auto_profile) Use sample profile information for call graph node weights. The default profile file is fbdata.afdo in 'pwd'. @@ -1091,15 +1091,15 @@ file is specified in the argument. ; For Java: defaults to on. ; For Fortran: defaults to off. fbounds-check -Common Report Var(flag_bounds_check) +Common Var(flag_bounds_check) Generate code to check bounds before indexing arrays. fbranch-count-reg -Common Report Var(flag_branch_on_count_reg) Optimization +Common Var(flag_branch_on_count_reg) Optimization Replace add, compare, branch with branch on count register. fbranch-probabilities -Common Report Var(flag_branch_probabilities) Optimization +Common Var(flag_branch_probabilities) Optimization Use profiling information for branch probabilities. fbranch-target-load-optimize @@ -1115,11 +1115,11 @@ Common Ignore Does nothing. Preserved for backward compatibility. fcallgraph-info -Common Report RejectNegative Var(flag_callgraph_info) Init(NO_CALLGRAPH_INFO); +Common RejectNegative Var(flag_callgraph_info) Init(NO_CALLGRAPH_INFO); Output callgraph information on a per-file basis. fcallgraph-info= -Common Report RejectNegative Joined +Common RejectNegative Joined Output callgraph information on a per-file basis with decorations. fcall-saved- @@ -1134,7 +1134,7 @@ Common Joined RejectNegative Var(common_deferred_options) Defer ; be saved across function calls, if that produces overall better code. ; Optional now, so people can test it. fcaller-saves -Common Report Var(flag_caller_saves) Optimization +Common Var(flag_caller_saves) Optimization Save registers around function calls. fcheck-data-deps @@ -1154,15 +1154,15 @@ Common Joined RejectNegative UInteger Var(flag_checking) Perform internal consistency checkings. fcode-hoisting -Common Report Var(flag_code_hoisting) Optimization +Common Var(flag_code_hoisting) Optimization Enable code hoisting. fcombine-stack-adjustments -Common Report Var(flag_combine_stack_adjustments) Optimization +Common Var(flag_combine_stack_adjustments) Optimization Looks for opportunities to reduce stack adjustments and stack references. fcommon -Common Report Var(flag_no_common,0) Init(1) +Common Var(flag_no_common,0) Init(1) Put uninitialized globals in the common section. fcompare-debug @@ -1178,7 +1178,7 @@ Common Driver RejectNegative Var(flag_compare_debug) Run only the second compilation of -fcompare-debug. fcompare-elim -Common Report Var(flag_compare_elim_after_reload) Optimization +Common Var(flag_compare_elim_after_reload) Optimization Perform comparison elimination after register allocation has finished. fconserve-stack @@ -1186,15 +1186,15 @@ Common Var(flag_conserve_stack) Optimization Do not perform optimizations increasing noticeably stack usage. fcprop-registers -Common Report Var(flag_cprop_registers) Optimization +Common Var(flag_cprop_registers) Optimization Perform a register copy-propagation optimization pass. fcrossjumping -Common Report Var(flag_crossjumping) Optimization +Common Var(flag_crossjumping) Optimization Perform cross-jumping optimization. fcse-follow-jumps -Common Report Var(flag_cse_follow_jumps) Optimization +Common Var(flag_cse_follow_jumps) Optimization When running CSE, follow jumps to their targets. fcse-skip-blocks @@ -1202,19 +1202,19 @@ Common Ignore Does nothing. Preserved for backward compatibility. fcx-limited-range -Common Report Var(flag_cx_limited_range) Optimization SetByCombined +Common Var(flag_cx_limited_range) Optimization SetByCombined Omit range reduction step when performing complex division. fcx-fortran-rules -Common Report Var(flag_cx_fortran_rules) Optimization +Common Var(flag_cx_fortran_rules) Optimization Complex multiplication and division follow Fortran rules. fdata-sections -Common Report Var(flag_data_sections) +Common Var(flag_data_sections) Place data items into their own section. fdbg-cnt-list -Common Report Var(flag_dbg_cnt_list) +Common Var(flag_dbg_cnt_list) List all available debugging counters with their limits and counts. fdbg-cnt= @@ -1230,37 +1230,37 @@ Common Joined RejectNegative Var(common_deferred_options) Defer -ffile-prefix-map=<old>=<new> Map one directory name to another in compilation result. fdebug-types-section -Common Report Var(flag_debug_types_section) Init(0) +Common Var(flag_debug_types_section) Init(0) Output .debug_types section when using DWARF v4 debuginfo. ; Nonzero for -fdefer-pop: don't pop args after each function call ; instead save them up to pop many calls' args with one insns. fdefer-pop -Common Report Var(flag_defer_pop) Optimization +Common Var(flag_defer_pop) Optimization Defer popping functions args from stack until later. fdelayed-branch -Common Report Var(flag_delayed_branch) Optimization +Common Var(flag_delayed_branch) Optimization Attempt to fill delay slots of branch instructions. fdelete-dead-exceptions -Common Report Var(flag_delete_dead_exceptions) Init(0) Optimization +Common Var(flag_delete_dead_exceptions) Init(0) Optimization Delete dead instructions that may throw exceptions. fdelete-null-pointer-checks -Common Report Var(flag_delete_null_pointer_checks) Init(-1) Optimization +Common Var(flag_delete_null_pointer_checks) Init(-1) Optimization Delete useless null pointer checks. fdevirtualize-at-ltrans -Common Report Var(flag_ltrans_devirtualize) +Common Var(flag_ltrans_devirtualize) Stream extra data to support more aggressive devirtualization in LTO local transformation mode. fdevirtualize-speculatively -Common Report Var(flag_devirtualize_speculatively) Optimization +Common Var(flag_devirtualize_speculatively) Optimization Perform speculative devirtualization. fdevirtualize -Common Report Var(flag_devirtualize) Optimization +Common Var(flag_devirtualize) Optimization Try to convert virtual calls to direct ones. fdiagnostics-show-location= @@ -1442,7 +1442,7 @@ Common RejectNegative Joined Var(flag_dump_go_spec) -fdump-go-spec=filename Write all declarations to file as Go code. fdump-noaddr -Common Report Var(flag_dump_noaddr) +Common Var(flag_dump_noaddr) Suppress output of addresses in debugging dumps. freport-bug @@ -1459,19 +1459,19 @@ Common Var(flag_dump_passes) Init(0) Dump optimization passes. fdump-unnumbered -Common Report Var(flag_dump_unnumbered) +Common Var(flag_dump_unnumbered) Suppress output of instruction numbers, line number notes and addresses in debugging dumps. fdump-unnumbered-links -Common Report Var(flag_dump_unnumbered_links) +Common Var(flag_dump_unnumbered_links) Suppress output of previous and next insn numbers in debugging dumps. fdwarf2-cfi-asm -Common Report Var(flag_dwarf2_cfi_asm) Init(HAVE_GAS_CFI_DIRECTIVE) +Common Var(flag_dwarf2_cfi_asm) Init(HAVE_GAS_CFI_DIRECTIVE) Enable CFI tables via GAS assembler directives. fearly-inlining -Common Report Var(flag_early_inlining) Init(1) Optimization +Common Var(flag_early_inlining) Init(1) Optimization Perform early inlining. feliminate-dwarf2-dups @@ -1479,27 +1479,27 @@ Common Ignore Does nothing. Preserved for backward compatibility. fipa-sra -Common Report Var(flag_ipa_sra) Init(0) Optimization +Common Var(flag_ipa_sra) Init(0) Optimization Perform interprocedural reduction of aggregates. feliminate-unused-debug-symbols -Common Report Var(flag_debug_only_used_symbols) Init(1) +Common Var(flag_debug_only_used_symbols) Init(1) Perform unused symbol elimination in debug info. feliminate-unused-debug-types -Common Report Var(flag_eliminate_unused_debug_types) Init(1) +Common Var(flag_eliminate_unused_debug_types) Init(1) Perform unused type elimination in debug info. femit-class-debug-always -Common Report Var(flag_emit_class_debug_always) Init(0) +Common Var(flag_emit_class_debug_always) Init(0) Do not suppress C++ class debug information. fexceptions -Common Report Var(flag_exceptions) Optimization +Common Var(flag_exceptions) Optimization Enable exception handling. fexpensive-optimizations -Common Report Var(flag_expensive_optimizations) Optimization +Common Var(flag_expensive_optimizations) Optimization Perform a number of minor, expensive optimizations. fexcess-precision= @@ -1538,11 +1538,11 @@ Common Var(flag_fat_lto_objects) Output lto objects containing both the intermediate language and binary output. ffinite-math-only -Common Report Var(flag_finite_math_only) Optimization SetByCombined +Common Var(flag_finite_math_only) Optimization SetByCombined Assume no NaNs or infinities are generated. ffinite-loops -Common Report Var(flag_finite_loops) Optimization Init(0) +Common Var(flag_finite_loops) Optimization Init(0) Assume that loops with an exit will terminate and not loop indefinitely. ffixed- @@ -1550,7 +1550,7 @@ Common Joined RejectNegative Var(common_deferred_options) Defer -ffixed-<register> Mark <register> as being unavailable to the compiler. ffloat-store -Common Report Var(flag_float_store) Optimization +Common Var(flag_float_store) Optimization Don't allocate floats and doubles in extended-precision registers. fforce-addr @@ -1558,7 +1558,7 @@ Common Ignore Does nothing. Preserved for backward compatibility. fforward-propagate -Common Report Var(flag_forward_propagate) Optimization +Common Var(flag_forward_propagate) Optimization Perform a forward propagation pass on RTL. ffp-contract= @@ -1579,39 +1579,39 @@ EnumValue Enum(fp_contract_mode) String(fast) Value(FP_CONTRACT_FAST) ffp-int-builtin-inexact -Common Report Var(flag_fp_int_builtin_inexact) Init(1) Optimization +Common Var(flag_fp_int_builtin_inexact) Init(1) Optimization Allow built-in functions ceil, floor, round, trunc to raise \"inexact\" exceptions. ; Nonzero means don't put addresses of constant functions in registers. ; Used for compiling the Unix kernel, where strange substitutions are ; done on the assembly output. ffunction-cse -Common Report Var(flag_no_function_cse,0) Optimization +Common Var(flag_no_function_cse,0) Optimization Allow function addresses to be held in registers. ffunction-sections -Common Report Var(flag_function_sections) +Common Var(flag_function_sections) Place each function into its own section. fgcse -Common Report Var(flag_gcse) Optimization +Common Var(flag_gcse) Optimization Perform global common subexpression elimination. fgcse-lm -Common Report Var(flag_gcse_lm) Init(1) Optimization +Common Var(flag_gcse_lm) Init(1) Optimization Perform enhanced load motion during global common subexpression elimination. fgcse-sm -Common Report Var(flag_gcse_sm) Init(0) Optimization +Common Var(flag_gcse_sm) Init(0) Optimization Perform store motion after global common subexpression elimination. fgcse-las -Common Report Var(flag_gcse_las) Init(0) Optimization +Common Var(flag_gcse_las) Init(0) Optimization Perform redundant load after store elimination in global common subexpression elimination. fgcse-after-reload -Common Report Var(flag_gcse_after_reload) Optimization +Common Var(flag_gcse_after_reload) Optimization Perform global common subexpression elimination after register allocation has finished. @@ -1628,34 +1628,34 @@ EnumValue Enum(dwarf_gnat_encodings) String(minimal) Value(DWARF_GNAT_ENCODINGS_MINIMAL) fgnat-encodings= -Common Enum(dwarf_gnat_encodings) Joined RejectNegative Report Undocumented Var(gnat_encodings) +Common Enum(dwarf_gnat_encodings) Joined RejectNegative Undocumented Var(gnat_encodings) -fgnat-encodings=[all|gdb|minimal] Select the balance between GNAT encodings and standard DWARF emitted in the debug information. ; This option is not documented yet as its semantics will change. fgraphite -Common Report Var(flag_graphite) Optimization +Common Var(flag_graphite) Optimization Enable in and out of Graphite representation. fgraphite-identity -Common Report Var(flag_graphite_identity) Optimization +Common Var(flag_graphite_identity) Optimization Enable Graphite Identity transformation. fhoist-adjacent-loads -Common Report Var(flag_hoist_adjacent_loads) Optimization +Common Var(flag_hoist_adjacent_loads) Optimization Enable hoisting adjacent loads to encourage generating conditional move instructions. fkeep-gc-roots-live -Common Undocumented Report Var(flag_keep_gc_roots_live) Optimization +Common Undocumented Var(flag_keep_gc_roots_live) Optimization ; Always keep a pointer to a live memory block flarge-source-files -Common Report Var(flag_large_source_files) Init(0) +Common Var(flag_large_source_files) Init(0) Improve GCC's ability to track column numbers in large source files, at the expense of slower compilation. floop-parallelize-all -Common Report Var(flag_loop_parallelize_all) Optimization +Common Var(flag_loop_parallelize_all) Optimization Mark all loops as parallel. floop-strip-mine @@ -1663,7 +1663,7 @@ Common Alias(floop-nest-optimize) Enable loop nest transforms. Same as -floop-nest-optimize. floop-interchange -Common Report Var(flag_loop_interchange) Optimization +Common Var(flag_loop_interchange) Optimization Enable loop interchange on trees. floop-block @@ -1671,15 +1671,15 @@ Common Alias(floop-nest-optimize) Enable loop nest transforms. Same as -floop-nest-optimize. floop-unroll-and-jam -Common Report Var(flag_unroll_jam) Optimization +Common Var(flag_unroll_jam) Optimization Perform unroll-and-jam on loops. fgnu-tm -Common Report Var(flag_tm) +Common Var(flag_tm) Enable support for GNU transactional memory. fgnu-unique -Common Report Var(flag_gnu_unique) Init(1) +Common Var(flag_gnu_unique) Init(1) Use STB_GNU_UNIQUE if supported by the assembler. floop-flatten @@ -1687,19 +1687,19 @@ Common Ignore Does nothing. Preserved for backward compatibility. floop-nest-optimize -Common Report Var(flag_loop_nest_optimize) Optimization +Common Var(flag_loop_nest_optimize) Optimization Enable the loop nest optimizer. fstrict-volatile-bitfields -Common Report Var(flag_strict_volatile_bitfields) Init(-1) Optimization +Common Var(flag_strict_volatile_bitfields) Init(-1) Optimization Force bitfield accesses to match their type width. fstore-merging -Common Report Var(flag_store_merging) Optimization +Common Var(flag_store_merging) Optimization Merge adjacent stores. fguess-branch-probability -Common Report Var(flag_guess_branch_prob) Optimization +Common Var(flag_guess_branch_prob) Optimization Enable guessing of branch probabilities. ; Nonzero means ignore `#ident' directives. 0 means handle them. @@ -1707,15 +1707,15 @@ Enable guessing of branch probabilities. ; On SVR4 targets, it also controls whether or not to emit a ; string identifying the compiler. fident -Common Report Var(flag_no_ident,0) +Common Var(flag_no_ident,0) Process #ident directives. fif-conversion -Common Report Var(flag_if_conversion) Optimization +Common Var(flag_if_conversion) Optimization Perform conversion of conditional jumps to branchless equivalents. fif-conversion2 -Common Report Var(flag_if_conversion2) Optimization +Common Var(flag_if_conversion2) Optimization Perform conversion of conditional jumps to conditional execution. fstack-reuse= @@ -1735,7 +1735,7 @@ EnumValue Enum(stack_reuse_level) String(none) Value(SR_NONE) ftree-loop-if-convert -Common Report Var(flag_tree_loop_if_convert) Init(-1) Optimization +Common Var(flag_tree_loop_if_convert) Init(-1) Optimization Convert conditional jumps in innermost loops to branchless equivalents. ftree-loop-if-convert-stores @@ -1747,29 +1747,29 @@ Does nothing. Preserved for backward compatibility. ; and it may be extended to other effects ; needed for crtstuff.c on other systems. finhibit-size-directive -Common Report Var(flag_inhibit_size_directive) +Common Var(flag_inhibit_size_directive) Do not generate .size directives. findirect-inlining -Common Report Var(flag_indirect_inlining) Optimization +Common Var(flag_indirect_inlining) Optimization Perform indirect inlining. ; General flag to enable inlining. Specifying -fno-inline will disable ; all inlining apart from always-inline functions. finline -Common Report Var(flag_no_inline,0) Init(0) Optimization +Common Var(flag_no_inline,0) Init(0) Optimization Enable inlining of function declared \"inline\", disabling disables all inlining. finline-small-functions -Common Report Var(flag_inline_small_functions) Optimization +Common Var(flag_inline_small_functions) Optimization Integrate functions into their callers when code size is known not to grow. finline-functions -Common Report Var(flag_inline_functions) Optimization +Common Var(flag_inline_functions) Optimization Integrate functions not declared \"inline\" into their callers when profitable. finline-functions-called-once -Common Report Var(flag_inline_functions_called_once) Optimization +Common Var(flag_inline_functions_called_once) Optimization Integrate functions only required by their single caller. finline-limit- @@ -1780,14 +1780,14 @@ Common RejectNegative Joined UInteger -finline-limit=<number> Limit the size of inlined functions to <number>. finline-atomics -Common Report Var(flag_inline_atomics) Init(1) Optimization +Common Var(flag_inline_atomics) Init(1) Optimization Inline __atomic operations when a lock free instruction sequence is available. fcf-protection Common RejectNegative Alias(fcf-protection=,full) fcf-protection= -Common Report Joined RejectNegative Enum(cf_protection_level) Var(flag_cf_protection) Init(CF_NONE) +Common Joined RejectNegative Enum(cf_protection_level) Var(flag_cf_protection) Init(CF_NONE) -fcf-protection=[full|branch|return|none|check] Instrument functions with checks to verify jump/call/return control-flow transfer instructions have valid targets. @@ -1810,7 +1810,7 @@ EnumValue Enum(cf_protection_level) String(none) Value(CF_NONE) finstrument-functions -Common Report Var(flag_instrument_function_entry_exit) +Common Var(flag_instrument_function_entry_exit) Instrument function entry and exit with profiling calls. finstrument-functions-exclude-function-list= @@ -1822,11 +1822,11 @@ Common RejectNegative Joined -finstrument-functions-exclude-file-list=filename,... Do not instrument functions listed in files. fipa-cp -Common Report Var(flag_ipa_cp) Optimization +Common Var(flag_ipa_cp) Optimization Perform interprocedural constant propagation. fipa-cp-clone -Common Report Var(flag_ipa_cp_clone) Optimization +Common Var(flag_ipa_cp_clone) Optimization Perform cloning to make Interprocedural constant propagation stronger. fipa-cp-alignment @@ -1834,47 +1834,47 @@ Common Ignore Does nothing. Preserved for backward compatibility. fipa-bit-cp -Common Report Var(flag_ipa_bit_cp) Optimization +Common Var(flag_ipa_bit_cp) Optimization Perform interprocedural bitwise constant propagation. fipa-modref -Common Report Var(flag_ipa_modref) Optimization +Common Var(flag_ipa_modref) Optimization Perform interprocedural modref analysis. fipa-profile -Common Report Var(flag_ipa_profile) Init(0) Optimization +Common Var(flag_ipa_profile) Init(0) Optimization Perform interprocedural profile propagation. fipa-pta -Common Report Var(flag_ipa_pta) Init(0) Optimization +Common Var(flag_ipa_pta) Init(0) Optimization Perform interprocedural points-to analysis. fipa-pure-const -Common Report Var(flag_ipa_pure_const) Init(0) Optimization +Common Var(flag_ipa_pure_const) Init(0) Optimization Discover pure and const functions. fipa-icf -Common Report Var(flag_ipa_icf) Optimization +Common Var(flag_ipa_icf) Optimization Perform Identical Code Folding for functions and read-only variables. fipa-icf-functions -Common Report Var(flag_ipa_icf_functions) Optimization +Common Var(flag_ipa_icf_functions) Optimization Perform Identical Code Folding for functions. fipa-icf-variables -Common Report Var(flag_ipa_icf_variables) Optimization +Common Var(flag_ipa_icf_variables) Optimization Perform Identical Code Folding for variables. fipa-reference -Common Report Var(flag_ipa_reference) Init(0) Optimization +Common Var(flag_ipa_reference) Init(0) Optimization Discover read-only and non addressable static variables. fipa-reference-addressable -Common Report Var(flag_ipa_reference_addressable) Init(0) Optimization +Common Var(flag_ipa_reference_addressable) Init(0) Optimization Discover read-only, write-only and non-addressable static variables. fipa-stack-alignment -Common Report Var(flag_ipa_stack_alignment) Init(1) Optimization +Common Var(flag_ipa_stack_alignment) Init(1) Optimization Reduce stack alignment on call sites if possible. fipa-matrix-reorg @@ -1886,7 +1886,7 @@ Common Ignore Does nothing. Preserved for backward compatibility. fipa-vrp -Common Report Var(flag_ipa_vrp) Optimization +Common Var(flag_ipa_vrp) Optimization Perform IPA Value Range Propagation. fira-algorithm= @@ -1919,21 +1919,21 @@ EnumValue Enum(ira_region) String(mixed) Value(IRA_REGION_MIXED) fira-hoist-pressure -Common Report Var(flag_ira_hoist_pressure) Init(1) Optimization +Common Var(flag_ira_hoist_pressure) Init(1) Optimization Use IRA based register pressure calculation in RTL hoist optimizations. fira-loop-pressure -Common Report Var(flag_ira_loop_pressure) Optimization +Common Var(flag_ira_loop_pressure) Optimization Use IRA based register pressure calculation in RTL loop optimizations. fira-share-save-slots -Common Report Var(flag_ira_share_save_slots) Init(1) Optimization +Common Var(flag_ira_share_save_slots) Init(1) Optimization Share slots for saving different hard registers. fira-share-spill-slots -Common Report Var(flag_ira_share_spill_slots) Init(1) Optimization +Common Var(flag_ira_share_spill_slots) Init(1) Optimization Share stack slots for spilled pseudo-registers. fira-verbose= @@ -1941,7 +1941,7 @@ Common RejectNegative Joined UInteger Var(flag_ira_verbose) Init(5) -fira-verbose=<number> Control IRA's level of diagnostic messages. fivopts -Common Report Var(flag_ivopts) Init(1) Optimization +Common Var(flag_ivopts) Init(1) Optimization Optimize induction variables on trees. fjump-tables @@ -1953,19 +1953,19 @@ Common Var(flag_bit_tests) Init(1) Optimization Use bit tests for sufficiently large switch statements. fkeep-inline-functions -Common Report Var(flag_keep_inline_functions) +Common Var(flag_keep_inline_functions) Generate code for functions even if they are fully inlined. fkeep-static-functions -Common Report Var(flag_keep_static_functions) +Common Var(flag_keep_static_functions) Generate code for static functions even if they are never called. fkeep-static-consts -Common Report Var(flag_keep_static_consts) Init(1) +Common Var(flag_keep_static_consts) Init(1) Emit static const variables even if they are not used. fleading-underscore -Common Report Var(flag_leading_underscore) Init(-1) +Common Var(flag_leading_underscore) Init(-1) Give external symbols a leading underscore. floop-optimize @@ -1973,7 +1973,7 @@ Common Ignore Does nothing. Preserved for backward compatibility. flra-remat -Common Report Var(flag_lra_remat) Optimization +Common Var(flag_lra_remat) Optimization Do CFG-sensitive rematerialization in LRA. flto @@ -2016,15 +2016,15 @@ Common Ignore Does nothing. Preserved for backward compatibility. flto-report -Common Report Var(flag_lto_report) Init(0) +Common Var(flag_lto_report) Init(0) Report various link-time optimization statistics. flto-report-wpa -Common Report Var(flag_lto_report_wpa) Init(0) +Common Var(flag_lto_report_wpa) Init(0) Report various link-time optimization statistics for WPA only. fmath-errno -Common Report Var(flag_errno_math) Init(1) Optimization SetByCombined +Common Var(flag_errno_math) Init(1) Optimization SetByCombined Set errno after built-in math functions. fmax-errors= @@ -2032,26 +2032,26 @@ Common Joined RejectNegative UInteger Var(flag_max_errors) -fmax-errors=<number> Maximum number of errors to report. fmem-report -Common Report Var(mem_report) +Common Var(mem_report) Report on permanent memory allocation. fmem-report-wpa -Common Report Var(mem_report_wpa) +Common Var(mem_report_wpa) Report on permanent memory allocation in WPA only. ; This will attempt to merge constant section constants, if 1 only ; string constants and constants from constant pool, if 2 also constant ; variables. fmerge-all-constants -Common Report Var(flag_merge_constants,2) Init(1) +Common Var(flag_merge_constants,2) Init(1) Attempt to merge identical constants and constant variables. fmerge-constants -Common Report Var(flag_merge_constants,1) +Common Var(flag_merge_constants,1) Attempt to merge identical constants across compilation units. fmerge-debug-strings -Common Report Var(flag_merge_debug_strings) Init(1) +Common Var(flag_merge_debug_strings) Init(1) Attempt to merge identical debug strings across compilation units. fmessage-length= @@ -2059,15 +2059,15 @@ Common RejectNegative Joined UInteger -fmessage-length=<number> Limit diagnostics to <number> characters per line. 0 suppresses line-wrapping. fmodulo-sched -Common Report Var(flag_modulo_sched) Optimization +Common Var(flag_modulo_sched) Optimization Perform SMS based modulo scheduling before the first scheduling pass. fmodulo-sched-allow-regmoves -Common Report Var(flag_modulo_sched_allow_regmoves) Optimization +Common Var(flag_modulo_sched_allow_regmoves) Optimization Perform SMS based modulo scheduling with register moves allowed. fmove-loop-invariants -Common Report Var(flag_move_loop_invariants) Optimization +Common Var(flag_move_loop_invariants) Optimization Move loop invariant computations out of loops. fdce @@ -2079,11 +2079,11 @@ Common Var(flag_dse) Init(0) Optimization Use the RTL dead store elimination pass. freschedule-modulo-scheduled-loops -Common Report Var(flag_resched_modulo_sched) Optimization +Common Var(flag_resched_modulo_sched) Optimization Enable/Disable the traditional scheduling in loops that already passed modulo scheduling. fnon-call-exceptions -Common Report Var(flag_non_call_exceptions) Optimization +Common Var(flag_non_call_exceptions) Optimization Support synchronous non-call exceptions. foffload= @@ -2104,11 +2104,11 @@ EnumValue Enum(offload_abi) String(lp64) Value(OFFLOAD_ABI_LP64) fomit-frame-pointer -Common Report Var(flag_omit_frame_pointer) Optimization +Common Var(flag_omit_frame_pointer) Optimization When possible do not generate stack frames. fopt-info -Common Report Var(flag_opt_info) Optimization +Common Var(flag_opt_info) Optimization Enable all optimization info dumps on stderr. fopt-info- @@ -2116,7 +2116,7 @@ Common Joined RejectNegative Var(common_deferred_options) Defer -fopt-info[-<type>=filename] Dump compiler optimization details. fsave-optimization-record -Common Report Var(flag_save_optimization_record) Optimization +Common Var(flag_save_optimization_record) Optimization Write a SRCFILE.opt-record.json file detailing what optimizations were performed. foptimize-register-move @@ -2124,23 +2124,23 @@ Common Ignore Does nothing. Preserved for backward compatibility. foptimize-sibling-calls -Common Report Var(flag_optimize_sibling_calls) Optimization +Common Var(flag_optimize_sibling_calls) Optimization Optimize sibling and tail recursive calls. fpartial-inlining -Common Report Var(flag_partial_inlining) Optimization +Common Var(flag_partial_inlining) Optimization Perform partial inlining. fpre-ipa-mem-report -Common Report Var(pre_ipa_mem_report) +Common Var(pre_ipa_mem_report) Report on memory allocation before interprocedural optimization. fpost-ipa-mem-report -Common Report Var(post_ipa_mem_report) +Common Var(post_ipa_mem_report) Report on memory allocation before interprocedural optimization. fpack-struct -Common Report Var(flag_pack_struct) Optimization +Common Var(flag_pack_struct) Optimization Pack structure members together without holes. fpack-struct= @@ -2148,39 +2148,39 @@ Common RejectNegative Joined UInteger Optimization -fpack-struct=<number> Set initial maximum structure member alignment. fpcc-struct-return -Common Report Var(flag_pcc_struct_return,1) Init(DEFAULT_PCC_STRUCT_RETURN) +Common Var(flag_pcc_struct_return,1) Init(DEFAULT_PCC_STRUCT_RETURN) Return small aggregates in memory, not registers. fpeel-loops -Common Report Var(flag_peel_loops) Optimization +Common Var(flag_peel_loops) Optimization Perform loop peeling. fpeephole -Common Report Var(flag_no_peephole,0) Optimization +Common Var(flag_no_peephole,0) Optimization Enable machine specific peephole optimizations. fpeephole2 -Common Report Var(flag_peephole2) Optimization +Common Var(flag_peephole2) Optimization Enable an RTL peephole pass before sched2. fPIC -Common Report Var(flag_pic,2) Negative(fPIE) Init(-1) +Common Var(flag_pic,2) Negative(fPIE) Init(-1) Generate position-independent code if possible (large mode). fPIE -Common Report Var(flag_pie,2) Negative(fpic) Init(-1) +Common Var(flag_pie,2) Negative(fpic) Init(-1) Generate position-independent code for executables if possible (large mode). fpic -Common Report Var(flag_pic,1) Negative(fpie) Init(-1) +Common Var(flag_pic,1) Negative(fpie) Init(-1) Generate position-independent code if possible (small mode). fpie -Common Report Var(flag_pie,1) Negative(fPIC) Init(-1) +Common Var(flag_pie,1) Negative(fPIC) Init(-1) Generate position-independent code for executables if possible (small mode). fplt -Common Report Var(flag_plt) Init(1) Optimization +Common Var(flag_plt) Init(1) Optimization Use PLT for PIC calls (-fno-plt: load the address from GOT at call site). fplugin= @@ -2192,23 +2192,23 @@ Common Joined RejectNegative Var(common_deferred_options) Defer -fplugin-arg-<name>-<key>[=<value>] Specify argument <key>=<value> for plugin <name>. fpredictive-commoning -Common Report Var(flag_predictive_commoning) Optimization +Common Var(flag_predictive_commoning) Optimization Run predictive commoning optimization. fprefetch-loop-arrays -Common Report Var(flag_prefetch_loop_arrays) Init(-1) Optimization +Common Var(flag_prefetch_loop_arrays) Init(-1) Optimization Generate prefetch instructions, if available, for arrays in loops. fprofile -Common Report Var(profile_flag) +Common Var(profile_flag) Enable basic program profiling code. fprofile-abs-path -Common Report Var(profile_abs_path_flag) +Common Var(profile_abs_path_flag) Generate absolute source path names for gcov. fprofile-arcs -Common Report Var(profile_arc_flag) +Common Var(profile_arc_flag) Insert arc-based program profiling code. fprofile-dir= @@ -2221,7 +2221,7 @@ Common Joined RejectNegative Var(profile_note_location) Select the name for storing the profile note file. fprofile-correction -Common Report Var(flag_profile_correction) +Common Var(flag_profile_correction) Enable correction of flow inconsistent profile data input. fprofile-update= @@ -2285,7 +2285,7 @@ Common Joined RejectNegative Var(profile_info_section) Register the profile information in the specified section instead of using a constructor/destructor. fprofile-partial-training -Common Report Var(flag_profile_partial_training) Optimization +Common Var(flag_profile_partial_training) Optimization Do not assume that functions never executed during the train run are cold. fprofile-use @@ -2297,15 +2297,15 @@ Common Joined RejectNegative Enable common options for performing profile feedback directed optimizations, and set -fprofile-dir=. fprofile-values -Common Report Var(flag_profile_values) +Common Var(flag_profile_values) Insert code to profile values of expressions. fprofile-report -Common Report Var(profile_report) +Common Var(profile_report) Report on consistency of profile. fprofile-reorder-functions -Common Report Var(flag_profile_reorder_functions) Optimization +Common Var(flag_profile_reorder_functions) Optimization Enable function reordering that improves code placement. fpatchable-function-entry= @@ -2326,11 +2326,11 @@ Common Joined RejectNegative Var(common_deferred_options) Defer ; records information in the assembler output file as comments, so ; they never reach the object file. frecord-gcc-switches -Common Report Var(flag_record_gcc_switches) +Common Var(flag_record_gcc_switches) Record gcc command line switches in the object file. freg-struct-return -Common Report Var(flag_pcc_struct_return,0) Optimization +Common Var(flag_pcc_struct_return,0) Optimization Return small aggregates in registers. fregmove @@ -2338,7 +2338,7 @@ Common Ignore Does nothing. Preserved for backward compatibility. flifetime-dse -Common Report Var(flag_lifetime_dse,2) Init(2) Optimization +Common Var(flag_lifetime_dse,2) Init(2) Optimization Tell DSE that the storage for a C++ object is dead when the constructor starts and when the destructor finishes. @@ -2349,7 +2349,7 @@ flive-patching Common RejectNegative Alias(flive-patching=,inline-clone) Optimization flive-patching= -Common Report Joined RejectNegative Enum(live_patching_level) Var(flag_live_patching) Init(LIVE_PATCHING_NONE) Optimization +Common Joined RejectNegative Enum(live_patching_level) Var(flag_live_patching) Init(LIVE_PATCHING_NONE) Optimization -flive-patching=[inline-only-static|inline-clone] Control IPA optimizations to provide a safe compilation for live-patching. At the same time, provides multiple-level control on the enabled IPA optimizations. @@ -2364,23 +2364,23 @@ EnumValue Enum(live_patching_level) String(inline-clone) Value(LIVE_PATCHING_INLINE_CLONE) fallocation-dce -Common Report Var(flag_allocation_dce) Init(1) Optimization +Common Var(flag_allocation_dce) Init(1) Optimization Tell DCE to remove unused C++ allocations. flive-range-shrinkage -Common Report Var(flag_live_range_shrinkage) Init(0) Optimization +Common Var(flag_live_range_shrinkage) Init(0) Optimization Relief of register pressure through live range shrinkage. frename-registers -Common Report Var(flag_rename_registers) Init(2) Optimization +Common Var(flag_rename_registers) Init(2) Optimization Perform a register renaming optimization pass. fschedule-fusion -Common Report Var(flag_schedule_fusion) Init(2) Optimization +Common Var(flag_schedule_fusion) Init(2) Optimization Perform a target dependent instruction fusion optimization pass. freorder-blocks -Common Report Var(flag_reorder_blocks) Optimization +Common Var(flag_reorder_blocks) Optimization Reorder basic blocks to improve code placement. freorder-blocks-algorithm= @@ -2397,15 +2397,15 @@ EnumValue Enum(reorder_blocks_algorithm) String(stc) Value(REORDER_BLOCKS_ALGORITHM_STC) freorder-blocks-and-partition -Common Report Var(flag_reorder_blocks_and_partition) Optimization +Common Var(flag_reorder_blocks_and_partition) Optimization Reorder basic blocks and partition into hot and cold sections. freorder-functions -Common Report Var(flag_reorder_functions) Optimization +Common Var(flag_reorder_functions) Optimization Reorder functions to improve code placement. frerun-cse-after-loop -Common Report Var(flag_rerun_cse_after_loop) Optimization +Common Var(flag_rerun_cse_after_loop) Optimization Add a common subexpression elimination pass after loop optimizations. frerun-loop-opt @@ -2413,27 +2413,27 @@ Common Ignore Does nothing. Preserved for backward compatibility. frounding-math -Common Report Var(flag_rounding_math) Optimization SetByCombined +Common Var(flag_rounding_math) Optimization SetByCombined Disable optimizations that assume default FP rounding behavior. fsched-interblock -Common Report Var(flag_schedule_interblock) Init(1) Optimization +Common Var(flag_schedule_interblock) Init(1) Optimization Enable scheduling across basic blocks. fsched-pressure -Common Report Var(flag_sched_pressure) Init(0) Optimization +Common Var(flag_sched_pressure) Init(0) Optimization Enable register pressure sensitive insn scheduling. fsched-spec -Common Report Var(flag_schedule_speculative) Init(1) Optimization +Common Var(flag_schedule_speculative) Init(1) Optimization Allow speculative motion of non-loads. fsched-spec-load -Common Report Var(flag_schedule_speculative_load) Optimization +Common Var(flag_schedule_speculative_load) Optimization Allow speculative motion of some loads. fsched-spec-load-dangerous -Common Report Var(flag_schedule_speculative_load_dangerous) Optimization +Common Var(flag_schedule_speculative_load_dangerous) Optimization Allow speculative motion of more loads. fsched-verbose= @@ -2441,7 +2441,7 @@ Common RejectNegative Joined UInteger Var(sched_verbose_param) Init(1) -fsched-verbose=<number> Set the verbosity level of the scheduler. fsched2-use-superblocks -Common Report Var(flag_sched2_use_superblocks) Optimization +Common Var(flag_sched2_use_superblocks) Optimization If scheduling post reload, do superblock scheduling. fsched2-use-traces @@ -2449,22 +2449,22 @@ Common Ignore Does nothing. Preserved for backward compatibility. fschedule-insns -Common Report Var(flag_schedule_insns) Optimization +Common Var(flag_schedule_insns) Optimization Reschedule instructions before register allocation. fschedule-insns2 -Common Report Var(flag_schedule_insns_after_reload) Optimization +Common Var(flag_schedule_insns_after_reload) Optimization Reschedule instructions after register allocation. ; This flag should be on when a target implements non-trivial ; scheduling hooks, maybe saving some information for its own sake. ; On IA64, for example, this is used for correct bundling. fselective-scheduling -Common Report Var(flag_selective_scheduling) Optimization +Common Var(flag_selective_scheduling) Optimization Schedule instructions using selective scheduling algorithm. fselective-scheduling2 -Common Report Var(flag_selective_scheduling2) Optimization +Common Var(flag_selective_scheduling2) Optimization Run selective scheduling after reload. fself-test= @@ -2472,25 +2472,25 @@ Common Undocumented Joined Var(flag_self_test) Run self-tests, using the given path to locate test files. fsel-sched-pipelining -Common Report Var(flag_sel_sched_pipelining) Init(0) Optimization +Common Var(flag_sel_sched_pipelining) Init(0) Optimization Perform software pipelining of inner loops during selective scheduling. fsel-sched-pipelining-outer-loops -Common Report Var(flag_sel_sched_pipelining_outer_loops) Init(0) Optimization +Common Var(flag_sel_sched_pipelining_outer_loops) Init(0) Optimization Perform software pipelining of outer loops during selective scheduling. fsel-sched-reschedule-pipelined -Common Report Var(flag_sel_sched_reschedule_pipelined) Init(0) Optimization +Common Var(flag_sel_sched_reschedule_pipelined) Init(0) Optimization Reschedule pipelined regions without pipelining. fsemantic-interposition -Common Report Var(flag_semantic_interposition) Init(1) +Common Var(flag_semantic_interposition) Init(1) Allow interposing function (or variables) by ones with different semantics (or initializer) respectively by dynamic linker. ; sched_stalled_insns means that insns can be moved prematurely from the queue ; of stalled insns into the ready list. fsched-stalled-insns -Common Report Var(flag_sched_stalled_insns) Optimization UInteger +Common Var(flag_sched_stalled_insns) Optimization UInteger Allow premature scheduling of queued insns. fsched-stalled-insns= @@ -2502,7 +2502,7 @@ Common RejectNegative Joined UInteger Optimization ; premature removal from the queue of stalled insns into the ready list (has ; an effect only if the flag 'sched_stalled_insns' is set). fsched-stalled-insns-dep -Common Report Var(flag_sched_stalled_insns_dep,1) Init(1) Optimization UInteger +Common Var(flag_sched_stalled_insns_dep,1) Init(1) Optimization UInteger Set dependence distance checking in premature scheduling of queued insns. fsched-stalled-insns-dep= @@ -2510,31 +2510,31 @@ Common RejectNegative Joined UInteger Optimization -fsched-stalled-insns-dep=<number> Set dependence distance checking in premature scheduling of queued insns. fsched-group-heuristic -Common Report Var(flag_sched_group_heuristic) Init(1) Optimization +Common Var(flag_sched_group_heuristic) Init(1) Optimization Enable the group heuristic in the scheduler. fsched-critical-path-heuristic -Common Report Var(flag_sched_critical_path_heuristic) Init(1) Optimization +Common Var(flag_sched_critical_path_heuristic) Init(1) Optimization Enable the critical path heuristic in the scheduler. fsched-spec-insn-heuristic -Common Report Var(flag_sched_spec_insn_heuristic) Init(1) Optimization +Common Var(flag_sched_spec_insn_heuristic) Init(1) Optimization Enable the speculative instruction heuristic in the scheduler. fsched-rank-heuristic -Common Report Var(flag_sched_rank_heuristic) Init(1) Optimization +Common Var(flag_sched_rank_heuristic) Init(1) Optimization Enable the rank heuristic in the scheduler. fsched-last-insn-heuristic -Common Report Var(flag_sched_last_insn_heuristic) Init(1) Optimization +Common Var(flag_sched_last_insn_heuristic) Init(1) Optimization Enable the last instruction heuristic in the scheduler. fsched-dep-count-heuristic -Common Report Var(flag_sched_dep_count_heuristic) Init(1) Optimization +Common Var(flag_sched_dep_count_heuristic) Init(1) Optimization Enable the dependent count heuristic in the scheduler. fsection-anchors -Common Report Var(flag_section_anchors) Optimization +Common Var(flag_section_anchors) Optimization Access data in the same section from shared anchor points. fsee @@ -2546,68 +2546,68 @@ Common Ignore Does nothing. Preserved for backward compatibility. free -Common Report Var(flag_ree) Init(0) Optimization +Common Var(flag_ree) Init(0) Optimization Turn on Redundant Extensions Elimination pass. fshow-column -Common Report Var(flag_show_column) Init(1) +Common Var(flag_show_column) Init(1) Show column numbers in diagnostics, when available. Default on. fshrink-wrap -Common Report Var(flag_shrink_wrap) Optimization +Common Var(flag_shrink_wrap) Optimization Emit function prologues only before parts of the function that need it, rather than at the top of the function. fshrink-wrap-separate -Common Report Var(flag_shrink_wrap_separate) Init(1) Optimization +Common Var(flag_shrink_wrap_separate) Init(1) Optimization Shrink-wrap parts of the prologue and epilogue separately. fsignaling-nans -Common Report Var(flag_signaling_nans) Optimization SetByCombined +Common Var(flag_signaling_nans) Optimization SetByCombined Disable optimizations observable by IEEE signaling NaNs. fsigned-zeros -Common Report Var(flag_signed_zeros) Init(1) Optimization SetByCombined +Common Var(flag_signed_zeros) Init(1) Optimization SetByCombined Disable floating point optimizations that ignore the IEEE signedness of zero. fsingle-precision-constant -Common Report Var(flag_single_precision_constant) Optimization +Common Var(flag_single_precision_constant) Optimization Convert floating point constants to single precision constants. fsplit-ivs-in-unroller -Common Report Var(flag_split_ivs_in_unroller) Init(1) Optimization +Common Var(flag_split_ivs_in_unroller) Init(1) Optimization Split lifetimes of induction variables when loops are unrolled. fsplit-stack -Common Report Var(flag_split_stack) Init(-1) +Common Var(flag_split_stack) Init(-1) Generate discontiguous stack frames. fsplit-wide-types -Common Report Var(flag_split_wide_types) Optimization +Common Var(flag_split_wide_types) Optimization Split wide types into independent registers. fsplit-wide-types-early -Common Report Var(flag_split_wide_types_early) Optimization +Common Var(flag_split_wide_types_early) Optimization Split wide types into independent registers earlier. fssa-backprop -Common Report Var(flag_ssa_backprop) Init(1) Optimization +Common Var(flag_ssa_backprop) Init(1) Optimization Enable backward propagation of use properties at the SSA level. fssa-phiopt -Common Report Var(flag_ssa_phiopt) Optimization +Common Var(flag_ssa_phiopt) Optimization Optimize conditional patterns using SSA PHI nodes. fstdarg-opt -Common Report Var(flag_stdarg_opt) Init(1) Optimization +Common Var(flag_stdarg_opt) Init(1) Optimization Optimize amount of stdarg registers saved to stack at start of function. fvariable-expansion-in-unroller -Common Report Var(flag_variable_expansion_in_unroller) Optimization +Common Var(flag_variable_expansion_in_unroller) Optimization Apply variable expansion when loops are unrolled. fstack-check= -Common Report RejectNegative Joined Optimization +Common RejectNegative Joined Optimization -fstack-check=[no|generic|specific] Insert stack checking code into the program. fstack-check @@ -2615,7 +2615,7 @@ Common Alias(fstack-check=, specific, no) Insert stack checking code into the program. Same as -fstack-check=specific. fstack-clash-protection -Common Report Var(flag_stack_clash_protection) Optimization +Common Var(flag_stack_clash_protection) Optimization Insert code to probe each page of stack space as it is allocated to protect from stack-clash style attacks. @@ -2631,19 +2631,19 @@ Common RejectNegative Joined Var(common_deferred_options) Defer -fstack-limit-symbol=<name> Trap if the stack goes past symbol <name>. fstack-protector -Common Report Var(flag_stack_protect, 1) Init(-1) Optimization +Common Var(flag_stack_protect, 1) Init(-1) Optimization Use propolice as a stack protection method. fstack-protector-all -Common Report RejectNegative Var(flag_stack_protect, 2) Init(-1) Optimization +Common RejectNegative Var(flag_stack_protect, 2) Init(-1) Optimization Use a stack protection method for every function. fstack-protector-strong -Common Report RejectNegative Var(flag_stack_protect, 3) Init(-1) Optimization +Common RejectNegative Var(flag_stack_protect, 3) Init(-1) Optimization Use a smart stack protection method for certain functions. fstack-protector-explicit -Common Report RejectNegative Var(flag_stack_protect, 4) Optimization +Common RejectNegative Var(flag_stack_protect, 4) Optimization Use stack protection method only for functions with the stack_protect attribute. fstack-usage @@ -2659,35 +2659,35 @@ Does nothing. Preserved for backward compatibility. ; types do not alias expressions of certain other types. Only used ; if alias analysis (in general) is enabled. fstrict-aliasing -Common Report Var(flag_strict_aliasing) Optimization +Common Var(flag_strict_aliasing) Optimization Assume strict aliasing rules apply. fstrict-overflow -Common Report +Common Treat signed overflow as undefined. Negated as -fwrapv -fwrapv-pointer. fsync-libcalls -Common Report Var(flag_sync_libcalls) Init(1) +Common Var(flag_sync_libcalls) Init(1) Implement __atomic operations via libcalls to legacy __sync functions. fsyntax-only -Common Report Var(flag_syntax_only) +Common Var(flag_syntax_only) Check for syntax errors, then stop. ftest-coverage -Common Report Var(flag_test_coverage) +Common Var(flag_test_coverage) Create data files needed by \"gcov\". fthread-jumps -Common Report Var(flag_thread_jumps) Optimization +Common Var(flag_thread_jumps) Optimization Perform jump threading optimizations. ftime-report -Common Report Var(time_report) +Common Var(time_report) Report the time taken by each compiler pass. ftime-report-details -Common Report Var(time_report_details) +Common Var(time_report_details) Record times taken by sub-phases separately. ftls-model= @@ -2710,15 +2710,15 @@ EnumValue Enum(tls_model) String(local-exec) Value(TLS_MODEL_LOCAL_EXEC) ftoplevel-reorder -Common Report Var(flag_toplevel_reorder) Init(2) Optimization +Common Var(flag_toplevel_reorder) Init(2) Optimization Reorder top level functions, variables, and asms. ftracer -Common Report Var(flag_tracer) Optimization +Common Var(flag_tracer) Optimization Perform superblock formation via tail duplication. ftrampolines -Common Report Var(flag_trampolines) Init(0) +Common Var(flag_trampolines) Init(0) For targets that normally need trampolines for nested functions, always generate them instead of using descriptors. @@ -2726,19 +2726,19 @@ generate them instead of using descriptors. ; (user-visible) trap. This is the case, for example, in nonstop ; IEEE 754 arithmetic. ftrapping-math -Common Report Var(flag_trapping_math) Init(1) Optimization SetByCombined +Common Var(flag_trapping_math) Init(1) Optimization SetByCombined Assume floating-point operations can trap. ftrapv -Common Report Var(flag_trapv) Optimization +Common Var(flag_trapv) Optimization Trap for signed overflow in addition, subtraction and multiplication. ftree-ccp -Common Report Var(flag_tree_ccp) Optimization +Common Var(flag_tree_ccp) Optimization Enable SSA-CCP optimization on trees. ftree-bit-ccp -Common Report Var(flag_tree_bit_ccp) Optimization +Common Var(flag_tree_bit_ccp) Optimization Enable SSA-BIT-CCP optimization on trees. ftree-store-ccp @@ -2746,7 +2746,7 @@ Common Ignore Does nothing. Preserved for backward compatibility. ftree-ch -Common Report Var(flag_tree_ch) Optimization +Common Var(flag_tree_ch) Optimization Enable loop header copying on trees. ftree-coalesce-inlined-vars @@ -2754,7 +2754,7 @@ Common Ignore RejectNegative Does nothing. Preserved for backward compatibility. ftree-coalesce-vars -Common Report Var(flag_tree_coalesce_vars) Optimization +Common Var(flag_tree_coalesce_vars) Optimization Enable SSA coalescing of user variables. ftree-copyrename @@ -2762,7 +2762,7 @@ Common Ignore Does nothing. Preserved for backward compatibility. ftree-copy-prop -Common Report Var(flag_tree_copy_prop) Optimization +Common Var(flag_tree_copy_prop) Optimization Enable copy propagation on trees. ftree-store-copy-prop @@ -2770,64 +2770,64 @@ Common Ignore Does nothing. Preserved for backward compatibility. ftree-cselim -Common Report Var(flag_tree_cselim) Init(2) Optimization +Common Var(flag_tree_cselim) Init(2) Optimization Transform condition stores into unconditional ones. ftree-switch-conversion -Common Report Var(flag_tree_switch_conversion) Optimization +Common Var(flag_tree_switch_conversion) Optimization Perform conversions of switch initializations. ftree-dce -Common Report Var(flag_tree_dce) Optimization +Common Var(flag_tree_dce) Optimization Enable SSA dead code elimination optimization on trees. ftree-dominator-opts -Common Report Var(flag_tree_dom) Optimization +Common Var(flag_tree_dom) Optimization Enable dominator optimizations. ftree-tail-merge -Common Report Var(flag_tree_tail_merge) Optimization +Common Var(flag_tree_tail_merge) Optimization Enable tail merging on trees. ftree-dse -Common Report Var(flag_tree_dse) Optimization +Common Var(flag_tree_dse) Optimization Enable dead store elimination. ftree-forwprop -Common Report Var(flag_tree_forwprop) Init(1) Optimization +Common Var(flag_tree_forwprop) Init(1) Optimization Enable forward propagation on trees. ftree-fre -Common Report Var(flag_tree_fre) Optimization +Common Var(flag_tree_fre) Optimization Enable Full Redundancy Elimination (FRE) on trees. foptimize-strlen -Common Report Var(flag_optimize_strlen) Optimization +Common Var(flag_optimize_strlen) Optimization Enable string length optimizations on trees. fisolate-erroneous-paths-dereference -Common Report Var(flag_isolate_erroneous_paths_dereference) Optimization +Common Var(flag_isolate_erroneous_paths_dereference) Optimization Detect paths that trigger erroneous or undefined behavior due to dereferencing a null pointer. Isolate those paths from the main control flow and turn the statement with erroneous or undefined behavior into a trap. fisolate-erroneous-paths-attribute -Common Report Var(flag_isolate_erroneous_paths_attribute) Optimization +Common Var(flag_isolate_erroneous_paths_attribute) Optimization Detect paths that trigger erroneous or undefined behavior due to a null value being used in a way forbidden by a returns_nonnull or nonnull attribute. Isolate those paths from the main control flow and turn the statement with erroneous or undefined behavior into a trap. ftree-loop-distribution -Common Report Var(flag_tree_loop_distribution) Optimization +Common Var(flag_tree_loop_distribution) Optimization Enable loop distribution on trees. ftree-loop-distribute-patterns -Common Report Var(flag_tree_loop_distribute_patterns) Optimization +Common Var(flag_tree_loop_distribute_patterns) Optimization Enable loop distribution for patterns transformed into a library call. ftree-loop-im -Common Report Var(flag_tree_loop_im) Init(1) Optimization +Common Var(flag_tree_loop_im) Init(1) Optimization Enable loop invariant motion on trees. ftree-loop-linear @@ -2835,35 +2835,35 @@ Common Alias(floop-nest-optimize) Enable loop nest transforms. Same as -floop-nest-optimize. ftree-loop-ivcanon -Common Report Var(flag_tree_loop_ivcanon) Init(1) Optimization +Common Var(flag_tree_loop_ivcanon) Init(1) Optimization Create canonical induction variables in loops. ftree-loop-optimize -Common Report Var(flag_tree_loop_optimize) Init(1) Optimization +Common Var(flag_tree_loop_optimize) Init(1) Optimization Enable loop optimizations on tree level. ftree-parallelize-loops= -Common Report Joined RejectNegative UInteger Var(flag_tree_parallelize_loops) Init(1) Optimization +Common Joined RejectNegative UInteger Var(flag_tree_parallelize_loops) Init(1) Optimization -ftree-parallelize-loops=<number> Enable automatic parallelization of loops. ftree-phiprop -Common Report Var(flag_tree_phiprop) Init(1) Optimization +Common Var(flag_tree_phiprop) Init(1) Optimization Enable hoisting loads from conditional pointers. ftree-pre -Common Report Var(flag_tree_pre) Optimization +Common Var(flag_tree_pre) Optimization Enable SSA-PRE optimization on trees. ftree-partial-pre -Common Report Var(flag_tree_partial_pre) Optimization +Common Var(flag_tree_partial_pre) Optimization In SSA-PRE optimization on trees, enable partial-partial redundancy elimination. ftree-pta -Common Report Var(flag_tree_pta) Optimization +Common Var(flag_tree_pta) Optimization Perform function-local points-to analysis on trees. ftree-reassoc -Common Report Var(flag_tree_reassoc) Init(1) Optimization +Common Var(flag_tree_reassoc) Init(1) Optimization Enable reassociation on tree level. ftree-salias @@ -2871,31 +2871,31 @@ Common Ignore Does nothing. Preserved for backward compatibility. ftree-sink -Common Report Var(flag_tree_sink) Optimization +Common Var(flag_tree_sink) Optimization Enable SSA code sinking on trees. ftree-slsr -Common Report Var(flag_tree_slsr) Optimization +Common Var(flag_tree_slsr) Optimization Perform straight-line strength reduction. ftree-sra -Common Report Var(flag_tree_sra) Optimization +Common Var(flag_tree_sra) Optimization Perform scalar replacement of aggregates. ftree-ter -Common Report Var(flag_tree_ter) Optimization +Common Var(flag_tree_ter) Optimization Replace temporary expressions in the SSA->normal pass. ftree-lrs -Common Report Var(flag_tree_live_range_split) Optimization +Common Var(flag_tree_live_range_split) Optimization Perform live range splitting during the SSA->normal pass. ftree-vrp -Common Report Var(flag_tree_vrp) Init(0) Optimization +Common Var(flag_tree_vrp) Init(0) Optimization Perform Value Range Propagation on trees. fsplit-paths -Common Report Var(flag_split_paths) Init(0) Optimization +Common Var(flag_split_paths) Init(0) Optimization Split paths leading to loop backedges. funconstrained-commons @@ -2904,15 +2904,15 @@ Assume common declarations may be overridden with ones with a larger trailing array. funit-at-a-time -Common Report Var(flag_unit_at_a_time) Init(1) +Common Var(flag_unit_at_a_time) Init(1) Compile whole compilation unit at a time. funroll-loops -Common Report Var(flag_unroll_loops) Optimization +Common Var(flag_unroll_loops) Optimization Perform loop unrolling when iteration count is known. funroll-all-loops -Common Report Var(flag_unroll_all_loops) Optimization +Common Var(flag_unroll_all_loops) Optimization Perform loop unrolling for all loops. funroll-completely-grow-size @@ -2927,12 +2927,12 @@ Common Ignore Does nothing. Preserved for backward compatibility. fassociative-math -Common Report Var(flag_associative_math) SetByCombined Optimization +Common Var(flag_associative_math) SetByCombined Optimization Allow optimization for floating-point arithmetic which may change the result of the operation due to rounding. freciprocal-math -Common Report Var(flag_reciprocal_math) SetByCombined Optimization +Common Var(flag_reciprocal_math) SetByCombined Optimization Same as -fassociative-math for expressions which include division. ; Nonzero means that unsafe floating-point math optimizations are allowed @@ -2940,23 +2940,23 @@ Same as -fassociative-math for expressions which include division. ; are allowed to assume that their arguments and results are "normal" ; (e.g., nonnegative for SQRT). funsafe-math-optimizations -Common Report Var(flag_unsafe_math_optimizations) Optimization SetByCombined +Common Var(flag_unsafe_math_optimizations) Optimization SetByCombined Allow math optimizations that may violate IEEE or ISO standards. funswitch-loops -Common Report Var(flag_unswitch_loops) Optimization +Common Var(flag_unswitch_loops) Optimization Perform loop unswitching. fsplit-loops -Common Report Var(flag_split_loops) Optimization +Common Var(flag_split_loops) Optimization Perform loop splitting. fversion-loops-for-strides -Common Report Var(flag_version_loops_for_strides) Optimization +Common Var(flag_version_loops_for_strides) Optimization Version loops based on whether indices have a stride of one. funwind-tables -Common Report Var(flag_unwind_tables) Optimization +Common Var(flag_unwind_tables) Optimization Just generate unwind tables for exception handling. fuse-ld=bfd @@ -2980,7 +2980,7 @@ Common Undocumented Var(flag_use_linker_plugin) ; will be set according to optimize, debug_info_level and debug_hooks ; in process_options (). fvar-tracking -Common Report Var(flag_var_tracking) Init(2) PerFunction +Common Var(flag_var_tracking) Init(2) PerFunction Perform variable tracking. ; Positive if we should track variables at assignments, negative if @@ -2988,13 +2988,13 @@ Perform variable tracking. ; annotations. When flag_var_tracking_assignments == ; AUTODETECT_VALUE it will be set according to flag_var_tracking. fvar-tracking-assignments -Common Report Var(flag_var_tracking_assignments) Init(2) PerFunction +Common Var(flag_var_tracking_assignments) Init(2) PerFunction Perform variable tracking by annotating assignments. ; Nonzero if we should toggle flag_var_tracking_assignments after ; processing options and computing its default. */ fvar-tracking-assignments-toggle -Common Report Var(flag_var_tracking_assignments_toggle) PerFunction +Common Var(flag_var_tracking_assignments_toggle) PerFunction Toggle -fvar-tracking-assignments. ; Positive if we should track uninitialized variables, negative if @@ -3002,12 +3002,12 @@ Toggle -fvar-tracking-assignments. ; annotations. When flag_var_tracking_uninit == AUTODETECT_VALUE it ; will be set according to flag_var_tracking. fvar-tracking-uninit -Common Report Var(flag_var_tracking_uninit) PerFunction +Common Var(flag_var_tracking_uninit) PerFunction Perform variable tracking and also tag variables that are uninitialized. ; Alias to enable both -ftree-loop-vectorize and -ftree-slp-vectorize. ftree-vectorize -Common Report Optimization +Common Optimization Enable vectorization on trees. ftree-vectorizer-verbose= @@ -3015,11 +3015,11 @@ Common Joined RejectNegative Ignore Does nothing. Preserved for backward compatibility. ftree-loop-vectorize -Common Report Var(flag_tree_loop_vectorize) Optimization EnabledBy(ftree-vectorize) +Common Var(flag_tree_loop_vectorize) Optimization EnabledBy(ftree-vectorize) Enable loop vectorization on trees. ftree-slp-vectorize -Common Report Var(flag_tree_slp_vectorize) Optimization EnabledBy(ftree-vectorize) +Common Var(flag_tree_slp_vectorize) Optimization EnabledBy(ftree-vectorize) Enable basic block vectorization (SLP) on trees. fvect-cost-model= @@ -3054,7 +3054,7 @@ Common Ignore Does nothing. Preserved for backward compatibility. ftree-scev-cprop -Common Report Var(flag_tree_scev_cprop) Init(1) Optimization +Common Var(flag_tree_scev_cprop) Init(1) Optimization Enable copy propagation of scalar-evolution information. ; -fverbose-asm causes extra commentary information to be produced in @@ -3064,7 +3064,7 @@ Enable copy propagation of scalar-evolution information. ; -fno-verbose-asm, the default, causes the extra information ; to not be added and is useful when comparing two assembler files. fverbose-asm -Common Report Var(flag_verbose_asm) +Common Var(flag_verbose_asm) Add extra commentary to assembler output. fvisibility= @@ -3111,35 +3111,35 @@ Common Var(flag_vtv_debug) Output vtable verification pointer sets information. fvpt -Common Report Var(flag_value_profile_transformations) Optimization +Common Var(flag_value_profile_transformations) Optimization Use expression value profiles in optimizations. fweb -Common Report Var(flag_web) Init(2) Optimization +Common Var(flag_web) Init(2) Optimization Construct webs and split unrelated uses of single variable. ftree-builtin-call-dce -Common Report Var(flag_tree_builtin_call_dce) Init(0) Optimization +Common Var(flag_tree_builtin_call_dce) Init(0) Optimization Enable conditional dead code elimination for builtin calls. fwhole-program -Common Report Var(flag_whole_program) Init(0) +Common Var(flag_whole_program) Init(0) Perform whole program optimizations. fwrapv-pointer -Common Report Var(flag_wrapv_pointer) Optimization +Common Var(flag_wrapv_pointer) Optimization Assume pointer overflow wraps around. fwrapv -Common Report Var(flag_wrapv) Optimization +Common Var(flag_wrapv) Optimization Assume signed arithmetic overflow wraps around. fzero-initialized-in-bss -Common Report Var(flag_zero_initialized_in_bss) Init(1) +Common Var(flag_zero_initialized_in_bss) Init(1) Put zero initialized data in the bss section. fzero-call-used-regs= -Common Report RejectNegative Joined +Common RejectNegative Joined Clear call-used registers upon function return. g @@ -3239,15 +3239,15 @@ Common Driver Var(debug_nonbind_markers_p) Init(2) Emit progressive recommended breakpoint locations. gstrict-dwarf -Common Driver Report Var(dwarf_strict) Init(0) +Common Driver Var(dwarf_strict) Init(0) Don't emit DWARF additions beyond selected version. gdescribe-dies -Common Driver Report Var(flag_describe_dies) Init(0) +Common Driver Var(flag_describe_dies) Init(0) Add description attributes to some DWARF DIEs that have no name attribute. gtoggle -Common Driver Report Var(flag_gtoggle) +Common Driver Var(flag_gtoggle) Toggle debug information generation. gvariable-location-views @@ -3491,7 +3491,7 @@ z Driver Joined Separate fipa-ra -Common Report Var(flag_ipa_ra) Optimization +Common Var(flag_ipa_ra) Optimization Use caller save register across calls if possible. ; This comment is to ensure we retain the blank line above. |