From 005979f2d65214802177bf932930463db2f3b020 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 12 May 1995 07:09:47 -0400 Subject: (push_parm_decl): Pass any attributes to decl_attributes. From-SVN: r9639 --- gcc/c-decl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 8d90e5e7..db990350 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -3888,7 +3888,10 @@ push_parm_decl (parm) /* The corresponding pop_obstacks is in finish_decl. */ 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 (DECL_NAME (decl)) -- cgit v1.1