This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/10158
- From: nathan at gcc dot gnu dot org
- To: nathan at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 27 Mar 2003 12:36:00 -0000
- Subject: c++/10158
- Reply-to: nathan at gcc dot gnu dot org
The following reply was made to PR c++/10158; it has been noted by GNATS.
From: nathan at gcc dot gnu dot org
To: gcc-gnats at gcc dot gnu dot org
Cc:
Subject: c++/10158
Date: 27 Mar 2003 12:27:17 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: nathan at gcc dot gnu dot org 2003-03-27 12:27:17
Modified files:
gcc/cp : ChangeLog cp-tree.h pt.c spew.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/template: friend18.C
Log message:
cp:
PR c++/10158
* spew.c (snarf_method):Set DECL_INITIALIZED_IN_CLASS for
members.
* pt.c (instantiate_decl): Only reduce the template args for
friends that are not defined in class.
testsuite:
PR c++/10158
* g++.dg/template/friend18.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.96&r2=1.3076.2.97
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.776.2.13&r2=1.776.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.635.2.17&r2=1.635.2.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/spew.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.76&r2=1.76.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.124&r2=1.2261.2.125
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/friend18.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1