re PR middle-end/37456 (ICE: verify_flow_info failed: control flow in the middle...
authorRichard Guenther <rguenther@suse.de>
Thu, 18 Sep 2008 11:28:18 +0000 (11:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 18 Sep 2008 11:28:18 +0000 (11:28 +0000)
commite7089ecf1c8a67d5572ada8ecd3b3d99f420089c
tree3425753c73b058342d1341dd1cb58cdf9cf1deaf
parent59a1bff3e2ddd006743684e3c5e09245ab0426f2
re PR middle-end/37456 (ICE: verify_flow_info failed: control flow in the middle of basic block)

2008-09-18  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/37456
* tree-ssa-reassoc.c (build_and_add_sum): If the stmt we
want to insert after ends a BB insert on the single fallthru
outgoing edge.

* testsuite/g++.dg/torture/pr37456.C: New testcase.

From-SVN: r140449
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr37456.C [new file with mode: 0644]
gcc/tree-ssa-reassoc.c