]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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)
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

index 92c9ca421d5d58fdb5f9ea7c55f5d53f8ae047ad..7fef9fbf666d87ef4625aafbc9095c1855ae7244 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 4df9b8a0d23c86b35dfa145cfa31dfc12653e019..a9ec7d76f5cfbe084cc006bb4f6a702fefadd6a4 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 cdfd79caadb4bd7921bc5fa74841be9a594ea6db..88a56aafb0d2bcd33a7066bd7c25290d56ab4c98 100644 (file)
@@ -1,4 +1,4 @@
-// PR c++/17852
+// PR c++/17916
 
 class T {
 #pragma X