This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/8227
- 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: 1 Dec 2002 04:56:01 -0000
- Subject: c++/8227
- Reply-to: mmitchel at gcc dot gnu dot org
The following reply was made to PR c++/8227; it has been noted by GNATS.
From: mmitchel@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c++/8227
Date: 1 Dec 2002 04:55:21 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2002-11-30 20:55:20
Modified files:
gcc/cp : ChangeLog decl.c pt.c typeck.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/template: ctor2.C
Log message:
PR c++/8227
* decl.c (layout_var_decl): Deal gracefully with erroneous types.
(check_initializer): Validate the type of the initialized
variable, even if the initializer is absent.
* typeck.c (cp_type_quals): Deal gracefully with erroneous types.
PR c++/8227
* g++.dg/template/ctor2.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3059&r2=1.3060
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.960&r2=1.961
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.632&r2=1.633
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.435&r2=1.436
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2241&r2=1.2242
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/ctor2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1