This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r194582 - in /trunk/gcc: ChangeLog cfgloopmanip...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 18 Dec 2012 14:39:50 -0000
- Subject: r194582 - in /trunk/gcc: ChangeLog cfgloopmanip...
Author: rguenth
Date: Tue Dec 18 14:39:49 2012
New Revision: 194582
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194582
Log:
2012-12-18 Richard Biener <rguenther@suse.de>
PR middle-end/54838
* cfgloopmanip.c (fix_loop_structure): Re-discover latch
edges first and mark loops for removal if no latch edges remain.
Properly re-create LOOPS_HAVE_FALLTHRU_PREHEADERS.
* loop-init.c (loop_optimizer_finalize): Set
LOOPS_MAY_HAVE_MULTIPLE_LATCHES.
* g++.dg/torture/pr54838.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr54838.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgloopmanip.c
trunk/gcc/loop-init.c
trunk/gcc/testsuite/ChangeLog