re PR c/53502 (Bootstrap broken with --disable-build-poststage1-with-cxx)
authorTobias Burnus <burnus@net-b.de>
Wed, 30 May 2012 16:44:42 +0000 (18:44 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 30 May 2012 16:44:42 +0000 (18:44 +0200)
2012-05-30  Tobias Burnus  <burnus@net-b.de>

        PR c/53502
        * decl.c (match_attr_spec): Remove "typedef".

From-SVN: r188024

gcc/fortran/ChangeLog
gcc/fortran/decl.c

index e8f5c53f0e3fec1f71698924efafc827c1542492..e2b1ec3533e72027c4d8720e2c5898c1b92c52da 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-30  Tobias Burnus  <burnus@net-b.de>
+
+       PR c/53502
+       * decl.c (match_attr_spec): Remove "typedef".
+
 2012-05-30  Tobias Burnus  <burnus@net-b.de>
 
        * decl.c: Fix comment typos.
index 58263aa24c3b92d66d142ba68db19990d65e7186..a760331eeba5a9891c3e5c815768aa2ca9d0fdea 100644 (file)
@@ -3264,7 +3264,7 @@ static match
 match_attr_spec (void)
 {
   /* Modifiers that can exist in a type statement.  */
-  typedef enum
+  enum
   { GFC_DECL_BEGIN = 0,
     DECL_ALLOCATABLE = GFC_DECL_BEGIN, DECL_DIMENSION, DECL_EXTERNAL,
     DECL_IN, DECL_OUT, DECL_INOUT, DECL_INTRINSIC, DECL_OPTIONAL,
@@ -3272,8 +3272,7 @@ match_attr_spec (void)
     DECL_PUBLIC, DECL_SAVE, DECL_TARGET, DECL_VALUE, DECL_VOLATILE,
     DECL_IS_BIND_C, DECL_CODIMENSION, DECL_ASYNCHRONOUS, DECL_CONTIGUOUS,
     DECL_NONE, GFC_DECL_END /* Sentinel */
-  }
-  decl_types;
+  };
 
 /* GFC_DECL_END is the sentinel, index starts at 0.  */
 #define NUM_DECL GFC_DECL_END