OSDN Git Service

PR middle-end/51929
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Feb 2012 07:25:58 +0000 (07:25 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Feb 2012 07:25:58 +0000 (07:25 +0000)
commitcdf67cee599f86ece205d09a35ac8bcf9a9aad9c
treea72eeb1420381f51d00eb4b4f3f3e8f019444c21
parent82c0fd87ab0d6a22cc6fc6f7c968d4c479c82e24
PR middle-end/51929
* cgraphunit.c (verify_edge_corresponds_to_fndecl): If node is
a same_body_alias, also test whether e->callee isn't a former
or current clone of the decl this is a same body alias of.

* g++.dg/ipa/pr51929.C: New test.

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