From: Jan Hubicka Date: Tue, 31 May 2016 10:42:59 +0000 (+0200) Subject: loop-init.c (gate): Do not enale RTL loop unroller with -fpeel-loops. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29d1d5ec6b49e5241fa0f382cbcb512b25d412ba;p=gcc.git loop-init.c (gate): Do not enale RTL loop unroller with -fpeel-loops. * loop-init.c (gate): Do not enale RTL loop unroller with -fpeel-loops. It no longer does that. * toplev.c (process_options): Do not enable flag_web with -fpeel-loops. From-SVN: r236915 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 81646c4920a..bb5b0c67462 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-05-31 Jan Hubicka + + * loop-init.c (gate): Do not enale RTL loop unroller with -fpeel-loops. + It no longer does that. + * toplev.c (process_options): Do not enable flag_web with -fpeel-loops. + 2016-05-31 Wladimir J. van der Laan * config/aarch64/arm_neon.h (vdupb_laneq_s8): Remove spurious diff --git a/gcc/loop-init.c b/gcc/loop-init.c index 86345918e53..8bd3a48ce64 100644 --- a/gcc/loop-init.c +++ b/gcc/loop-init.c @@ -560,7 +560,7 @@ public: /* opt_pass methods: */ virtual bool gate (function *) { - return (flag_peel_loops || flag_unroll_loops || flag_unroll_all_loops); + return (flag_unroll_loops || flag_unroll_all_loops); } virtual unsigned int execute (function *); diff --git a/gcc/toplev.c b/gcc/toplev.c index 580c03aa621..0aa7989adb0 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1296,7 +1296,7 @@ process_options (void) /* web and rename-registers help when run after loop unrolling. */ if (flag_web == AUTODETECT_VALUE) - flag_web = flag_unroll_loops || flag_peel_loops; + flag_web = flag_unroll_loops; if (flag_rename_registers == AUTODETECT_VALUE) flag_rename_registers = flag_unroll_loops || flag_peel_loops;