X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gcc%2Fcommon.opt;h=be6fe4f35d2ed894697b39cdcbe9decc454e8d63;hb=7e8d1b2d1ef3ab73a6123b0fa5000e4675752d97;hp=6de670b8ae536e4e886d0ff2ee97af6439ebbe65;hpb=37e5402bb30e9c81fa62393c112f56a5cfe42e16;p=gcc.git diff --git a/gcc/common.opt b/gcc/common.opt index 6de670b8ae5..be6fe4f35d2 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -348,6 +348,9 @@ Driver Alias(print-multi-lib) -print-multi-os-directory Driver Alias(print-multi-os-directory) +-print-multiarch +Driver Alias(print-multiarch) + -print-prog-name Driver Separate Alias(print-prog-name=) @@ -609,7 +612,7 @@ Common Warning Warn about code which might break strict aliasing rules Wstrict-aliasing= -Common Joined RejectNegative UInteger Var(warn_strict_aliasing) Init(-1) Warning +Common Joined RejectNegative UInteger Var(warn_strict_aliasing) Warning Warn about code which might break strict aliasing rules Wstrict-overflow @@ -617,7 +620,7 @@ Common Warning Warn about optimizations that assume that signed overflow is undefined Wstrict-overflow= -Common Joined RejectNegative UInteger Var(warn_strict_overflow) Init(-1) Warning +Common Joined RejectNegative UInteger Var(warn_strict_overflow) Warning Warn about optimizations that assume that signed overflow is undefined Wsuggest-attribute=const @@ -632,18 +635,6 @@ Wsuggest-attribute=noreturn Common Var(warn_suggest_attribute_noreturn) Warning Warn about functions which might be candidates for __attribute__((noreturn)) -Wswitch -Common Var(warn_switch) Warning -Warn about enumerated switches, with no default, missing a case - -Wswitch-default -Common Var(warn_switch_default) Warning -Warn about enumerated switches missing a \"default:\" statement - -Wswitch-enum -Common Var(warn_switch_enum) Warning -Warn about all enumerated switches missing a specific case - Wsystem-headers Common Var(warn_system_headers) Warning Do not suppress warnings from system headers @@ -673,7 +664,7 @@ Common Var(warn_unused) Init(0) Warning Enable all -Wunused- warnings Wunused-but-set-parameter -Common Var(warn_unused_but_set_parameter) Init(-1) Warning +Common Var(warn_unused_but_set_parameter) Warning EnabledBy(Wunused && Wextra) Warn when a function parameter is only set, otherwise unused Wunused-but-set-variable @@ -689,7 +680,7 @@ Common Var(warn_unused_label) Warning EnabledBy(Wunused) Warn when a label is unused Wunused-parameter -Common Var(warn_unused_parameter) Init(-1) Warning +Common Var(warn_unused_parameter) Warning EnabledBy(Wunused && Wextra) Warn when a function parameter is unused Wunused-value @@ -849,6 +840,10 @@ fargument-noalias-anything Common Ignore Does nothing. Preserved for backward compatibility. +faddress-sanitizer +Common Report Var(flag_asan) +Enable AddressSanitizer, a memory error detector + fasynchronous-unwind-tables Common Report Var(flag_asynchronous_unwind_tables) Optimization Generate unwind tables that are exact at each instruction boundary @@ -1392,6 +1387,11 @@ Enum(ira_region) String(all) Value(IRA_REGION_ALL) EnumValue Enum(ira_region) String(mixed) Value(IRA_REGION_MIXED) +fira-hoist-pressure +Common Report 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) Use IRA based register pressure calculation @@ -1586,19 +1586,19 @@ Common Report Var(flag_peephole2) Optimization Enable an RTL peephole pass before sched2 fPIC -Common Report Var(flag_pic,2) +Common Report Var(flag_pic,2) Negative(fPIE) Generate position-independent code if possible (large mode) fPIE -Common Report Var(flag_pie,2) +Common Report Var(flag_pie,2) Negative(fpic) Generate position-independent code for executables if possible (large mode) fpic -Common Report Var(flag_pic,1) +Common Report Var(flag_pic,1) Negative(fpie) Generate position-independent code if possible (small mode) fpie -Common Report Var(flag_pie,1) +Common Report Var(flag_pie,1) Negative(fPIC) Generate position-independent code for executables if possible (small mode) fplugin= @@ -2196,6 +2196,10 @@ fvar-tracking-assignments-toggle Common Report Var(flag_var_tracking_assignments_toggle) Optimization Toggle -fvar-tracking-assignments +; Positive if we should track uninitialized variables, negative if +; we should run the var-tracking pass only to discard debug +; 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) Optimization Perform variable tracking and also tag variables that are uninitialized @@ -2309,6 +2313,14 @@ grecord-gcc-switches Common RejectNegative Var(dwarf_record_gcc_switches,1) Record gcc command line switches in DWARF DW_AT_producer. +gno-split-dwarf +Common Driver RejectNegative Var(dwarf_split_debug_info,0) Init(0) +Don't generate debug information in separate .dwo files + +gsplit-dwarf +Common Driver RejectNegative Var(dwarf_split_debug_info,1) +Generate debug information in separate .dwo files + gstabs Common JoinedOrMissing Negative(gstabs+) Generate debug information in STABS format @@ -2348,6 +2360,10 @@ iplugindir= Common Joined Var(plugindir_string) Init(0) -iplugindir= Set to be the default plugin directory +imultiarch +Common Joined Separate RejectDriver Var(imultiarch) Init(0) +-imultiarch Set to be the multiarch include subdirectory + l Driver Joined Separate @@ -2404,6 +2420,9 @@ Driver Var(print_multi_lib) print-multi-os-directory Driver Var(print_multi_os_directory) + +print-multiarch +Driver Var(print_multiarch) print-prog-name= Driver JoinedOrMissing Var(print_prog_name) @@ -2497,6 +2516,9 @@ static-libgo Driver ; Documented for Go, but always accepted by driver. +static-libasan +Driver + symbolic Driver