https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77993
Bug ID: 77993 Summary: [7 regression] bootstrap failure on PowerPC/Linux Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: major Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: ebotcazou at gcc dot gnu.org Target Milestone: --- Host: powerpc-linux-gnu Target: powerpc-linux-gnu Build: powerpc-linux-gnu Bootstrap is broken on PowerPC/Linux: /mystic.a/users/botcazou/gcc-head/./gcc/xgcc -B/mystic.a/users/botcazou/gcc-head/./gcc/ -B/work/botcazou/gcc-head/install_ppc/powerpc-linux-gnu/bin/ -B/work/botcazou/gcc-head/install_ppc/powerpc-linux-gnu/lib/ -isystem /work/botcazou/gcc-head/install_ppc/powerpc-linux-gnu/include -isystem /work/botcazou/gcc-head/install_ppc/powerpc-linux-gnu/sys-include -g -O2 -msoft-float -fPIC -mstrict-align -O2 -g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -mlong-double-128 -mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -mlong-double-128 -mno-minimal-toc -I. -I. -I../../.././gcc -I/work/botcazou/gcc-head/src/libgcc -I/work/botcazou/gcc-head/src/libgcc/. -I/work/botcazou/gcc-head/src/libgcc/../gcc -I/work/botcazou/gcc-head/src/libgcc/../include -I/work/botcazou/gcc-head/src/libgcc/../libdecnumber/dpd -I/work/botcazou/gcc-head/src/libgcc/../libdecnumber -DHAVE_CC_TLS -o _mulsc3.o -MT _mulsc3.o -MD -MP -MF _mulsc3.dep -DL_mulsc3 -c /work/botcazou/gcc-head/src/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS In file included from /work/botcazou/gcc-head/src/libgcc/libgcc2.c:56:0: /work/botcazou/gcc-head/src/libgcc/libgcc2.c: In function '__mulsc3': /work/botcazou/gcc-head/src/libgcc/libgcc2.h:256:16: internal compiler error: Segmentation fault #define __N(a) __ ## a ^ /work/botcazou/gcc-head/src/libgcc/libgcc2.h:350:19: note: in expansion of macro '__N' #define __mulsc3 __N(mulsc3) ^~~ /work/botcazou/gcc-head/src/libgcc/libgcc2.c:1900:25: note: in expansion of macro '__mulsc3' #define _CONCAT3(A,B,C) A##B##C ^ /work/botcazou/gcc-head/src/libgcc/libgcc2.c:1899:24: note: in expansion of macro '_CONCAT3' #define CONCAT3(A,B,C) _CONCAT3(A,B,C) ^~~~~~~~ /work/botcazou/gcc-head/src/libgcc/libgcc2.c:1936:1: note: in expansion of macro 'CONCAT3' CONCAT3(__mul,MODE,3) (MTYPE a, MTYPE b, MTYPE c, MTYPE d) ^~~~~~~ 0x1085368f crash_signal /work/botcazou/gcc-head/src/gcc/toplev.c:338 0x104cf7a8 aggregate_value_p(tree_node const*, tree_node const*) /work/botcazou/gcc-head/src/gcc/function.c:2019 0x102da197 emit_library_call_value_1 /work/botcazou/gcc-head/src/gcc/calls.c:4044 0x102db9ab emit_library_call_value(rtx_def*, rtx_def*, libcall_type, machine_mode, int, ...) /work/botcazou/gcc-head/src/gcc/calls.c:4748 0x1045a09f convert_move(rtx_def*, rtx_def*, int) /work/botcazou/gcc-head/src/gcc/expr.c:313 0x1045b0c7 convert_modes(machine_mode, machine_mode, rtx_def*, int) /work/botcazou/gcc-head/src/gcc/expr.c:684 0x1070c7db prepare_operand(insn_code, rtx_def*, int, machine_mode, machine_mode, int) /work/botcazou/gcc-head/src/gcc/optabs.c:3955 0x1070cf93 prepare_cmp_insn /work/botcazou/gcc-head/src/gcc/optabs.c:3865 0x1070d67f emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*, machine_mode, int, rtx_def*, int) /work/botcazou/gcc-head/src/gcc/optabs.c:4043 0x10397323 do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int, machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, int) /work/botcazou/gcc-head/src/gcc/dojump.c:1144 0x10398257 do_compare_and_jump /work/botcazou/gcc-head/src/gcc/dojump.c:1223 0x1039a763 do_jump_1(tree_code, tree_node*, tree_node*, rtx_code_label*, rtx_code_label*, int) /work/botcazou/gcc-head/src/gcc/dojump.c:253 0x1039af23 jumpifnot_1(tree_code, tree_node*, tree_node*, rtx_code_label*, int) /work/botcazou/gcc-head/src/gcc/dojump.c:140 0x102f90c7 expand_gimple_cond /work/botcazou/gcc-head/src/gcc/cfgexpand.c:2489 0x102fa96f expand_gimple_basic_block /work/botcazou/gcc-head/src/gcc/cfgexpand.c:5621 0x102ff6ff execute /work/botcazou/gcc-head/src/gcc/cfgexpand.c:6367 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. make[5]: *** [_mulsc3.o] Error 1 Preprocessed testcase attached, compile with -msoft-float -mlong-double-128.