re PR tree-optimization/54458 (ICE get_loop_body, at cfgloop.c:830)
authorRichard Guenther <rguenther@suse.de>
Tue, 4 Sep 2012 09:28:58 +0000 (09:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 4 Sep 2012 09:28:58 +0000 (09:28 +0000)
commita8886f7d1859cebce5db37598c4bae54cc51db1d
treefa175b9596e8734f22e4875c7fe68cff105f80e9
parentcee8f252d70e664c198070ef60ddc15d06176dad
re PR tree-optimization/54458 (ICE get_loop_body, at cfgloop.c:830)

2012-09-04  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/54458
* tree-ssa-threadupdate.c (thread_through_loop_header): If we
turn the loop into one with multiple latches mark it so.

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

From-SVN: r190918
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr54458.c [new file with mode: 0644]
gcc/tree-ssa-threadupdate.c