From: Richard Sandiford Date: Fri, 4 Mar 2011 14:19:19 +0000 (+0000) Subject: dwarf2out.c (compare_loc_operands): Fix address handling. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=087070764a30f817bba64be783768e5489422ef0;p=gcc.git dwarf2out.c (compare_loc_operands): Fix address handling. gcc/ * dwarf2out.c (compare_loc_operands): Fix address handling. From-SVN: r170675 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a88d24c452a..838b8cedf4c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-03-04 Richard Sandiford + + * dwarf2out.c (compare_loc_operands): Fix address handling. + 2011-03-04 Alan Modra * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 1450e806556..dfe10865d8b 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -23178,7 +23178,7 @@ compare_loc_operands (dw_loc_descr_ref x, dw_loc_descr_ref y) && valx2->v.val_int == valy2->v.val_int; case DW_OP_addr: hash_addr: - return rtx_equal_p (valx1->v.val_addr, valx2->v.val_addr); + return rtx_equal_p (valx1->v.val_addr, valy1->v.val_addr); case DW_OP_GNU_implicit_pointer: return valx1->val_class == dw_val_class_die_ref && valx1->val_class == valy1->val_class