]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/51737 (g++ crashes (internal compiler error: Segmentation...
authorJan Hubicka <jh@suse.cz>
Sun, 25 Mar 2012 09:39:32 +0000 (11:39 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 25 Mar 2012 09:39:32 +0000 (09:39 +0000)
commit7ef871ba96798bac1b083f1cdf4ff044919fdf5c
tree5da227094b879c7baa41e5d94f5f80eb9f248791
parentdd38aba5d1bac218aa19a259c04f3eb784b753f8
re PR tree-optimization/51737 (g++ crashes (internal compiler error: Segmentation fault) when compiling quickbook)

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

From-SVN: r185774
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/tree-inline.c