summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1998-05-20 18:51:13 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1998-05-20 18:51:13 +0000
commit21638aad5b60fd7f211d55f7d8cf7052bfe50c6b (patch)
tree7fdbcafc9c18c89db5c89409cb5ba29c9383c0c4 /gcc/dwarf2out.c
parent9b1ab1d199f240a87431461da4c9c5a61868f12a (diff)
downloadgcc-21638aad5b60fd7f211d55f7d8cf7052bfe50c6b.tar.gz
* dwarf2out.c (base_type_die): Use int_size_in_bytes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19911 138bc75d-0d04-0410-961f-82ee72b054a4
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 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;