This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r167517 - in /trunk/gcc: ChangeLog dwarf2out.c ...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 06 Dec 2010 19:33:53 -0000
- Subject: r167517 - in /trunk/gcc: ChangeLog dwarf2out.c ...
Author: jakub
Date: Mon Dec 6 19:33:52 2010
New Revision: 167517
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167517
Log:
PR debug/45997
* dwarf2out.c (modified_type_die): If both is_const_type and
is_volatile_type is set, start with DW_TAG_const_type or
DW_TAG_volatile_type depending on where we get qualified type
in the recursive call.
* g++.dg/debug/dwarf2/pr45997-1.C: New test.
* g++.dg/debug/dwarf2/pr45997-2.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/debug/dwarf2/pr45997-1.C
trunk/gcc/testsuite/g++.dg/debug/dwarf2/pr45997-2.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog