cp-tree.h (struct lang_type_class): Remove marked flags, add diamond_shaped and repea...
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 22 Sep 2004 10:55:21 +0000 (10:55 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 22 Sep 2004 10:55:21 +0000 (10:55 +0000)
commit3543e114c6226e545f9bb30cec4f448e8f20ff4f
tree6a55baf581488592472eb340d2cc7a5cb3e0aa46
parent0e64e323b0a71f96919613619e2dd4176226d653
cp-tree.h (struct lang_type_class): Remove marked flags, add diamond_shaped and repeated_base flags.

* cp-tree.h (struct lang_type_class): Remove marked flags, add
diamond_shaped and repeated_base flags.  Reorder to keep 8-bit blocks.
(TYPE_MARKED_P): New.
(CLASSTYPE_DIAMOND_SHAPED_P, CLASSTYPE_REPEATED_BASE_P): New.
(CLASSTYPE_MARKED_N, SET_CLASSTYPE_MARKED_N,
CLEAR_CLASSTYPE_MARKED_N): Remove.
(CLASSTYPE_MARKED_*, SET_CLASSTYPE_MARKED_*,
CLEAR_CLASSTYPE_MARKED_*): Remove.
* decl.c (xref_basetypes): Use TYPE_MARKED_P. Determine diamond
shaped and repeated base properties.
* lex.c (cxx_make_type): Don't clear TYPE_ALIAS_SET.
* rtti.c (dfs_class_hint_mark, dfs_class_hint_unmark,
class_hint_flags): Remove.
(get_pseudo_ti_init): Use CLASSTYPE_REPEATED_BASE_P and
CLASSTYPE_DIAMOND_SHAPED_P.

From-SVN: r87853
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/lex.c
gcc/cp/rtti.c