diff options
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9fc5b9..e513a75 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +1998-05-20 Jason Merrill <jason@yorick.cygnus.com> + + * dwarf2out.c (base_type_die): Use int_size_in_bytes. + Wed May 20 01:11:02 1998 Doug Evans (devans@cygnus.com) Jeff Law (law@cygnus.com) @@ -9908,7 +9912,3 @@ Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com) Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com) * egcs project officially starts. - -Local Variables: -add-log-time-format: current-time-string -End: diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 11229e6..40286de 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -6183,7 +6183,7 @@ base_type_die (type) base_type_result = new_die (DW_TAG_base_type, comp_unit_die); add_AT_string (base_type_result, DW_AT_name, type_name); add_AT_unsigned (base_type_result, DW_AT_byte_size, - TYPE_PRECISION (type) / BITS_PER_UNIT); + int_size_in_bytes (type)); add_AT_unsigned (base_type_result, DW_AT_encoding, encoding); return base_type_result; |