https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66747
Bug ID: 66747 Summary: The commit r225260 broke the builds of the mips-{mti,img}-linux-gnu tool chains. Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: doug.gilmore at imgtec dot com Target Milestone: --- The commit r225260 broke the builds of the mips-{mti,img}-linux-gnu tool chains. To reproduce the problem, configure the binutils build from the directory /scratch/d/obj-mips-img-linux-gnu/binutils-gdb: /scratch/d/src/binutils-gdb/configure --prefix=/scratch/d/install-mips-img-linux-gnu --target=mips-img-linux-gnu --with-sysroot=/scratch/d/install-mips-img-linux-gnu/sysroot then run make and make install Then configure the gcc build from the directory /scratch/d/obj-mips-img-linux-gnu/initial_gcc: /scratch/d/src/gcc/configure --prefix=/scratch/d/install-mips-img-linux-gnu --disable-libssp --disable-libgomp --disable-libmudflap --disable-decimal-float --with-mips-plt --target=mips-img-linux-gnu --enable-languages=c --without-headers --disable-shared --disable-threads --disable-libquadmath --disable-libatomic running make fails with: /scratch/d/obj-mips-img-linux-gnu/initial_gcc/./gcc/xgcc -B/scratch/d/obj-mips-img-linux-gnu/initial_gcc/./gcc/ -B/scratch/d/install-mips-img-linux-gnu/mips-img-linux-gnu/bin/ -B/scratch/d/install-mips-img-linux-gnu/mips-img-linux-gnu/lib/ -isystem /scratch/d/install-mips-img-linux-gnu/mips-img-linux-gnu/include -isystem /scratch/d/install-mips-img-linux-gnu/mips-img-linux-gnu/sys-include -g -O2 -minterlink-mips16 -mips64r6 -O2 -g -O2 -minterlink-mips16 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../../.././gcc -I/scratch/d/src/gcc/libgcc -I/scratch/d/src/gcc/libgcc/. -I/scratch/d/src/gcc/libgcc/../gcc -I/scratch/d/src/gcc/libgcc/../include -g0 -finhibit-size-directive -fno-inline -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -I. -I. -I../../../.././gcc -I/scratch/d/src/gcc/libgcc -I/scratch/d/src/gcc/libgcc/. -I/scratch/d/src/gcc/libgcc/../gcc -I/scratch/d/src/gcc/libgcc/../include -o crtbeginT.o -MT crtbeginT.o -MD -MP -MF crtbeginT.dep -c /scratch/d/src/gcc/libgcc/crtstuff.c -DCRT_BEGIN -DCRTSTUFFT_O /scratch/d/src/gcc/libgcc/crtstuff.c: In function 'frame_dummy': /scratch/d/src/gcc/libgcc/crtstuff.c:490:1: error: unrecognizable insn: } ^ (insn 82 67 8 (sequence [ (jump_insn 7 67 66 (set (pc) (if_then_else (eq (reg/f:SI 2 $2 [197]) (const_int 0 [0])) (label_ref:SI 15) (pc))) /scratch/d/src/gcc/libgcc/crtstuff.c:470 466 {*branch_equalitysi} (expr_list:REG_DEAD (reg/f:SI 2 $2 [197]) (int_list:REG_BR_PROB 3017 (nil))) -> 15) (insn/f 66 7 8 (set (mem/c:DI (plus:SI (reg/f:SI 29 $sp) (const_int 8 [0x8])) [5 S8 A64]) (reg:DI 31 $31)) 302 {*movdi_64bit} (expr_list:REG_FRAME_RELATED_EXPR (set/f (mem/c:DI (plus:SI (reg/f:SI 29 $sp) (const_int 8 [0x8])) [5 S8 A64]) (reg:DI 31 $31)) (nil))) ]) /scratch/d/src/gcc/libgcc/crtstuff.c:470 -1 (nil)) We are working around the issue by reverting r225260.