OSDN Git Service

PR c++/17042
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Oct 2004 21:18:07 +0000 (21:18 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Oct 2004 21:18:07 +0000 (21:18 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89119 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/pragma1.C

index 92c9ca4..7fef9fb 100644 (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.
 
index 4df9b8a..a9ec7d7 100644 (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.
index cdfd79c..88a56aa 100644 (file)
@@ -1,4 +1,4 @@
-// PR c++/17852
+// PR c++/17916
 
 class T {
 #pragma X