Commit 55c4ae3f by Steven Bosscher Committed by Steven Bosscher

df.c (df_insn_refs_record): Use XEXP to get the operand of a USE, not SET_DEST.

	* df.c (df_insn_refs_record): Use XEXP to get the operand of a USE,
	not SET_DEST.

From-SVN: r94672
parent cbd13f8a
2005-02-06 Steven Bosscher <stevenb@suse.de>
* df.c (df_insn_refs_record): Use XEXP to get the operand of a USE,
not SET_DEST.
2005-02-06 Marcin Dalecki <martin@dalecki.de>
* diagnostic.c (default_diagnostic_finalizer): Fix use of attribute.
......
......@@ -1196,7 +1196,7 @@ df_insn_refs_record (struct df *df, basic_block bb, rtx insn)
if (global_regs[i])
{
x = df_reg_use_gen (i);
df_uses_record (df, &SET_DEST (x),
df_uses_record (df, &XEXP (x, 0),
DF_REF_REG_USE, bb, insn, 0);
}
}
......
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