https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91957
Bug ID: 91957 Summary: [10 Regression] ICE in lra_assign building libgcc for csky-linux-gnuabiv2 soft-float Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jsm28 at gcc dot gnu.org CC: rsandifo at gcc dot gnu.org Target Milestone: --- Target: csky*-*-* Created attachment 46988 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46988&action=edit preprocessed source The function-ABI changes (r276306 is OK, r276339 fails) appear to have introduced an ICE building libgcc for csky-linux-gnuabiv2 soft-float (configure options: --disable-multilib). Preprocessed source attached. Compile with -O2. ICE seen with current sources (r276417) is as follows. In the hard-float case, libgcc builds OK but there is a similar ICE building glibc, which I guess has the same cause so I haven't filed a separate bug for it. /scratch/jmyers/glibc/many10/src/gcc/libgcc/libgcc2.c: In function '__mulsc3': /scratch/jmyers/glibc/many10/src/gcc/libgcc/libgcc2.c:2030:1: internal compiler error: in lra_assign, at lra-assigns.c:1647 2030 | } | ^ 0x9feabc lra_assign(bool&) /scratch/jmyers/glibc/many10/src/gcc/gcc/lra-assigns.c:1647 0x9f9314 lra(_IO_FILE*) /scratch/jmyers/glibc/many10/src/gcc/gcc/lra.c:2482 0x9ad1f1 do_reload /scratch/jmyers/glibc/many10/src/gcc/gcc/ira.c:5511 0x9ad1f1 execute /scratch/jmyers/glibc/many10/src/gcc/gcc/ira.c:5697 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.