https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61659
--- Comment #30 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Thu Sep 4 12:37:05 2014 New Revision: 214900 URL: https://gcc.gnu.org/viewcvs?rev=214900&root=gcc&view=rev Log: PR ipa/61659 * decl.c (duplicate_decls): Check DECL_DECLARED_INLINE_P on newdecl, not olddecl. Added: trunk/gcc/testsuite/g++.dg/template/spec38.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c