re PR c++/17042 (Duplicated symbol in assembly output)
authorMark Mitchell <mark@codesourcery.com>
Fri, 15 Oct 2004 21:18:07 +0000 (21:18 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 15 Oct 2004 21:18:07 +0000 (21:18 +0000)
commitd6b4201fab20b3045e479a9d0dce168abf4360f8
tree808b0b0b8ef97bad488e95466f112baed9c4fed9
parentde3fe73c4f299c5e2970cc0be32b8781d07595fe
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: r89119
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/pragma1.C