]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/17042 (Duplicated symbol in assembly output)
authorMark Mitchell <mark@codesourcery.com>
Fri, 15 Oct 2004 21:11:50 +0000 (21:11 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 15 Oct 2004 21:11:50 +0000 (21:11 +0000)
commitde3fe73c4f299c5e2970cc0be32b8781d07595fe
tree9c86b5ff24bd104be7e7755195240bab8d1da703
parent7832e66155ab64fdfa685e27e0f21c65345c39a0
re PR c++/17042 (Duplicated symbol in assembly output)

PR c++/17042
* decl.c (declare_global_var): Use the return value from pushdecl.

PR c++/14667
* parser.c (cp_parser_simple_declaration): Do not diagnose invalid
type names if we have already found a valid type.
(cp_parser_member_declaration): Likewise.

PR c++/17852
* parser.c (cp_parser_member_specification_opt): Handle
CPP_PRAGMA.

PR c++/17042
* g++.dg/init/dso_handle1.C: New test.

PR c++/17852
* g++.dg/parse/pragma1.C: New test.

PR c++/14667
* g++.dg/parse/typedef6.C: New test.

From-SVN: r89118
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/dso_handle1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/pragma1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/typedef6.C [new file with mode: 0644]