projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7707b2
)
(tsubst, PARM_TYPE): Propagate DECL_ARTIFICIAL.
author
Jason Merrill
<jason@phydeaux.cygnus.com>
Wed, 28 Jun 1995 20:37:51 +0000
(16:37 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 28 Jun 1995 20:37:51 +0000
(16:37 -0400)
From-SVN: r10073
gcc/cp/pt.c
patch
|
blob
|
history
diff --git
a/gcc/cp/pt.c
b/gcc/cp/pt.c
index 58d3920cb4d3494f53c65d4ec7726c1fca0dd9dd..d06799af505d05f9d0fd9d3957b21906d16af353 100644
(file)
--- 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;