From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16377 invoked by alias); 25 Oct 2002 15:26:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 16348 invoked by uid 71); 25 Oct 2002 15:26:01 -0000 Date: Fri, 25 Oct 2002 08:26:00 -0000 Message-ID: <20021025152601.16345.qmail@sources.redhat.com> To: dje@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: dje@gcc.gnu.org Subject: c++/7228 Reply-To: dje@gcc.gnu.org X-SW-Source: 2002-10/txt/msg01006.txt.bz2 List-Id: 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:20:31 -0000 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_2-branch Changes by: dje@gcc.gnu.org 2002-10-25 08:20:30 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&only_with_tag=gcc-3_2-branch&r1=1.2685.2.114.2.32&r2=1.2685.2.114.2.33 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/class.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.436.2.10.2.8&r2=1.436.2.10.2.9 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.681.2.12.2.6&r2=1.681.2.12.2.7 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.117.2.2&r2=1.117.2.2.2.1