This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove RTX_FRAME_RELATED_P from SEQUENCE in arm.c
Hi Guys,
> Richard Henderson <rth@redhat.com> writes:
> As I mentioned earlier, no one ever looks at the RTX_FRAME_RELATED_P
> bit on that sequence, since we receive the thing via
> REG_FRAME_RELATED_EXPR. There's no point in setting the bit.
Fair enough. I have applied this patch instead.
Cheers
Nick
2002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
* config/arm/arm.c (emit_multi_reg_push): Do not set
RTX_FRAME_RELATED_P on the SEQUENCE.
Index: gcc/config/arm/arm.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/arm.c,v
retrieving revision 1.206
diff -c -3 -p -w -r1.206 arm.c
*** gcc/config/arm/arm.c 16 May 2002 15:17:40 -0000 1.206
--- gcc/config/arm/arm.c 17 May 2002 07:27:34 -0000
*************** emit_multi_reg_push (mask)
*** 7834,7840 ****
par = gen_rtx_PARALLEL (VOIDmode, rtvec_alloc (num_regs));
dwarf = gen_rtx_SEQUENCE (VOIDmode, rtvec_alloc (num_dwarf_regs + 1));
- RTX_FRAME_RELATED_P (dwarf) = 1;
dwarf_par_index = 1;
for (i = 0; i <= LAST_ARM_REGNUM; i++)
--- 7834,7839 ----