diff options
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/cp-tree.h | 18 |
2 files changed, 14 insertions, 9 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 78017c3..67a0346 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2003-02-09 Dan Nicolaescu <dann@ics.uci.edu> + + * cp-tree.h (struct lang_type_header): Make all fields unsigned + char. + 2003-02-03 Mark Mitchell <mark@codesourcery.com> PR c++/7129 diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 764c428..1eb2b03 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -1098,15 +1098,15 @@ enum languages { lang_c, lang_cplusplus, lang_java }; 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; + 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 |