PR c++/15882
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Nov 2009 19:34:25 +0000 (19:34 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Nov 2009 19:34:25 +0000 (19:34 +0000)
commitb17f16c043428bd31e0c1eb0fbf81d12ebb5498d
tree6382f5828670101da8d8b250204a2cd5e0aa19f4
parente59f32d910b063b17acd1b20d00ac128b47dffa8
PR c++/15882
* method.c (use_thunk): Check DECL_WEAK as well as
DECL_ONE_ONLY.

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