diff options
-rw-r--r-- | gcc/ChangeLog.google-4_6 | 6 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog.google-4_6 b/gcc/ChangeLog.google-4_6 index 9296b8fda09..bad9a8e2bed 100644 --- a/gcc/ChangeLog.google-4_6 +++ b/gcc/ChangeLog.google-4_6 @@ -1,3 +1,9 @@ +2012-03-20 Cary Coutant <ccoutant@google.com> + + * dwarf2out.c (size_of_loc_descr): Use val_index instead of + v.val_unsigned. + (output_loc_operands): Likewise. + 2012-03-19 Sterling Augustine <saugustine@google.com> Cary Coutant <ccoutant@google.com> diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index e022fb05d72..e67dc3515b9 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -4902,7 +4902,7 @@ size_of_loc_descr (dw_loc_descr_ref loc) size += DWARF2_ADDR_SIZE; break; case DW_OP_GNU_addr_index: - size += size_of_uleb128 (loc->dw_loc_oprnd1.v.val_unsigned); + size += size_of_uleb128 (loc->dw_loc_oprnd1.val_index); break; case DW_OP_const1u: case DW_OP_const1s: @@ -5283,7 +5283,7 @@ output_loc_operands (dw_loc_descr_ref loc, int for_eh_or_skip) break; case DW_OP_GNU_addr_index: - dw2_asm_output_data_uleb128 (loc->dw_loc_oprnd1.v.val_unsigned, + dw2_asm_output_data_uleb128 (loc->dw_loc_oprnd1.val_index, "(address index)"); break; |