re PR tree-optimization/67470 (ICE at -O3 on x86_64-linux-gnu in compute_live_loop_ex...
authorRichard Biener <rguenther@suse.de>
Tue, 15 Sep 2015 14:10:10 +0000 (14:10 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 15 Sep 2015 14:10:10 +0000 (14:10 +0000)
commit4f912f91a095e78dc69ff875de4aeb41188c0655
tree9289336911f82646a605073e7d3d0ba579f084ae
parent20adfc6c1cdc9ab49f9c930e52c1bb1ca4e2f433
re PR tree-optimization/67470 (ICE at -O3 on x86_64-linux-gnu in compute_live_loop_exits, at tree-ssa-loop-manip.c:235)

2015-09-15  Richard Biener  <rguenther@suse.de>

PR tree-optimization/67470
* tree-ssa-loop-im.c (execute_sm_if_changed): Preserve PHI
structure for PHI hoisting by inserting a forwarder block
if appropriate.

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

From-SVN: r227797
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr67470.c [new file with mode: 0644]
gcc/tree-ssa-loop-im.c