re PR tree-optimization/64357 (ICE at -Os on x86_64-linux-gnu in check_loop_closed_ss...
authorRichard Biener <rguenther@suse.de>
Mon, 12 Jan 2015 15:34:37 +0000 (15:34 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 12 Jan 2015 15:34:37 +0000 (15:34 +0000)
commit2a58c80212892d88e199e6ab154404b80fdbd298
tree543e2a2d4fb5601fbfcf000ce3d6c5aa8b2c81ba
parent82ac9e41644a4673f5f592f4596b2e89ea181794
re PR tree-optimization/64357 (ICE at -Os on x86_64-linux-gnu in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:579)

2015-01-12  Richard Biener  <rguenther@suse.de>

PR middle-end/64357
* tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
latches properly.

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

From-SVN: r219473
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr64357.c [new file with mode: 0644]
gcc/tree-cfg.c