DWARF: allow dynamic data member offsets for inheritance info
authorPierre-Marie de Rodat <derodat@adacore.com>
Mon, 21 Dec 2015 15:44:32 +0000 (15:44 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 21 Dec 2015 15:44:32 +0000 (15:44 +0000)
commit7c154ecc12c064ba3b154d1d27be6f19dbd0c294
tree2b4f5b779981a2c8031bb382bc23cca7247f9046
parent059fbfa82ba0eeb405af29b96068edd97d26557a
DWARF: allow dynamic data member offsets for inheritance info

An unintended effect of the recently introduced machinery to handle
dynamic data member offsets in variable-length records (when
-fgnat-encodings=minimal) prevented GCC from describing correctly
inheritance information for classes in C++, which is a regression.

This change rectifies this machinery in this case.

gcc/ChangeLog:

* dwarf2out.c (add_data_member_location_attribute): Do not
disable dynamic data member offsets descriptions for TREE_BINFO
members.

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