[Committed] PR target/43156 Fix spu-elf build after scheduling fix

Andrew Pinski pinskia@gmail.com
Sat Mar 20 18:08:00 GMT 2010


On Sat, Mar 20, 2010 at 9:41 AM, Andrew Pinski <pinskia@gmail.com> wrote:
> Hi,
>  The problem here is that after a fix to the scheduler, a
> NOTE_INSN_DELETED after the NOTE_INSN_EPILOGUE_BEG note is no longer
> valid.  This removes from the spu back-end, the emitting of uneeded
> NOTE_INSN_DELETED.  They were originally emitted because the code was
> copied from the rs6000 back-end's "text" based epilogue but since the
> spu-end did not use them in that context at all, we don't need the
> NOTE_INSN_DELETED.  (note the rs6000 back-end still needs them where
> they are used, they are not used for the normal epilogue code though).
>
> Committed after a test on spu-elf with no regressions.

Forgot the changeLog:
* config/spu/spu.c (spu_expand_prologue): Don't emit NOTE_INSN_DELETED
at the begining or end.
(spu_expand_epilogue): Likewise.



More information about the Gcc-patches mailing list