summaryrefslogtreecommitdiff
path: root/gcc/loop-init.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-31 10:42:59 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-31 10:42:59 +0000
commitc7127ebec19c3609382b3b30c66cb0d6d2714dde (patch)
treed5d4f25d9eb618f4e13cd1429ed3351a8cdb4dd9 /gcc/loop-init.c
parent2ad946d3d49e359dc588f3e0a6832e15dfb6a565 (diff)
downloadgcc-c7127ebec19c3609382b3b30c66cb0d6d2714dde.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236915 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-init.c')
-rw-r--r--gcc/loop-init.c2
1 files changed, 1 insertions, 1 deletions
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 *);