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
This commit is contained in:
Jakub Jelinek 2002-04-03 23:35:46 +02:00 committed by Jakub Jelinek
parent cba2004a90
commit faf6db38a4
2 changed files with 7 additions and 1 deletions

View File

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

View File

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