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)
commit279d9a9229b919319bd171e0ac51dd66edd9e6b3
tree7489052e9e56b253eda9312005bb15e9a5988cbe
parent34c5ca6a1a21771b8d88dfa943d9b19a60eec28a
* 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/testsuite/ChangeLog