diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2003-02-10 17:44:55 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2003-02-10 17:44:55 +0000 |
commit | 7a93f73934d22d5546cb016928c48e97f71b033f (patch) | |
tree | 227b1f7cfff77faa331dcf14fa035dc993fe22a8 | |
parent | 4f4482454949969174802c4a3e0a10f68834a90a (diff) | |
download | gcc-7a93f73934d22d5546cb016928c48e97f71b033f.zip gcc-7a93f73934d22d5546cb016928c48e97f71b033f.tar.gz gcc-7a93f73934d22d5546cb016928c48e97f71b033f.tar.bz2 |
cp-tree.h (struct lang_type_header): Make all fields unsigned char.
* cp-tree.h (struct lang_type_header): Make all fields unsigned
char.
From-SVN: r62641
-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 |