]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR debug/45124 (No DW_AT_accessibility for public DIEs in DW_TAG_class_type)
authorJakub Jelinek <jakub@redhat.com>
Mon, 20 Sep 2010 16:48:29 +0000 (18:48 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 20 Sep 2010 16:48:29 +0000 (18:48 +0200)
commitfbbe0995b838343660140bce022165bc7976edb2
treef2c542b81e80fd9d4e87ace023ee9c2eb52ea824
parentcce470f93d9a4fe30f28fb03fbe460e17933d752
re PR debug/45124 (No DW_AT_accessibility for public DIEs in DW_TAG_class_type)

PR debug/45124
* dwarf2out.c (add_accessibility_attribute): Assume
DW_ACCESS_private as the default for dwarf_version > 2
and DW_TAG_class_type parent.
(gen_inheritance_die): Assume DW_ACCESS_public as the default
for dwarf_version > 2 and parent other than DW_TAG_class_type.

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