Commit d6b4201f by Mark Mitchell Committed by Mark Mitchell

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
parent de3fe73c
......@@ -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.
......
......@@ -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.
......
// PR c++/17852
// PR c++/17916
class T {
#pragma X
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment