From: Jason Merrill Date: Wed, 20 May 1998 18:51:13 +0000 (+0000) Subject: * dwarf2out.c (base_type_die): Use int_size_in_bytes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e5a8d7b868a22aeb18f68fc15198943a165ada5;p=gcc.git * dwarf2out.c (base_type_die): Use int_size_in_bytes. From-SVN: r19911 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9fc5b9d4d3..e513a75c2cd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +1998-05-20 Jason Merrill + + * 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 11229e6ae44..40286de5d20 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;