OSDN Git Service

* tree.h (TYPE_REF_IS_RVALUE): Define.
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Apr 2010 08:33:47 +0000 (08:33 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:34:14 +0000 (14:34 +0900)
* dwarf2out.c (attr_checksum_ordered, is_type_die, is_comdat_die,
should_move_die_to_comdat, prune_unused_types_walk): Handle
DW_TAG_rvalue_reference_type like DW_TAG_reference_type.
(modified_type_die, gen_reference_type_die): Emit
DW_TAG_rvalue_reference_type instead of DW_TAG_reference_type
if TYPE_REF_IS_RVALUE and -gdwarf-4.

* cp-tree.h (TYPE_REF_IS_RVALUE): Remove.

* g++.dg/debug/dwarf2/rv1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158542 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog

index 767829a..6d2b760 100644 (file)
@@ -1,3 +1,13 @@
+2010-04-20  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree.h (TYPE_REF_IS_RVALUE): Define.
+       * dwarf2out.c (attr_checksum_ordered, is_type_die, is_comdat_die,
+       should_move_die_to_comdat, prune_unused_types_walk): Handle
+       DW_TAG_rvalue_reference_type like DW_TAG_reference_type.
+       (modified_type_die, gen_reference_type_die): Emit
+       DW_TAG_rvalue_reference_type instead of DW_TAG_reference_type
+       if TYPE_REF_IS_RVALUE and -gdwarf-4.
+
 2010-04-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        PR target/43635
index 71ffdea..d54b21d 100644 (file)
@@ -1,3 +1,7 @@
+2010-04-20  Jakub Jelinek  <jakub@redhat.com>
+
+       * cp-tree.h (TYPE_REF_IS_RVALUE): Remove.
+
 2010-04-19  Dodji Seketeli  <dodji@redhat.com>
 
        PR c++/43704
index 9c63888..c41a327 100644 (file)
@@ -1,3 +1,7 @@
+2010-04-20  Jakub Jelinek  <jakub@redhat.com>
+
+       * g++.dg/debug/dwarf2/rv1.C: New test.
+
 2010-04-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        PR target/43635