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
This commit is contained in:
Mark Mitchell 2004-10-15 21:18:07 +00:00 committed by Mark Mitchell
parent de3fe73c4f
commit d6b4201fab
3 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@
type names if we have already found a valid type.
(cp_parser_member_declaration): Likewise.
PR c++/17852
PR c++/17916
* parser.c (cp_parser_member_specification_opt): Handle
CPP_PRAGMA.

View File

@ -3,12 +3,12 @@
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.
PR c++/17916
* g++.dg/parse/pragma1.C: New test.
2004-10-15 Aldy Hernandez <aldyh@redhat.com>
* gcc.c-torture/execute/ieee/ieee.exp: Disable on powerpc-*-*spe.

View File

@ -1,4 +1,4 @@
// PR c++/17852
// PR c++/17916
class T {
#pragma X