This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
make cp-tree.h:struct lang_type_header smaller
- From: Dan Nicolaescu <dann at ics dot uci dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 09 Feb 2003 01:02:50 -0800
- Subject: make cp-tree.h:struct lang_type_header smaller
The comment for struct lang_type_class says that it should be kept
small. This should help a little.
2003-02-09 Dan Nicolaescu <dann@ics.uci.edu>
* cp-tree.h (struct lang_type_header): Make all fields unsigned
char.
*** cp-tree.h.~1.809.~ Sat Feb 8 23:07:00 2003
--- cp-tree.h Sun Feb 9 00:50:15 2003
***************
*** 1098,1112 ****
are put in this structure to save space. */
struct lang_type_header GTY(())
{
! unsigned is_lang_type_class : 1;
! unsigned has_type_conversion : 1;
! unsigned has_init_ref : 1;
! unsigned has_default_ctor : 1;
! unsigned uses_multiple_inheritance : 1;
! unsigned const_needs_init : 1;
! unsigned ref_needs_init : 1;
! unsigned has_const_assign_ref : 1;
};
/* This structure provides additional information above and beyond
--- 1098,1112 ----
are put in this structure to save space. */
struct lang_type_header GTY(())
{
! unsigned char is_lang_type_class : 1;
! unsigned char has_type_conversion : 1;
! unsigned char has_init_ref : 1;
! unsigned char has_default_ctor : 1;
! unsigned char uses_multiple_inheritance : 1;
! unsigned char const_needs_init : 1;
! unsigned char ref_needs_init : 1;
! unsigned char has_const_assign_ref : 1;
};
/* This structure provides additional information above and beyond