]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR bootstrap/52808 (LTO bootstrap failed with bootstrap-profiled)
authorRichard Guenther <rguenther@suse.de>
Tue, 3 Apr 2012 11:38:04 +0000 (11:38 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 3 Apr 2012 11:38:04 +0000 (11:38 +0000)
commit07b1bf209c2fa991491ea9317d8afe225dd44f97
tree89c43a99b22d5e7d34c2934ec55d1719cf2bab3a
parent90b2952fa43b86c74d7ad99893f757abf30788f5
re PR bootstrap/52808 (LTO bootstrap failed with bootstrap-profiled)

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.

From-SVN: r186104
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