re PR c++/65626 (ICE in fixup_noreturn_call called by tree-ssa-forwprop.c:2492)
authorRichard Biener <rguenther@suse.de>
Tue, 31 Mar 2015 09:34:08 +0000 (09:34 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 31 Mar 2015 09:34:08 +0000 (09:34 +0000)
commitbed18fbd09667cbaecc3b8a99e05801a24e5324b
treedc7fac5fb06b3487d74ab50ff205bb9f9b3b5bc5
parent20f234a8d6b6bff86e9f57e66a2d3612f81e56e1
re PR c++/65626 (ICE in fixup_noreturn_call called by tree-ssa-forwprop.c:2492)

2015-03-31  Richard Biener  <rguenther@suse.de>

PR middle-end/65626
* tree-cfgcleanup.c (fixup_noreturn_call): Only split the block
of the noreturn call so it is last and cleanup_control_flow_bb
can do the CFG part.

* g++.dg/torture/pr65626.C: New testcase.

From-SVN: r221790
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr65626.C [new file with mode: 0644]
gcc/tree-cfgcleanup.c