diff options
author | Mark Mitchell <mark@markmitchell.com> | 1998-08-20 13:46:53 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1998-08-20 13:46:53 +0000 |
commit | 4d85e00e38bd7c6775904c004499d808aa7a3ee1 (patch) | |
tree | 0e96b25738fc8d44f5034c0ec7390633c1d566da /gcc/expr.c | |
parent | 293bcdc970c9509e8079c4ee96efc1c693be2d9d (diff) | |
download | gcc-4d85e00e38bd7c6775904c004499d808aa7a3ee1.zip gcc-4d85e00e38bd7c6775904c004499d808aa7a3ee1.tar.gz gcc-4d85e00e38bd7c6775904c004499d808aa7a3ee1.tar.bz2 |
decl.c (duplicate_decls): Always merge the old and new patterns for templates...
* decl.c (duplicate_decls): Always merge the old and new patterns
for templates, regardless of whether or not the new one has
DECL_INITIAL. Don't throw away specializations. Merge
DECL_SAVED_TREE.
* pt.c (tsubst_decl): Use the right pattern when calculating the
complete args for a new template instance.
(do_decl_instantiation): Fix typo in comment.
(regenerate_decl_from_template): Deal with tricky friend template
case.
(instantiate_decl): Likewise.
From-SVN: r21876
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions