Commit 005979f2 by Richard Kenner

(push_parm_decl): Pass any attributes to decl_attributes.

From-SVN: r9639
parent ee2897ef
...@@ -3888,7 +3888,10 @@ push_parm_decl (parm) ...@@ -3888,7 +3888,10 @@ push_parm_decl (parm)
/* The corresponding pop_obstacks is in finish_decl. */ /* The corresponding pop_obstacks is in finish_decl. */
push_obstacks_nochange (); push_obstacks_nochange ();
decl = grokdeclarator (TREE_VALUE (parm), TREE_PURPOSE (parm), PARM, 0); decl = grokdeclarator (TREE_VALUE (TREE_PURPOSE (parm)),
TREE_PURPOSE (TREE_PURPOSE (parm)), PARM, 0);
decl_attributes (decl, TREE_VALUE (TREE_VALUE (parm)),
TREE_PURPOSE (TREE_VALUE (parm)));
#if 0 #if 0
if (DECL_NAME (decl)) if (DECL_NAME (decl))
......
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