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 01:06:48 +0000 (10:06 +0900)
commit201f2d320fc502791579586e67b21d5b08917a73
treecab83c2e0d3e3095ff3eac3acb6b119f3d24992e
parentc196364b4629a656e51cc33ea3fad6aea01e3a10
* 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/tree.h