re PR middle-end/57036 (ice in update_ssa_across_abnormal_edges)
authorRichard Biener <rguenther@suse.de>
Tue, 23 Apr 2013 14:36:02 +0000 (14:36 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 23 Apr 2013 14:36:02 +0000 (14:36 +0000)
commit92e776e9971b9fc4e31fd0f23352809cb3680d3a
tree875a3489ed6c6effaec734bac5a457d62d6807af
parenta15ee567f234312ebc2b2bda8a8465d6a668e9d1
re PR middle-end/57036 (ice in update_ssa_across_abnormal_edges)

2013-04-23  Richard Biener  <rguenther@suse.de>

PR middle-end/57036
* tree-inline.c (copy_edges_for_bb): Add can_make_abnormal_goto
parameter, only add abnormal goto edges from the copied body
if the call could perform abnormal gotos.
(copy_cfg_body): Adjust.

* gcc.dg/torture/pr57036-1.c: New testcase.
* gcc.dg/torture/pr57036-2.c: Likewise.

From-SVN: r198192
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr57036-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr57036-2.c [new file with mode: 0644]
gcc/tree-inline.c