This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PING][PATCH,ARM] Fix PR56732 - backport to gcc 4.8
- From: "Greta Yorsh" <greta dot yorsh at arm dot com>
- To: "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Cc: "Richard Earnshaw" <Richard dot Earnshaw at arm dot com>, "Ramana Radhakrishnan" <Ramana dot Radhakrishnan at arm dot com>
- Date: Fri, 24 May 2013 13:26:19 +0100
- Subject: [PING][PATCH,ARM] Fix PR56732 - backport to gcc 4.8
This patch (trunk r198547)
http://gcc.gnu.org/ml/gcc-patches/2013-05/msg00061.html
fixes an ICE in gcc 4.8:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56732
Ok to backport to 4.8 branch?
Thanks,
Greta
> -----Original Message-----
> From: Richard Earnshaw
> Sent: 02 May 2013 15:45
> To: Greta Yorsh
> Cc: GCC Patches; Ramana Radhakrishnan; diffgeom@gmail.com;
> enrico.scholz@informatik.tu-chemnitz.de; mikpe@it.uu.se
> Subject: Re: [PATCH,ARM] Fix PR56732
>
> On 02/05/13 13:52, Greta Yorsh wrote:
> > Epilogue in RTL (r188743) generated for naked functions adds simple
> return
> > jump insn and causes an ICE, as described here:
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56732
> >
> > There is a missing check of really_return argument in
> arm_expand_epilogue.
> > This patch adds the missing check and a new test.
> >
> > No regression on qemu for arm-none-eabi with cortex-a15 arm/thumb.
> > Bootstrap successful on Cortex-A15 and no regression.
> >
> > Ok for trunk?
> >
> > Thanks,
> > Greta
> >
> > gcc/ChangeLog
> >
> > 2013-05-02 Greta Yorsh <Greta.Yorsh@arm.com>
> >
> > PR target/56732
> > * config/arm/arm.c (arm_expand_epilogue): Check really_return
> before
> > generating simple_return for naked functions.
> >
> > gcc/testsuite/ChangeLog
> >
> > 2013-05-02 Greta Yorsh <Greta.Yorsh@arm.com>
> >
> > PR target/56732
> > * gcc.target/arm/pr56732-1.c: New test.
> >
> >
> OK.
>
> R.