Commit faf6db38 by Jakub Jelinek Committed by Jakub Jelinek

re PR middle-end/6102 (sparc-sun-solaris2.7 gcc-3.1 RTL checking failure on gcc.dg/20020201-4.c)

	PR middle-end/6102
	* df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
	USE argument.

From-SVN: r51813
parent cba2004a
2002-04-03 Jakub Jelinek <jakub@redhat.com>
PR middle-end/6102
* df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
USE argument.
2002-04-03 Richard Henderson <rth@redhat.com>
PR opt/4120
......
......@@ -1236,7 +1236,7 @@ df_insn_refs_record (df, bb, insn)
note = XEXP (note, 1))
{
if (GET_CODE (XEXP (note, 0)) == USE)
df_uses_record (df, &SET_DEST (XEXP (note, 0)), DF_REF_REG_USE,
df_uses_record (df, &XEXP (XEXP (note, 0), 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