Commit 304fe432 by Jakub Jelinek Committed by Jakub Jelinek

re PR debug/50215 (FAIL: gcc.dg/guality/pr45882.c)

	PR debug/50215
	* var-tracking.c (create_entry_value): Call cselib_lookup_from_insn
	before adding ENTRY_VALUE to val->locs.

From-SVN: r178167
parent 2c1a2cf3
2011-08-29 Jakub Jelinek <jakub@redhat.com>
PR debug/50215
* var-tracking.c (create_entry_value): Call cselib_lookup_from_insn
before adding ENTRY_VALUE to val->locs.
2011-08-28 Mikael Pettersson <mikpe@it.uu.se>
PR bootstrap/50218
......@@ -8488,13 +8488,13 @@ create_entry_value (rtx rtl, cselib_val *val)
cselib_val *val2;
struct elt_loc_list *el;
el = (struct elt_loc_list *) ggc_alloc_cleared_atomic (sizeof (*el));
el->next = val->locs;
el->loc = gen_rtx_ENTRY_VALUE (GET_MODE (rtl));
ENTRY_VALUE_EXP (el->loc) = rtl;
el->setting_insn = get_insns ();
val->locs = el;
val2 = cselib_lookup_from_insn (el->loc, GET_MODE (rtl), true,
VOIDmode, get_insns ());
el->next = val->locs;
el->setting_insn = get_insns ();
val->locs = el;
if (val2
&& val2 != val
&& val2->locs
......
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