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; diffg...@gmail.com; > enrico.sch...@informatik.tu-chemnitz.de; mi...@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.yo...@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.yo...@arm.com> > > > > PR target/56732 > > * gcc.target/arm/pr56732-1.c: New test. > > > > > OK. > > R.