* cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear
commit7a33f452e2baeab546c31cf45124eac01cdb290e
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Mar 2014 22:19:27 +0000 (28 22:19 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Mar 2014 22:19:27 +0000 (28 22:19 +0000)
treea81ad361ae68752cb362377a7ef5130fe2dddcb9
parent28f7a2af1cd69fbd585093981ef571de5aa67df1
* cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear
static chain if needed.
* g++.dg/torture/pr60659.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208927 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/opt33.adb [new file with mode: 0644]