Commit 08707076 by Richard Sandiford Committed by Richard Sandiford

dwarf2out.c (compare_loc_operands): Fix address handling.

gcc/
	* dwarf2out.c (compare_loc_operands): Fix address handling.

From-SVN: r170675
parent 52517c81
2011-03-04 Richard Sandiford <richard.sandiford@linaro.org>
* dwarf2out.c (compare_loc_operands): Fix address handling.
2011-03-04 Alan Modra <amodra@gmail.com> 2011-03-04 Alan Modra <amodra@gmail.com>
* tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment.
......
...@@ -23178,7 +23178,7 @@ compare_loc_operands (dw_loc_descr_ref x, dw_loc_descr_ref y) ...@@ -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; && valx2->v.val_int == valy2->v.val_int;
case DW_OP_addr: case DW_OP_addr:
hash_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: case DW_OP_GNU_implicit_pointer:
return valx1->val_class == dw_val_class_die_ref return valx1->val_class == dw_val_class_die_ref
&& valx1->val_class == valy1->val_class && valx1->val_class == valy1->val_class
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment