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
This commit is contained in:
Steven Bosscher 2005-02-06 11:57:47 +00:00 committed by Steven Bosscher
parent cbd13f8a73
commit 55c4ae3f3a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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);
}
}