diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-20 18:51:13 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-20 18:51:13 +0000 |
commit | 21638aad5b60fd7f211d55f7d8cf7052bfe50c6b (patch) | |
tree | 7fdbcafc9c18c89db5c89409cb5ba29c9383c0c4 /gcc/dwarf2out.c | |
parent | 9b1ab1d199f240a87431461da4c9c5a61868f12a (diff) | |
download | gcc-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.c | 2 |
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; |