diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-08 12:01:50 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-08 12:01:50 +0000 |
commit | 21cf8b79605f1cce9d5039e28efd5d36322d973a (patch) | |
tree | ae558fb3673982563bad8ffee2ad384c8e98e649 /gcc/cfgloop.c | |
parent | e8d579820dd22691f8ab1a567810dabd0407c85a (diff) | |
download | gcc-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.c | 2 |
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); |