summaryrefslogtreecommitdiff
path: root/gcc/cfgloop.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-08 12:01:50 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-08 12:01:50 +0000
commit21cf8b79605f1cce9d5039e28efd5d36322d973a (patch)
treeae558fb3673982563bad8ffee2ad384c8e98e649 /gcc/cfgloop.c
parente8d579820dd22691f8ab1a567810dabd0407c85a (diff)
downloadgcc-21cf8b79605f1cce9d5039e28efd5d36322d973a.tar.gz
2014-09-08 Richard Biener <rguenther@suse.de>
PR bootstrap/63204 * cfgloop.c (mark_loop_for_removal): Track former header unconditionally. * cfgloop.h (struct loop): Add former_header member unconditionally. * loop-init.c (fix_loop_structure): Enable bogus loop removal diagnostic unconditionally. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215012 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloop.c')
-rw-r--r--gcc/cfgloop.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/cfgloop.c b/gcc/cfgloop.c
index 399420ddbde..6a488b3fefb 100644
--- a/gcc/cfgloop.c
+++ b/gcc/cfgloop.c
@@ -1927,9 +1927,7 @@ bb_loop_depth (const_basic_block bb)
void
mark_loop_for_removal (loop_p loop)
{
-#ifdef ENABLE_CHECKING
loop->former_header = loop->header;
-#endif
loop->header = NULL;
loop->latch = NULL;
loops_state_set (LOOPS_NEED_FIXUP);