re PR ada/35998 (debug info invalid x86_64 DW_AT_byte_size 0xffffffff)
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 13 Nov 2013 10:07:14 +0000 (10:07 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 13 Nov 2013 10:07:14 +0000 (10:07 +0000)
commitbed36869f037dc6c9a53c5d5b5ccfd5c0394cd75
tree536c5db89f67f2f5f29306b79c7e0b96cc6b6c45
parentf819a56dc7984834ca5d0f5aaa09c719ab1c0883
re PR ada/35998 (debug info invalid x86_64 DW_AT_byte_size 0xffffffff)

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.

From-SVN: r204736
gcc/ChangeLog
gcc/dwarf2out.c