OSDN Git Service

* dwarf2out.c (class_scope_p): New static inline.
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Apr 2009 20:00:48 +0000 (20:00 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Apr 2009 20:00:48 +0000 (20:00 +0000)
commita974aa3e442eed4ff62ce7796e268d9648e88482
tree51b6c54d2dfb926b1eeba7f599c2666e878d16f3
parent94373fa58c0c26ea65cae1ad36858334dfdd6bd3
* dwarf2out.c (class_scope_p): New static inline.
(class_or_namespace_scope_p): Use it.
(gen_variable_die): Use DW_TAG_member tag for static data member
declarations instead of DW_TAG_variable.

* g++.dg/debug/dwarf2/static-data-member1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145770 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/static-data-member1.C [new file with mode: 0644]