This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/7931
- 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: 4 Oct 2002 05:16:02 -0000
- Subject: c++/7931
- Reply-to: mmitchel at gcc dot gnu dot org
The following reply was made to PR c++/7931; it has been noted by GNATS.
From: mmitchel@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c++/7931
Date: 4 Oct 2002 05:13:59 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2002-10-03 22:13:59
Modified files:
gcc/cp : ChangeLog decl2.c pt.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/template: ptrmem3.C union1.C
Log message:
PR c++/7931
* pt.c (for_each_template_parm_r): Handle BASELINKs.
PR c++/7754
* decl2.c (finish_anon_union): Do not expand anonymous unions when
procesing template functions.
* pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable
type. Call layout_decl.
(tsubst_expr, case DECL_STMT): Handle anonymous unions.
PR c++/7931
* g++.dg/template/ptrmem3.C: New test.
PR c++/7754
* g++.dg/template/union1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.2981&r2=1.2982
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&r1=1.563&r2=1.564
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.620&r2=1.621
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2118&r2=1.2119
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/ptrmem3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/union1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1