re PR tree-optimization/60903 (ICE: in verify_loop_structure, at cfgloop.c:1647:...
authorRichard Biener <rguenther@suse.de>
Wed, 23 Apr 2014 11:25:27 +0000 (11:25 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 23 Apr 2014 11:25:27 +0000 (11:25 +0000)
commit22718afe53695be38b6d9b7de6edec7c8dda734e
tree9ae08ec445ede14894095e6d590b4253594875c0
parentc07d7c02d7aeac5de56066286c54a137518a98d6
re PR tree-optimization/60903 (ICE: in verify_loop_structure, at cfgloop.c:1647: : edge from 13 to 14 should be marked irreducible)

2014-04-23  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60903
* tree-ssa-loop-im.c (analyze_memory_references): Remove
commented code block.
(execute_sm_if_changed): Properly apply IRREDUCIBLE_LOOP
loop flags to newly created BBs and edges.

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

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