https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78458
Bug ID: 78458 Summary: [7 Regression] LRA ICE building libgcc for powerpc-linux-gnuspe e500v2 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jsm28 at gcc dot gnu.org Target Milestone: --- Target: powerpc-linux-gnuspe Created attachment 40103 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40103&action=edit preprocessed source GCC mainline has an ICE in LRA when building libgcc for powerpc-linux-gnuspe target (configured with --enable-e500-double and --with-glibc-version=2.24 to get the relevant handling of DFmode and TFmode). I'll attach preprocessed source of the relevant libgcc file. Compile with: -g -O2 -fPIC -mlong-double-128 -mno-minimal-toc -fbuilding-libgcc -fno-stack-protector -S multc3.i /scratch/jmyers/glibc/many7/src/gcc/libgcc/libgcc2.c: In function '__multc3': /scratch/jmyers/glibc/many7/src/gcc/libgcc/libgcc2.c:2035:1: internal compiler error: in lra_set_insn_recog_data, at lra.c:965 } ^ 0x9b41cc lra_set_insn_recog_data(rtx_insn*) /scratch/jmyers/glibc/many7/src/gcc/gcc/lra.c:963 0x9b43ef lra_get_insn_recog_data /scratch/jmyers/glibc/many7/src/gcc/gcc/lra-int.h:487 0x9b43ef lra_update_insn_regno_info(rtx_insn*) /scratch/jmyers/glibc/many7/src/gcc/gcc/lra.c:1585 0x9b46bf lra_update_insn_regno_info(rtx_insn*) /scratch/jmyers/glibc/many7/src/gcc/gcc/vec.h:1447 0x9b46bf lra_push_insn_1 /scratch/jmyers/glibc/many7/src/gcc/gcc/lra.c:1736 0x9b46bf lra_push_insn(rtx_insn*) /scratch/jmyers/glibc/many7/src/gcc/gcc/lra.c:1744 0x9b46bf push_insns /scratch/jmyers/glibc/many7/src/gcc/gcc/lra.c:1787 0x9b5f2d lra_process_new_insns(rtx_insn*, rtx_insn*, rtx_insn*, char const*) /scratch/jmyers/glibc/many7/src/gcc/gcc/lra.c:1835 0x9c15f8 split_reg /scratch/jmyers/glibc/many7/src/gcc/gcc/lra-constraints.c:5370 0x9c2134 inherit_in_ebb /scratch/jmyers/glibc/many7/src/gcc/gcc/lra-constraints.c:6179 0x9c6b23 lra_inheritance() /scratch/jmyers/glibc/many7/src/gcc/gcc/lra-constraints.c:6249 0x9b6d52 lra(_IO_FILE*) /scratch/jmyers/glibc/many7/src/gcc/gcc/lra.c:2403 0x96c231 do_reload /scratch/jmyers/glibc/many7/src/gcc/gcc/ira.c:5381 0x96c231 execute /scratch/jmyers/glibc/many7/src/gcc/gcc/ira.c:5565 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.