]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/14324 (Multiple static definitions are not unique)
authorMark Mitchell <mark@codesourcery.com>
Mon, 1 Mar 2004 20:38:31 +0000 (20:38 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 1 Mar 2004 20:38:31 +0000 (20:38 +0000)
commitab73670a29184764111d4cd87d71542ba646bb4d
tree6d70b983cc9faef35b3620a156d1fbf28cb537be
parente245bd81a7f00b326e92b716bb2a852acd9a7d1d
re PR c++/14324 (Multiple static definitions are not unique)

PR c++/14324
* lex.c (retrofit_lang_decl): Treat entities with no linkage as
having C++ linkage for name-mangling purposes.

PR c++/14260
* parser.c (cp_parser_direct_declarator): Recognize constructor
declarators that use a template-id to name the class being
constructed.

PR c++/14337
* pt.c (tsubst_qualified_id): Handle dependent qualifying scopes.
(tsubst_expr): Do not call tsubst_copy, even when
processing_template_decl.

PR c++/14324
* g++.dg/abi/mangle21.C: New test.

PR c++/14260
* g++.dg/parse/constructor2.C: New test.

PR c++/14337
* g++.dg/template/sfinae1.C: New test.

From-SVN: r78720
gcc/cp/ChangeLog
gcc/cp/lex.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/mangle21.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/constructor2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/sfinae1.C [new file with mode: 0644]