]> gcc.gnu.org Git - gcc.git/commit
re PR tree-optimization/56350 (ICE in vectorizable_reduction, at tree-vect-loop.c...
authorRichard Biener <rguenther@suse.de>
Mon, 18 Feb 2013 13:03:15 +0000 (13:03 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 18 Feb 2013 13:03:15 +0000 (13:03 +0000)
commit6aaf596b4072d0864dbe853626f5838bc58922f0
treefa9d3fe97ade8428e04dda97cbfe0aa6c5a1329e
parent5e97dfb679abcb5abf5381050d8f754b3289bce6
re PR tree-optimization/56350 (ICE in vectorizable_reduction, at tree-vect-loop.c:4731)

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

PR middle-end/56350
* cfghooks.c (merge_blocks): If we merge a latch into another
block adjust references to it.
* cfgloop.c (flow_loops_find): Reset latch before recomputing it.
(verify_loop_structure): Verify that a recorded latch is in fact
a latch.

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

From-SVN: r196118
gcc/ChangeLog
gcc/cfghooks.c
gcc/cfgloop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr56350.c [new file with mode: 0644]
This page took 0.058884 seconds and 5 git commands to generate.