https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63823
Bug ID: 63823 Summary: [5.0 Regression] MIPS will not build due to LRA ICE with 64 bit ABI Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sje at gcc dot gnu.org My x86 to MIPS build is failing when the new compiler cannot compile a file from glibc. A cut-down preprocessed test case is attached. It only fails with the 64 bit ABI, with LRA, and with -O2 -g. % install-mips-linux-gnu/bin/mips-linux-gnu-gcc -mips64r2 -mabi=64 -O2 -g -c x.c x.c: In function '__ieee754_jnl': x.c:73:1: internal compiler error: in alter_subregs, at lra-spills.c:633 } ^ 0x8ddafa alter_subregs /scratch/sellcey/repos/ice/src/gcc/gcc/lra-spills.c:633 0x8df1fd lra_final_code_change() /scratch/sellcey/repos/ice/src/gcc/gcc/lra-spills.c:739 0x8c48fb lra(_IO_FILE*) /scratch/sellcey/repos/ice/src/gcc/gcc/lra.c:2358 0x880729 do_reload /scratch/sellcey/repos/ice/src/gcc/gcc/ira.c:5380 0x880729 execute /scratch/sellcey/repos/ice/src/gcc/gcc/ira.c:5550 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions.