diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-05-12 07:09:47 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-05-12 07:09:47 -0400 |
commit | 005979f2d65214802177bf932930463db2f3b020 (patch) | |
tree | c0b75e3825028f0580dff57c29e07e67fda16255 | |
parent | ee2897efdb1fe6e538265cc12ba0ce58dcbaf2c5 (diff) | |
download | gcc-005979f2d65214802177bf932930463db2f3b020.zip gcc-005979f2d65214802177bf932930463db2f3b020.tar.gz gcc-005979f2d65214802177bf932930463db2f3b020.tar.bz2 |
(push_parm_decl): Pass any attributes to decl_attributes.
From-SVN: r9639
-rw-r--r-- | gcc/c-decl.c | 5 |
1 files changed, 4 insertions, 1 deletions
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)) |