http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51737
--- Comment #21 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-03-25 09:39:38 UTC --- Author: hubicka Date: Sun Mar 25 09:39:32 2012 New Revision: 185774 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185774 Log: PR middle-end/51737 * cgraph.c (cgraph_remove_node_and_inline_clones): Add FORBIDDEN_NODE parameter. * cgraph.h (cgraph_remove_node_and_inline_clones): Update prototype. * ipa-inline-transform.c (save_inline_function_body): Remove copied clone if needed. * tree-inline.c (delete_unreachable_blocks_update_callgraph): Update. PR middle-end/51737 * g++.dg/torture/pr51737.C: New testcase Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/cgraph.c branches/gcc-4_6-branch/gcc/cgraph.h branches/gcc-4_6-branch/gcc/cgraphunit.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/tree-inline.c