2015-03-12 Richard Biener <rguenther@suse.de>
commit98b2c85f39b54df3bc2d48b16edf27d3e8703caf
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Mar 2015 08:52:51 +0000 (13 08:52 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Mar 2015 08:52:51 +0000 (13 08:52 +0000)
tree8fc2a2876c706f677325a184d1ccf5c45ac26b51
parent25959a395efef4c26d979720c98df9a2737a5f1b
2015-03-12  Richard Biener  <rguenther@suse.de>

PR middle-end/44563
* tree-inline.c (gimple_expand_calls_inline): Walk BB backwards
to avoid quadratic behavior with inline expansion splitting blocks.
* tree-cfgcleanup.c (cleanup_tree_cfg_bb): Do not merge block
with the successor if the predecessor will be merged with it.
* tree-cfg.c (gimple_can_merge_blocks_p): We can't merge the
entry block with its successor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221410 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-cfg.c
gcc/tree-cfgcleanup.c
gcc/tree-inline.c