aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@phydeaux.cygnus.com>1995-06-28 16:37:51 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-06-28 16:37:51 -0400
commit14b60730737a2b82b40cc2139cfffa7bf0c8844a (patch)
treeedf52fd574166c5c152975033ffd4dffb740cb8f /gcc
parentb7707b23731b6416c7a1a0b42335dc7a88bd112f (diff)
downloadgcc-14b60730737a2b82b40cc2139cfffa7bf0c8844a.zip
gcc-14b60730737a2b82b40cc2139cfffa7bf0c8844a.tar.gz
gcc-14b60730737a2b82b40cc2139cfffa7bf0c8844a.tar.bz2
(tsubst, PARM_TYPE): Propagate DECL_ARTIFICIAL.
From-SVN: r10073
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/pt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 58d3920..d06799a 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -1460,6 +1460,7 @@ tsubst (t, args, nargs, in_decl)
tree r;
r = build_decl (PARM_DECL, DECL_NAME (t), type);
DECL_INITIAL (r) = TREE_TYPE (r);
+ DECL_ARTIFICIAL (r) = DECL_ARTIFICIAL (t);
if (TREE_CHAIN (t))
TREE_CHAIN (r) = tsubst (TREE_CHAIN (t), args, nargs, TREE_CHAIN (t));
return r;