re PR c++/51812 (Virtual public inheritance and thunks leads to "undefined reference...
authorJason Merrill <jason@redhat.com>
Tue, 24 Jan 2012 13:37:38 +0000 (08:37 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 24 Jan 2012 13:37:38 +0000 (08:37 -0500)
commitc5c90089e6f24e5c3d31a1e70edbe1bbe14a2a61
treeddc7240274c757115a71e345f5233558b9f35979
parent5460e1fc15f7f0bab22b39e76ae736ca43b7e654
re PR c++/51812 (Virtual public inheritance and thunks leads to "undefined reference" in header files.)

PR c++/51812
* cgraphunit.c (cgraph_decide_is_function_needed): Don't always
output static aliases.

From-SVN: r183475
gcc/ChangeLog
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/covariant20.C [new file with mode: 0644]