class.c (build_base_field): Mark fields for base classes with DECL_IGNORED_P.

* class.c (build_base_field): Mark fields for base classes with
	DECL_IGNORED_P.

From-SVN: r63026
This commit is contained in:
Michael Elizabeth Chastain 2003-02-18 07:24:44 +00:00 committed by Mark Mitchell
parent 6067bea410
commit 0f3a821963
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-02-17 Michael Elizabeth Chastain <mec@shout.net>
* class.c (build_base_field): Mark fields for base classes with
DECL_IGNORED_P.
2003-02-17 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/9457

View file

@ -3958,7 +3958,8 @@ build_base_field (record_layout_info rli, tree binfo,
DECL_SIZE_UNIT (decl) = CLASSTYPE_SIZE_UNIT (basetype);
DECL_ALIGN (decl) = CLASSTYPE_ALIGN (basetype);
DECL_USER_ALIGN (decl) = CLASSTYPE_USER_ALIGN (basetype);
DECL_IGNORED_P (decl) = 1;
/* Try to place the field. It may take more than one try if we
have a hard time placing the field without putting two
objects of the same type at the same address. */