+2007-07-05 Seongbae Park <seongbae.park@gmail.com>
+
+ PR rtl-optimization/32475
+ * df-scan.c (df_def_record_1): Add a use of the stack pointer
+ for every definition of the stack pointer.
+
2007-07-05 Richard Earnshaw <rearnsha@arm.com>
* arm.c (vfp3_const_double_index): Copy signed results of
|| (GET_CODE (dst) == SUBREG && REG_P (SUBREG_REG (dst))))
df_ref_record (collection_rec,
dst, loc, bb, insn, DF_REF_REG_DEF, flags);
+
+ /* We want to keep sp alive everywhere - by making all
+ writes to sp also use of sp. */
+ if (REG_P (dst) && REGNO (dst) == STACK_POINTER_REGNUM)
+ df_ref_record (collection_rec,
+ dst, NULL, bb, insn, DF_REF_REG_USE, flags);
}