PR ipa/65600
commitbdbe774716ea0909b94baf1348090c47a1116208
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Mar 2015 15:13:54 +0000 (27 15:13 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Mar 2015 15:13:54 +0000 (27 15:13 +0000)
tree4730bf114427a89a09662f96bb28dfa1992ea3bf
parentec44a0da390d01432acf36e2345ad6dfad09042c
PR ipa/65600
* cgraph.c (cgraph_update_edges_for_call_stmt_node): Fix the case
of optimized out indirect call.
(redirect_to_unreachable): Always build symbol table node for
BUILT_IN_UNREACHABLE
* g++.dg/torture/pr65600.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221735 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.c
gcc/ipa-inline-analysis.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr65600.C [new file with mode: 0644]