r157190 - in /trunk/gcc: ChangeLog dwarf2out.c ...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Mar 3 07:02:00 GMT 2010
Author: jakub
Date: Wed Mar 3 07:02:37 2010
New Revision: 157190
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157190
Log:
PR debug/43237
* dwarf2out.c (add_bound_info): If a decl bound doesn't have decl_die,
fallthrough to default handling, just with want_address 0 instead of 2.
For single element lists, add_AT_loc directly, otherwise create an
artificial variable DIE and stick location list to it.
* gcc.dg/debug/dwarf2/pr43237.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/debug/dwarf2/pr43237.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list