aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
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/dwarf2out.c
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/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
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;