------- Comment #6 from davek at gcc dot gnu dot org 2009-09-19 09:56 -------
heh, it's my old friend add_location_or_const_value_attribute() from pr41357
(gdb) up
#5 0x007bfd60 in add_location_or_const_value_attribute (die=0x7ef9fb58,
decl=0x7f004bc0, attr=DW_AT_location)
at /gnu/gcc/gcc-unpatched/gcc/dwarf2out.c:13769
13769 descr = loc_by_reference (loc_descriptor (varloc,
DECL_MODE(decl),
(gdb) print decl
$2 = (tree) 0x7f004bc0
(gdb) call debug_tree (decl)
<var_decl 0x7f004bc0 opname
type <pointer_type 0x7fc63560
type <integer_type 0x7fc634f0 char readonly sizes-gimplified public
string-flag QI
size <integer_cst 0x7fef03c0 constant 8>
unit size <integer_cst 0x7fef03e0 constant 1>
align 8 symtab 2144046360 alias set -1 canonical type 0x7fc634f0
precision 8 min <integer_cst 0x7fef0380 -128> max <integer_cst 0x7fef0460 127>
pointer_to_this <pointer_type 0x7fc63560>>
sizes-gimplified asm_written public unsigned SI
size <integer_cst 0x7fef0580 constant 32>
unit size <integer_cst 0x7fef0320 constant 4>
align 32 symtab 2144046304 alias set -1 canonical type 0x7fc63560
pointer_to_this <pointer_type 0x7fc63aa0>>
unsigned SI file /gnu/gcc/gcc-unpatched/gcc/java/expr.c line 3304 col 15
size <integer_cst 0x7fef0580 32> unit size <integer_cst 0x7fef0320 4>
align 32 context <function_decl 0x7f6af500 process_jvm_instruction> chain
<var_decl 0x7f004c20 oldpc>>
(gdb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41404