diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6b3b54abd50..b1a2483df78 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-02-27 Graham Stott + + * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE. + Wed Feb 27 10:45:19 CET 2002 Jan Hubicka * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove. diff --git a/gcc/df.c b/gcc/df.c index 3d50ea79fb7..8d5e8b6da4a 100644 --- a/gcc/df.c +++ b/gcc/df.c @@ -1242,7 +1242,7 @@ df_insn_refs_record (df, bb, insn) /* The stack ptr is used (honorarily) by a CALL insn. */ x = df_reg_use_gen (STACK_POINTER_REGNUM); - df_uses_record (df, &SET_DEST (x), DF_REF_REG_USE, bb, insn, 0); + df_uses_record (df, &XEXP (x, 0), DF_REF_REG_USE, bb, insn, 0); if (df->flags & DF_HARD_REGS) {