]> git.ipfire.org Git - thirdparty/gcc.git/commit
2012-04-03 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Apr 2012 11:38:04 +0000 (11:38 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Apr 2012 11:38:04 +0000 (11:38 +0000)
commit35c67c833b78806f818339542f2db310b18349bd
tree89c43a99b22d5e7d34c2934ec55d1719cf2bab3a
parentbc05341c10553db8c7abbe942dc5f6e683450a24
2012-04-03  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52808
* tracer.c (tail_duplicate): Return whether we have duplicated
any block.
(tracer): If we have duplicated any block, cleanup the CFG.
* cfghooks.c (duplicate_block): If we duplicated a loop
header but not its loop, destroy the loop because it now has
multiple entries.
* tree-ssa-threadupdate.c (thread_through_loop_header): Tell
the cfg manipulation routines we are not creating a multiple
entry loop.

* gcc.dg/pr52808.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186104 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfghooks.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr52808.c [new file with mode: 0644]
gcc/tracer.c
gcc/tree-ssa-threadupdate.c