PR ada/35998
commit4203dd9b95c4f8e1d85a0a39a5f9d7e6797806ac
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Nov 2013 10:07:14 +0000 (13 10:07 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Nov 2013 10:07:14 +0000 (13 10:07 +0000)
tree536c5db89f67f2f5f29306b79c7e0b96cc6b6c45
parentd2c42908eeedbbddc83da5a0339f8174df787541
PR ada/35998
* dwarf2out.c (add_byte_size_attribute): Also use int_size_in_bytes
for fields.  Do not add the attribute if the size is negative.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204736 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2out.c