aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-10-12 16:05:49 +0200
committerMartin Liska <mliska@suse.cz>2021-10-13 15:02:43 +0200
commite415bc4c035b1b655cf2cafcbe515382d1cefc93 (patch)
tree03fb7965fb001d52d8a39fe0955c79ba6b6092b5 /gcc/opts.c
parent3c0194d7ff21d61c02f3c6b111c83ef24a69e1f0 (diff)
downloadgcc-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/opts.c')
-rw-r--r--gcc/opts.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 2116c29..fc71b6e 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -1321,11 +1321,6 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set,
opts->x_flag_live_patching,
loc);
- /* Unrolling all loops implies that standard loop unrolling must also
- be done. */
- if (opts->x_flag_unroll_all_loops)
- opts->x_flag_unroll_loops = 1;
-
/* Allow cunroll to grow size accordingly. */
if (!opts_set->x_flag_cunroll_grow_size)
opts->x_flag_cunroll_grow_size