c++/8218
mmitchel@gcc.gnu.org
mmitchel@gcc.gnu.org
Mon Oct 21 02:36:00 GMT 2002
The following reply was made to PR c++/8218; it has been noted by GNATS.
From: mmitchel@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c++/8218
Date: 21 Oct 2002 09:29:14 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_2-branch
Changes by: mmitchel@gcc.gnu.org 2002-10-21 02:29:13
Modified files:
gcc/cp : ChangeLog class.c cp-tree.h
Log message:
PR c++/8218
* cp-tree.h (lang_type_class): Add contains_empty_class_p.
(CLASSTYPE_CONTAINS_EMPTY_CLASS_P): New macro.
* class.c (check_bases): Update CLASSTYPE_CONTAINS_EMPTY_CLASS_P.
(check_field_decls): Likewise.
(layout_class_type): Likewise.
(finish_struct_1): Initialize it.
(walk_subobject_offsets): Use it to prune searches.
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.27&r2=1.2685.2.114.2.28
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.6&r2=1.436.2.10.2.7
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.5&r2=1.681.2.12.2.6
More information about the Gcc-prs
mailing list