Commit d10b562e by Richard Kenner

(initdcl): Only call decl_attributes once.

From-SVN: r9240
parent 8ff9a9d1
...@@ -1044,7 +1044,6 @@ initdcl: ...@@ -1044,7 +1044,6 @@ initdcl:
init init
/* Note how the declaration of the variable is in effect while its init is parsed! */ /* Note how the declaration of the variable is in effect while its init is parsed! */
{ finish_init (); { finish_init ();
decl_attributes ($<ttype>5, $3, prefix_attributes);
finish_decl ($<ttype>5, $6, $2); } finish_decl ($<ttype>5, $6, $2); }
| declarator maybeasm maybe_attribute | declarator maybeasm maybe_attribute
{ tree d = start_decl ($1, current_declspecs, 0); { tree d = start_decl ($1, current_declspecs, 0);
......
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