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)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Apr 2010 08:33:47 +0000 (08:33 +0000)
commit678b5e9bbb2c33395faf6f506e4940dba1e978c4
treeca3c2eaa773ac8ebec72826d5fd3ba0c0df9b99d
parent9c7185f7e7e9dd0b8cca92ac0a8bb22dfb7a5313
* 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.

* 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/cp/cp-tree.h
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/rv1.C [new file with mode: 0644]
gcc/tree.h