(initdcl): Only call decl_attributes once.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 29 Mar 1995 11:47:07 +0000 (06:47 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 29 Mar 1995 11:47:07 +0000 (06:47 -0500)
From-SVN: r9240

gcc/c-parse.in

index f97751668fc28b69512c7f78c0e991cce07d0ee1..2a9fd01fdbe2e3e3a833ec58a3fecc27b3ac9976 100644 (file)
@@ -1044,7 +1044,6 @@ initdcl:
          init
 /* Note how the declaration of the variable is in effect while its init is parsed! */
                { finish_init ();
-                 decl_attributes ($<ttype>5, $3, prefix_attributes);
                  finish_decl ($<ttype>5, $6, $2); }
        | declarator maybeasm maybe_attribute
                { tree d = start_decl ($1, current_declspecs, 0);