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/toplev.c | |
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/toplev.c')
-rw-r--r-- | gcc/toplev.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 167feac..81546b1 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1331,13 +1331,6 @@ process_options (bool no_backend) flag_abi_version = 2; } - /* web and rename-registers help when run after loop unrolling. */ - if (!OPTION_SET_P (flag_web)) - flag_web = flag_unroll_loops; - - if (!OPTION_SET_P (flag_rename_registers)) - flag_rename_registers = flag_unroll_loops; - if (flag_non_call_exceptions) flag_asynchronous_unwind_tables = 1; if (flag_asynchronous_unwind_tables) |