re PR lto/89514 (-g -fdebug-types-section -flto gives 'Dwarf Error: bad length' in...
authorRichard Biener <rguenther@suse.de>
Wed, 27 Feb 2019 11:59:07 +0000 (11:59 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 27 Feb 2019 11:59:07 +0000 (11:59 +0000)
commit06140066829cb1fc59222a457d2cdc89deb7d46b
treef01dc23b4f386d3af51f9f0ac87bf5204087671d
parenta4395a846a9343960714568e7cf8af4425e63a50
re PR lto/89514 (-g -fdebug-types-section -flto gives 'Dwarf Error: bad length' in gdb)

2019-02-27  Richard Biener  <rguenther@suse.de>

PR debug/89514
* dwarf2out.c (size_of_die): Key on AT_ref (a)->comdat_type_p
rather than on use_debug_types, doing what output_die does.
(value_format): Likewise.

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