diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-16 10:13:52 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-16 10:13:52 +0000 |
commit | fc8021097ec7542658f7b035604de66387c3d50e (patch) | |
tree | 20fc664da392c7860ee5505c631575ae25f7fc13 /gcc/cgraph.c | |
parent | 520fefde3c47d8d12c08512244a4d838b1cc41c3 (diff) | |
download | gcc-fc8021097ec7542658f7b035604de66387c3d50e.tar.gz |
2014-10-16 Richard Biener <rguenther@suse.de>
PR tree-optimization/63168
* tree-cfg.c (gimple_can_merge_blocks_p): Only protect
latches if after merging they are no longer simple.
* cfghooks.c (merge_blocks): Handle merging a latch block
into another block.
* gcc.dg/tree-ssa/loop-40.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216304 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.c')
0 files changed, 0 insertions, 0 deletions