OSDN Git Service

PR c++/39106
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Feb 2009 21:54:06 +0000 (21:54 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Feb 2009 21:54:06 +0000 (21:54 +0000)
commitf014e39d49d0f72c4ec12c0b3a6ff21c40349088
tree455a7dd2b93b6aa29952096e28035c3b04b31ee9
parent99e9b19fc990b183d35c2f9988ae6712cec6e68e
PR c++/39106
* cgraphunit.c (cgraph_function_versioning): Clear also DECL_VIRTUAL_P
on the copied decl.

* g++.dg/opt/thunk3.C: New test.

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