re PR ipa/61659 (Extra undefined symbol because of devirtualization)
authorMarkus Trippelsdorf <markus@trippelsdorf.de>
Thu, 4 Sep 2014 12:37:05 +0000 (12:37 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 4 Sep 2014 12:37:05 +0000 (08:37 -0400)
commit382995f56c4d9e8a752577d0a4207b09d5802740
tree2e5dd8a129c04fbbc2b50a49c3bef60ed158d39a
parent5c153812634ad41f3bb616a77a29db64b6efdb5d
re PR ipa/61659 (Extra undefined symbol because of devirtualization)

PR ipa/61659
* decl.c (duplicate_decls): Check DECL_DECLARED_INLINE_P on
newdecl, not olddecl.

From-SVN: r214900
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/template/spec38.C [new file with mode: 0644]