http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59575
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Ryan Mansfield from comment #9) > (In reply to Jakub Jelinek from comment #8) > > Created attachment 31934 [details] > > gcc49-pr59575.patch > > > > Untested fix. Can somebody please test it? > > The attached patch fixes the original ICE but introduces a new one. > > > -I../../../libgcc/../include -DHAVE_CC_TLS -o unwind-c.o -MT unwind-c.o > -MD -MP -MF unwind-c.dep -fexceptions -c ../../../libgcc/unwind-c.c > -fvisibility=hidden -DHIDE_EXPORTS > ../../../libgcc/unwind-arm-common.inc:275:1: internal compiler error: in > arm_unwind_emit_sequence, at config/arm/arm.c:28777 > } > ^ > 0xbef8a5 arm_unwind_emit_sequence > ../../gcc/config/arm/arm.c:28777 > 0xbef8a5 arm_unwind_emit > ../../gcc/config/arm/arm.c:28999 > 0x708bde final_scan_insn(rtx_def*, _IO_FILE*, int, int, int*) > ../../gcc/final.c:2978 > 0x709585 final(rtx_def*, _IO_FILE*, int) > ../../gcc/final.c:2024 > 0x7099a9 rest_of_handle_final > ../../gcc/final.c:4438 > 0x7099a9 execute > ../../gcc/final.c:4513 > Please submit a full bug report, > with preprocessed source if appropriate. Can you please attach unwind-c.i ? What exact options is it compiled with (including whatever -march/float abi/etc. is needed to reproduce on say --target armv5tel-unknown-linux-gnueabi configured gcc)? I'm surprised it would affect arm unwind info, but perhaps I've made a bug in the patch somewhere.