https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #15 from Oleg Endo <olegendo at gcc dot gnu.org> --- (In reply to Oleg Endo from comment #14) > Author: olegendo > Date: Sat Sep 13 21:32:27 2014 > New Revision: 215246 > > URL: https://gcc.gnu.org/viewcvs?rev=215246&root=gcc&view=rev > Log: > PR target/55212 > * Apply patch from https://gcc.gnu.org/ml/gcc/2014-04/msg00273.html > > Modified: > branches/sh-lra/gcc/lra-constraints.c Now the build 'make all' for sh-elf c,c++ completes without errors. New problem: Compiling newlib 1.20.0 with '-O2 -m2e': ./../../../../../newlib-1.20.0/newlib/libm/math/er_lgamma.c: In function '__ieee754_lgamma_r': ../../../../../../newlib-1.20.0/newlib/libm/math/er_lgamma.c:309:1: internal compiler error: Max. number of generated reload insns per insn is achieved (90) } ^ 0x85551c5 lra_constraints(bool) ../../gcc-sh-lra/gcc/lra-constraints.c:4145 0x85442bc lra(_IO_FILE*) ../../gcc-sh-lra/gcc/lra.c:2206 0x8500df3 do_reload ../../gcc-sh-lra/gcc/ira.c:5312 0x8500df3 execute ../../gcc-sh-lra/gcc/ira.c:5471 Please submit a full bug report,