http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57036
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> 2013-04-23
14:52:33 UTC ---
Author: rguenth
Date: Tue Apr 23 14:36:02 2013
New Revision: 198192
URL: http://gcc.gnu.org/viewcvs?rev=198192&root=gcc&view=rev
Log:
2013-04-23 Richard Biener <[email protected]>
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.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr57036-1.c
trunk/gcc/testsuite/gcc.dg/torture/pr57036-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-inline.c