This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]