2013-02-11 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Feb 2013 15:07:40 +0000 (15:07 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Feb 2013 15:07:40 +0000 (15:07 +0000)
commitb6f3c6f1b86fd50a17464a642d557b8dac852eab
tree51f6d16e5f451e7162e917a8e60c40e7bd15004f
parent4d73937862a9c0ec5ae01927f946f0ccadc4b961
2013-02-11  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56264
* cfgloop.h (fix_loop_structure): Adjust prototype.
* loop-init.c (fix_loop_structure): Return the number of
newly discovered loops.
* tree-cfgcleanup.c (repair_loop_structures): When new loops
are discovered, do a full loop-closed SSA rewrite.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195941 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgloop.h
gcc/loop-init.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr56264.c [new file with mode: 0644]
gcc/tree-cfgcleanup.c