diff options
author | Martin Liska <mliska@suse.cz> | 2021-10-12 16:05:49 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-10-13 15:02:43 +0200 |
commit | e415bc4c035b1b655cf2cafcbe515382d1cefc93 (patch) | |
tree | 03fb7965fb001d52d8a39fe0955c79ba6b6092b5 /gcc/common.opt | |
parent | 3c0194d7ff21d61c02f3c6b111c83ef24a69e1f0 (diff) | |
download | gcc-e415bc4c035b1b655cf2cafcbe515382d1cefc93.zip gcc-e415bc4c035b1b655cf2cafcbe515382d1cefc93.tar.gz gcc-e415bc4c035b1b655cf2cafcbe515382d1cefc93.tar.bz2 |
Fix handling of flag_rename_registers by a target.
PR target/102688
gcc/ChangeLog:
* common.opt: Use EnabledBy instead of detection in
finish_options and process_options.
* opts.c (finish_options): Remove handling of
x_flag_unroll_all_loops.
* toplev.c (process_options): Likewise for flag_web and
flag_rename_registers.
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 4099eff..1eedfea 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -2399,7 +2399,7 @@ Common Var(flag_live_range_shrinkage) Init(0) Optimization Relief of register pressure through live range shrinkage. frename-registers -Common Var(flag_rename_registers) Optimization +Common Var(flag_rename_registers) Optimization EnabledBy(funroll-loops) Perform a register renaming optimization pass. fschedule-fusion @@ -2935,7 +2935,7 @@ Common Var(flag_unit_at_a_time) Init(1) Compile whole compilation unit at a time. funroll-loops -Common Var(flag_unroll_loops) Optimization +Common Var(flag_unroll_loops) Optimization EnabledBy(funroll-all-loops) Perform loop unrolling when iteration count is known. funroll-all-loops @@ -3158,7 +3158,7 @@ Common Var(flag_value_profile_transformations) Optimization Use expression value profiles in optimizations. fweb -Common Var(flag_web) Optimization +Common Var(flag_web) Optimization EnabledBy(funroll-loops) Construct webs and split unrelated uses of single variable. ftree-builtin-call-dce |