re PR tree-optimization/60280 (gcc.target/arm/ivopts.c and gcc.target/arm/ivopts...
commitfba7c56424a5ffc8e098c7b4638c19f2545ef2be
authorRichard Biener <rguenther@suse.de>
Fri, 28 Feb 2014 13:14:23 +0000 (28 13:14 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 28 Feb 2014 13:14:23 +0000 (28 13:14 +0000)
tree0023e9b450aa8229d6be88c990e0dbfb8631eb19
parent0618dee54e14e37e88ab4cf47e7372da8f333719
re PR tree-optimization/60280 (gcc.target/arm/ivopts.c and gcc.target/arm/ivopts-2.c failed caused by preserving loop structure.)

2014-02-28  Richard Biener  <rguenther@suse.de>

PR target/60280
* tree-cfgcleanup.c (tree_forwarder_block_p): Restrict
previous fix and only allow to remove trivial pre-headers
and latches.  Also honor LOOPS_MAY_HAVE_MULTIPLE_LATCHES.
(remove_forwarder_block): Properly update the latch of
a loop.

From-SVN: r208222
gcc/ChangeLog
gcc/tree-cfgcleanup.c