re PR tree-optimization/60280 (gcc.target/arm/ivopts.c and gcc.target/arm/ivopts...
authorBin Cheng <bin.cheng@arm.com>
Wed, 26 Feb 2014 01:49:35 +0000 (01:49 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 26 Feb 2014 01:49:35 +0000 (01:49 +0000)
commita3afdbb80906a5553a64f9ba7686a57d2f43f536
tree6950f4f889e9bdb8f3310b7162ef11948dcabffc
parentb8a542c64830635d1716130f41da4c7a165b5872
re PR tree-optimization/60280 (gcc.target/arm/ivopts.c and gcc.target/arm/ivopts-2.c failed caused by preserving loop structure.)

PR target/60280
* tree-cfgcleanup.c (tree_forwarder_block_p): Protect loop
preheaders and latches only if requested.  Fix latch if it
is removed.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Set
LOOPS_HAVE_PREHEADERS.

PR target/60280
* gnat.dg/renaming5.adb: Change to two expected gotos.
* gcc.dg/tree-ssa/pr21559.c: Change back to three expected
jump threads.
* gcc.dg/tree-prof/update-loopch.c: Check two "Invalid sum"
messages for removed basic block.
* gcc.dg/tree-ssa/ivopt_1.c: Fix unreliable scanning string.
* gcc.dg/tree-ssa/ivopt_2.c: Ditto.
* gcc.dg/tree-ssa/ivopt_3.c: Ditto.
* gcc.dg/tree-ssa/ivopt_4.c: Ditto.

From-SVN: r208165
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/update-loopch.c
gcc/testsuite/gcc.dg/tree-ssa/ivopt_1.c
gcc/testsuite/gcc.dg/tree-ssa/ivopt_2.c
gcc/testsuite/gcc.dg/tree-ssa/ivopt_3.c
gcc/testsuite/gcc.dg/tree-ssa/ivopt_4.c
gcc/testsuite/gcc.dg/tree-ssa/pr21559.c
gcc/testsuite/gnat.dg/renaming5.adb
gcc/tree-cfgcleanup.c
gcc/tree-ssa-dom.c