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 05:33:52 +0000 (14:33 +0900)
* 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/testsuite/ChangeLog

index 93c21a5..5bf2460 100644 (file)
@@ -1,3 +1,9 @@
+2010-04-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree.h (ENUM_IS_SCOPED): Define.
+       * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_enum_class
+       for ENUM_IS_SCOPED enums.
+
 2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
 
        * fold-const.c (fold_comparison): Use ssizetype.
index c793349..f2b6919 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * cp-tree.h (SCOPED_ENUM_P, UNSCOPED_ENUM_P, SET_SCOPED_ENUM_P): Use
+       ENUM_IS_SCOPED bit instead of TYPE_LANG_FLAG_5.
+
 2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
 
        * decl.c (cxx_init_decl_processing): Remove second argument in call to
index 40b1298..216c225 100644 (file)
@@ -1,3 +1,7 @@
+2010-04-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * g++.dg/debug/dwarf2/enum1.C: New test.
+
 2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gnat.dg/rep_clause5.ad[sb]: New test.