This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: arm.c: add REG_MAYBE_DEAD notes for frame pointer initialisation.
- From: Richard Henderson <rth at redhat dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 21 Jan 2002 14:24:57 -0800
- Subject: Re: arm.c: add REG_MAYBE_DEAD notes for frame pointer initialisation.
- References: <m3pu4anth4.fsf@north-pole.nickc.cambridge.redhat.com>
On Wed, Jan 16, 2002 at 04:36:23PM +0000, Nick Clifton wrote:
> Under some circumstances propagate_one_insn() will complain about
> the apparently useless insns to initialise the frame pointer
> generated by the ARM prologue code. The patch below adds a
> REG_MAYBE_DEAD note to these insns to prevent the problem from
> occurring.
This will simply remove the insn without complaining,
which is surely not what you wanted wrt a frame pointer.
r~