re PR ipa/61659 (Extra undefined symbol because of devirtualization)
authorJason Merrill <jason@redhat.com>
Wed, 10 Sep 2014 17:28:59 +0000 (13:28 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 10 Sep 2014 17:28:59 +0000 (13:28 -0400)
commitca78482dcdf0dc76fca1334673cd43f7108d8338
treeb5d3bab44fd34ec4fd6249130ae736e4d7dd2b75
parent1c22488e18f254dde889e01c72f250be41b9227e
re PR ipa/61659 (Extra undefined symbol because of devirtualization)

PR c++/61659
* decl.c (grokfndecl): Don't set DECL_COMDAT on static inlines.
(duplicate_decls, start_decl): Likewise.
* pt.c (check_explicit_specialization): Likewise.
(push_template_decl_real): Or static templates.

From-SVN: r215134
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c
gcc/testsuite/g++.dg/abi/no-weak1.C [new file with mode: 0644]