This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/7188
- From: mmitchel at gcc dot gnu dot org
- To: mmitchel at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 3 Oct 2002 06:56:01 -0000
- Subject: c++/7188
- Reply-to: mmitchel at gcc dot gnu dot org
The following reply was made to PR c++/7188; it has been noted by GNATS.
From: mmitchel@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c++/7188
Date: 3 Oct 2002 06:55:02 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_2-branch
Changes by: mmitchel@gcc.gnu.org 2002-10-02 23:55:01
Modified files:
gcc/cp : ChangeLog init.c pt.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/template: meminit1.C
Log message:
PR c++/7188.
* init.c (expand_member_init): Allow a FIELD_DECL to be passed in
directly.
* pt.c (tsubst_initializer_list): Use expand_member_init.
PR c++/7188.
* testsuite/g++.dg/template/meminit1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.2685.2.114.2.9&r2=1.2685.2.114.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/init.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.264.2.12&r2=1.264.2.12.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.578.2.11&r2=1.578.2.11.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.1672.2.166.2.18&r2=1.1672.2.166.2.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/meminit1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=NONE&r2=1.1.2.1