OSDN Git Service

* tree.h (ENUM_IS_SCOPED): Define.
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Apr 2010 07:48:46 +0000 (07:48 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 01:05:31 +0000 (10:05 +0900)
commit39c947c304bb79517f0f4a9af83f920a2da911a4
tree69bbefd907a82294c0f1dfd529c2298fd6f91ccb
parente5cd6c82bc59930724eb91aeb59f4c3d51e2f7d8
* tree.h (ENUM_IS_SCOPED): Define.
* dwarf2out.c (gen_enumeration_type_die): Add DW_AT_enum_class
for ENUM_IS_SCOPED enums.
cp/
* cp-tree.h (SCOPED_ENUM_P, UNSCOPED_ENUM_P, SET_SCOPED_ENUM_P): Use
ENUM_IS_SCOPED bit instead of TYPE_LANG_FLAG_5.
testsuite/
* g++.dg/debug/dwarf2/enum1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158505 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/tree.h