* dwarf2out.c (base_type_die): Use int_size_in_bytes.
authorJason Merrill <jason@yorick.cygnus.com>
Wed, 20 May 1998 18:51:13 +0000 (18:51 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 20 May 1998 18:51:13 +0000 (14:51 -0400)
From-SVN: r19911

gcc/ChangeLog
gcc/dwarf2out.c

index f9fc5b9d4d3c5b49827a6a46ac4f44991773a705..e513a75c2cd2addf57a485d402a29827fa5ecb1e 100644 (file)
@@ -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:
index 11229e6ae4458d3f8b10916664c679a4d1ec6d97..40286de5d2060081cf21d57f98f935135c252494 100644 (file)
@@ -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;