]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ChangeLog
re PR rtl-optimization/56181 (ICE in verify_loop_structure, at cfgloop.c:1581 with...
authorRichard Biener <rguenther@suse.de>
Fri, 8 Feb 2013 11:00:26 +0000 (11:00 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 8 Feb 2013 11:00:26 +0000 (11:00 +0000)
commit0375167b6c15a60dc2b974b2654a8ff1dbe7160a
tree81c148d9e2f62306dffd098afe34e256d86ec31e
parent85d768f349087f3766ff84054ec7b3403c52ac7a
re PR rtl-optimization/56181 (ICE in verify_loop_structure, at cfgloop.c:1581 with -ftracer)

2013-02-08  Richard Biener  <rguenther@suse.de>

PR middle-end/56181
* cfgloop.h (flow_loops_find): Adjust.
(bb_loop_header_p): Declare.
* cfgloop.c (bb_loop_header_p): New function split out from ...
(flow_loops_find): ... here.  Adjust function signature,
support incremental loop structure update.
(verify_loop_structure): Cleanup.  Verify a loop is a loop.
* cfgloopmanip.c (fix_loop_structure): Move ...
* loop-init.c (fix_loop_structure): ... here.
(apply_loop_flags): Split out from ...
(loop_optimizer_init): ... here.
(fix_loop_structure): Use apply_loop_flags.  Use flow_loops_find
in incremental mode, only remove dead loops here.

* gcc.dg/torture/pr56181.c: New testcase.

From-SVN: r195879
gcc/ChangeLog
gcc/cfgloop.c
gcc/cfgloop.h
gcc/cfgloopmanip.c
gcc/loop-init.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr56181.c [new file with mode: 0644]