http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57147
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-05-06 11:47:02 UTC --- Author: rguenth Date: Mon May 6 11:27:29 2013 New Revision: 198625 URL: http://gcc.gnu.org/viewcvs?rev=198625&root=gcc&view=rev Log: 2013-05-06 Richard Biener <rguent...@suse.de> PR middle-end/57147 * tree-cfg.c (gimple_purge_dead_abnormal_call_edges): If the edge is also fallthru, preserve it and just clear the abnormal flag. * tree-cfgcleanup.c (remove_fallthru_edge): If the edge is also complex, preserve that and just clear the fallthru flag. * tree-inline.c (update_ssa_across_abnormal_edges): Also update virtual operands. * gcc.dg/torture/pr57147-1.c: New testcase. * gcc.dg/torture/pr57147-2.c: Likewise. * gcc.dg/torture/pr57147-3.c: Likewise. Added: trunk/gcc/testsuite/gcc.dg/torture/pr57147-1.c trunk/gcc/testsuite/gcc.dg/torture/pr57147-2.c trunk/gcc/testsuite/gcc.dg/torture/pr57147-3.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-cfg.c trunk/gcc/tree-cfgcleanup.c trunk/gcc/tree-inline.c