https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116354
Bug ID: 116354 Summary: [15 regression] ICE during bootstrap stage 2 after r15-2891-gb219cbeda72d23 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:b219cbeda72d23b7ad6ff12cd159784b7ef00667, r15-2891-gb219cbeda72d23 /home/seurer/gcc/git/build/gcc-trunk-bootstrap/./prev-gcc/xg++ -B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/./prev-gcc/ -B/home/seurer/gcc/git/install/gcc-trunk-bootstrap/powerpc64le-unknown-linux-gnu/bin/ -nostdinc++ -B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs -B/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu -I/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include -I/home/seurer/gcc/git/gcc-trunk-bootstrap/libstdc++-v3/libsupc++ -L/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs -L/home/seurer/gcc/git/build/gcc-trunk-bootstrap/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp -I. -I/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/../include -I/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/include -g -O2 -fno-checking -gtoggle -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -Werror -fno-exceptions -fno-rtti -I/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp -I. -I/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/../include -I/home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/include -c -o lex.o -MT lex.o -MMD -MP -MF .deps/lex.Tpo /home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/lex.cc during RTL pass: ce1 /home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/lex.cc: In function 'void _cpp_clean_line(cpp_reader*)': /home/seurer/gcc/git/gcc-trunk-bootstrap/libcpp/lex.cc:1002:1: internal compiler error: in expand_simple_binop, at optabs.cc:1264 1002 | } | ^ 0x13741ec7 internal_error(char const*, ...) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/diagnostic-global-context.cc:491 0x13703b9b fancy_abort(char const*, int, char const*) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/diagnostic.cc:1772 0x1194926b expand_simple_binop(machine_mode, rtx_code, rtx_def*, rtx_def*, rtx_def*, int, optab_methods) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/optabs.cc:1264 0x113fec23 force_operand(rtx_def*, rtx_def*) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/expr.cc:8687 0x113aeb2f copy_to_mode_reg(machine_mode, rtx_def*) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/explow.cc:655 0x11963c57 maybe_legitimize_operand /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/optabs.cc:8041 0x11964927 maybe_legitimize_operands(insn_code, unsigned int, unsigned int, expand_operand*) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/optabs.cc:8184 0x11964a57 maybe_gen_insn(insn_code, unsigned int, expand_operand*) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/optabs.cc:8203 0x11965103 maybe_expand_insn(insn_code, unsigned int, expand_operand*) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/optabs.cc:8258 0x1195985b emit_conditional_move_1 /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/optabs.cc:5229 0x11959483 emit_conditional_move(rtx_def*, rtx_comparison, rtx_def*, rtx_def*, machine_mode, int) /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/optabs.cc:5142 0x133c347f noce_emit_cmove /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ifcvt.cc:1773 0x133c8da7 try_emit_cmove_seq /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ifcvt.cc:3406 0x133c9813 noce_convert_multiple_sets_1 /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ifcvt.cc:3687 0x133c8f3b noce_convert_multiple_sets /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ifcvt.cc:3492 0x133ca687 noce_process_if_block /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ifcvt.cc:4025 0x133ccaa3 noce_find_if_block /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ifcvt.cc:4706 0x133cd40b find_if_header /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ifcvt.cc:4911 0x133d0c8f if_convert /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ifcvt.cc:6058 0x133d0feb rest_of_handle_if_conversion /home/seurer/gcc/git/gcc-trunk-bootstrap/gcc/ifcvt.cc:6123 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. make[3]: *** [Makefile:227: lex.o] Error 1 make[3]: Leaving directory '/home/seurer/gcc/git/build/gcc-trunk-bootstrap/libcpp' make[2]: *** [Makefile:12976: all-stage2-libcpp] Error 2 make[2]: Leaving directory '/home/seurer/gcc/git/build/gcc-trunk-bootstrap' make[1]: *** [Makefile:30236: stage2-bubble] Error 2 make[1]: Leaving directory '/home/seurer/gcc/git/build/gcc-trunk-bootstrap' make: *** [Makefile:1110: all] Error 2 seurer@ltcden2-lp1:~/gcc/git/build/gcc-trunk-bootstrap$ cat stage_current stage2 commit b219cbeda72d23b7ad6ff12cd159784b7ef00667 (HEAD) Author: Manolis Tsamis <manolis.tsa...@vrull.eu> Date: Tue Aug 29 11:47:39 2023 +0200 ifcvt: Handle multiple rewired regs and refactor noce_convert_multiple_sets