aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1998-05-20 18:51:13 +0000
committerJason Merrill <jason@gcc.gnu.org>1998-05-20 14:51:13 -0400
commit4e5a8d7b868a22aeb18f68fc15198943a165ada5 (patch)
tree7fdbcafc9c18c89db5c89409cb5ba29c9383c0c4 /gcc
parentce1b9eb9a852571412356565544ca1f7207199e1 (diff)
downloadgcc-4e5a8d7b868a22aeb18f68fc15198943a165ada5.zip
gcc-4e5a8d7b868a22aeb18f68fc15198943a165ada5.tar.gz
gcc-4e5a8d7b868a22aeb18f68fc15198943a165ada5.tar.bz2
* dwarf2out.c (base_type_die): Use int_size_in_bytes.
From-SVN: r19911
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/dwarf2out.c2
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;