Thanks for point it out. I posted a patch that should fix it: http://gcc.gnu.org/ml/gcc-patches/2012-07/msg00380.html
Thank you, Greta > -----Original Message----- > From: Joey Ye > Sent: 06 July 2012 14:39 > To: Greta Yorsh > Cc: gcc@gcc.gnu.org; Zhuolin Liu; Terry Guo > Subject: ICE when calculate insn latency for armv7e-m arch in O2 level > > Greta, > > Since this checkin, GCC ICE when build fix-point library with > -march=armv7e-m -O2. Reduced test case at > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53859 > > This is a show-stopper to cortex-m4 target. > > > URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188742 > Log: > The main function for epilogue RTL generation, used by expand epilogue > patterns. > > gcc/ > > 2012-06-18 Ian Bolton <ian.bol...@arm.com> > Sameera Deshpande <sameera.deshpa...@arm.com> > Greta Yorsh <greta.yo...@arm.com> > > * config/arm/arm-protos.h (arm_expand_epilogue): New > declaration. > * config/arm/arm.c (arm_expand_epilogue): New function. > * config/arm/arm.md (epilogue): Update condition and code. > (sibcall_epilogue): Likewise. > > > Modified: > trunk/gcc/ChangeLog > trunk/gcc/config/arm/arm-protos.h > trunk/gcc/config/arm/arm.c > trunk/gcc/config/arm/arm.md > > >