This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/7228


The following reply was made to PR c++/7228; it has been noted by GNATS.

From: dje@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: c++/7228
Date: 25 Oct 2002 15:13:06 -0000

 CVSROOT:	/cvs/gcc
 Module name:	gcc
 Changes by:	dje@gcc.gnu.org	2002-10-25 08:13:06
 
 Modified files:
 	gcc/cp         : ChangeLog class.c cp-tree.h typeck2.c 
 
 Log message:
 	PR c++/7228
 	* cp-tree.h (CLASSTYPE_READONLY_FIELDS_NEED_INIT): Check that
 	lang_type structure exists before accessing field.
 	(SET_CLASSTYPE_READONLY_FIELDS_NEED_INIT): New macro.
 	(CLASSTYPE_REF_FIELDS_NEED_INIT): Similar.
 	(SET_CLASSTYPE_REF_FIELDS_NEED_INIT): New macro.
 	* class.c (check_field_decls): Use new macros.
 	* typeck2.c (process_init_constructor): Remove redundant check for
 	existence of lang_type structure.
 
 Patches:
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3026&r2=1.3027
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/class.c.diff?cvsroot=gcc&r1=1.485&r2=1.486
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.762&r2=1.763
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck2.c.diff?cvsroot=gcc&r1=1.130&r2=1.131
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]