X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gcc%2Fcommon.opt;h=1b770bc11a96afd8ff21e5ddd95ee21322eb3d6e;hb=1a59f3db4a4174d02256be51e9e08e9c68478a41;hp=fa9da505fc2766794e731312ef6394f75a940d82;hpb=ea0b12523d0d9a9059b5173ce9653b92ddfb284f;p=gcc.git diff --git a/gcc/common.opt b/gcc/common.opt index fa9da505fc2..1b770bc11a9 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -188,6 +188,12 @@ const char *main_input_basename Variable int main_input_baselength +; The base name used for auxiliary output files. +; dump_base_name minus dump_base_ext. + +Variable +const char *aux_base_name + ; Which options have been printed by --help. Variable char *help_printed @@ -252,10 +258,13 @@ Common Separate Alias(d) Common Joined Alias(d) -dumpbase -Common Separate Alias(dumpbase) +Driver Common Separate Alias(dumpbase) + +-dumpbase-ext +Driver Common Separate Alias(dumpbase-ext) -dumpdir -Common Separate Alias(dumpdir) +Driver Common Separate Alias(dumpdir) -entry Driver Separate Alias(e) @@ -601,6 +610,10 @@ Wframe-larger-than= Common RejectNegative Joined Host_Wide_Int ByteSize Warning Var(warn_frame_larger_than_size) Init(HOST_WIDE_INT_MAX) -Wframe-larger-than= Warn if a function's stack frame requires in excess of . +Wno-frame-larger-than +Common Alias(Wframe-larger-than=,18446744073709551615EiB,none) Warning +Disable -Wframe-larger-than= warning. Equivalent to -Wframe-larger-than= or larger. + Wfree-nonheap-object Common Var(warn_free_nonheap_object) Init(1) Warning Warn when attempting to free a non-heap object. @@ -631,6 +644,10 @@ Wlarger-than= Common RejectNegative Joined Host_Wide_Int ByteSize Warning Var(warn_larger_than_size) Init(HOST_WIDE_INT_MAX) -Wlarger-than= Warn if an object's size exceeds . +Wno-larger-than +Common Alias(Wlarger-than=,18446744073709551615EiB,none) Warning +Disable -Wlarger-than= warning. Equivalent to -Wlarger-than= or larger. + Wnonnull-compare Var(warn_nonnull_compare) Warning Warn if comparing pointer parameter with nonnull attribute with NULL. @@ -704,6 +721,10 @@ Wstack-usage= Common Joined RejectNegative Host_Wide_Int ByteSize Var(warn_stack_usage) Warning Init(HOST_WIDE_INT_MAX) -Wstack-usage= Warn if stack usage might exceed . +Wno-stack-usage +Common Alias(Wstack-usage=,18446744073709551615EiB,none) Warning +Disable Wstack-usage= warning. Equivalent to Wstack-usage= or larger. + Wstrict-aliasing Common Warning Warn about code which might break strict aliasing rules. @@ -840,12 +861,6 @@ Common Separate Var(aux_info_file_name) aux-info= Common Joined Alias(aux-info) -auxbase -Common Separate RejectDriver Var(aux_base_name) - -auxbase-strip -Common Separate RejectDriver - coverage Driver @@ -857,11 +872,15 @@ Common Joined -d Enable dumps from specific passes of the compiler. dumpbase -Common Separate Var(dump_base_name) +Driver Common Separate Var(dump_base_name) -dumpbase Set the file basename to be used for dumps. +dumpbase-ext +Driver Common Separate Var(dump_base_ext) +-dumpbase-ext . Drop a trailing . from the dump basename to name auxiliary output files. + dumpdir -Common Separate Var(dump_dir_name) +Driver Common Separate Var(dump_dir_name) -dumpdir Set the directory name to be used for dumps. dumpmachine @@ -1196,11 +1215,11 @@ Common RejectNegative Joined Var(common_deferred_options) Defer fdebug-prefix-map= Common Joined RejectNegative Var(common_deferred_options) Defer --fdebug-prefix-map== Map one directory name to another in debug information. +-fdebug-prefix-map== Map one directory name to another in debug information. ffile-prefix-map= Common Joined RejectNegative Var(common_deferred_options) Defer --ffile-prefix-map== Map one directory name to another in compilation result. +-ffile-prefix-map== Map one directory name to another in compilation result. fdebug-types-section Common Report Var(flag_debug_types_section) Init(0) @@ -1311,7 +1330,7 @@ Enum(diagnostic_url_rule) String(auto) Value(DIAGNOSTICS_URL_AUTO) fdiagnostics-format= Common Joined RejectNegative Enum(diagnostics_output_format) --fdiagnostics-format=[text|json] Select output format. +-fdiagnostics-format=[text|json] Select output format. ; Required for these enum values. SourceInclude @@ -1368,11 +1387,11 @@ Set minimum width of left margin of source code when showing source. fdisable- Common Joined RejectNegative Var(common_deferred_options) Defer --fdisable-[tree|rtl|ipa]-=range1+range2 disables an optimization pass. +-fdisable-[tree|rtl|ipa]-=range1+range2 Disable an optimization pass. fenable- Common Joined RejectNegative Var(common_deferred_options) Defer --fenable-[tree|rtl|ipa]-=range1+range2 enables an optimization pass. +-fenable-[tree|rtl|ipa]-=range1+range2 Enable an optimization pass. fdump- Common Joined RejectNegative Var(common_deferred_options) Defer @@ -1490,7 +1509,7 @@ Common Report Var(flag_finite_math_only) Optimization SetByCombined Assume no NaNs or infinities are generated. ffinite-loops -Common Report Var(flag_finite_loops) Optimization +Common Report Var(flag_finite_loops) Optimization Init(0) Assume that loops with an exit will terminate and not loop indefinitely. ffixed- @@ -1597,6 +1616,11 @@ fkeep-gc-roots-live Common Undocumented Report 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) +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 Mark all loops as parallel. @@ -1755,11 +1779,11 @@ Instrument function entry and exit with profiling calls. finstrument-functions-exclude-function-list= Common RejectNegative Joined --finstrument-functions-exclude-function-list=name,... Do not instrument listed functions. +-finstrument-functions-exclude-function-list=name,... Do not instrument listed functions. finstrument-functions-exclude-file-list= Common RejectNegative Joined --finstrument-functions-exclude-file-list=filename,... Do not instrument functions listed in files. +-finstrument-functions-exclude-file-list=filename,... Do not instrument functions listed in files. fipa-cp Common Report Var(flag_ipa_cp) Optimization @@ -2020,11 +2044,11 @@ Support synchronous non-call exceptions. foffload= Common Driver Joined MissingArgError(options or targets missing after %qs) --foffload== Specify offloading targets and options for them. +-foffload== Specify offloading targets and options for them. foffload-abi= Common Joined RejectNegative Enum(offload_abi) Var(flag_offload_abi) Init(OFFLOAD_ABI_UNSET) --foffload-abi=[lp64|ilp32] Set the ABI to use in an offload compiler. +-foffload-abi=[lp64|ilp32] Set the ABI to use in an offload compiler. Enum Name(offload_abi) Type(enum offload_abi) UnknownError(unknown offload ABI %qs) @@ -2182,7 +2206,7 @@ Enum(profile_reproducibility) String(multithreaded) Value(PROFILE_REPRODUCIBILIT fprofile-reproducible Common Joined RejectNegative Var(flag_profile_reproducible) Enum(profile_reproducibility) Init(PROFILE_REPRODUCIBILITY_SERIAL) --fprofile-reproducible=[serial|parallel-runs|multithreaded] Control level of reproducibility of profile gathered by -fprofile-generate. +-fprofile-reproducible=[serial|parallel-runs|multithreaded] Control level of reproducibility of profile gathered by -fprofile-generate. Enum Name(profile_update) Type(enum profile_update) UnknownError(unknown profile update method %qs) @@ -2196,6 +2220,10 @@ Enum(profile_update) String(atomic) Value(PROFILE_UPDATE_ATOMIC) EnumValue Enum(profile_update) String(prefer-atomic) Value(PROFILE_UPDATE_PREFER_ATOMIC) +fprofile-prefix-path= +Common Joined RejectNegative Var(profile_prefix_path) +Remove prefix from absolute path before mangling name for -fprofile-generate= and -fprofile-use=. + fprofile-generate Common Enable common options for generating profile info for profile feedback directed optimizations.