https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106919
Bug ID: 106919 Summary: [13 Regression] RTL check: expected code 'set' or 'clobber', have 'if_then_else' in s390_rtx_costs, at config/s390/s390.cc:3672on s390x-linux-gnu Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- seen with trunk 20220912 on s390x-linux-gnu during RTL pass: ce1 ../../../src/libgcc/libgcc2.c: In function '__multi3': ../../../src/libgcc/libgcc2.c:538:1: internal compiler error: RTL check: expected code 'set' or 'clobber', have 'if_then_else' in s390_rtx_costs, at config/s390/s390.cc:3672 538 | } | ^ 0x2b6a7dd s390_rtx_costs ../../src/gcc/config/s390/s390.cc:3672 0x232e3cd rtx_cost(rtx_def*, machine_mode, rtx_code, int, bool) ../../src/gcc/rtlanal.cc:4601 0x2307a2f set_rtx_cost ../../src/gcc/rtl.h:2925 0x23388e5 seq_cost(rtx_insn const*, bool) ../../src/gcc/rtlanal.cc:5788 0x39a24ad default_noce_conversion_profitable_p(rtx_insn*, noce_if_info*) ../../src/gcc/ifcvt.cc:814 0x39a973b noce_try_cmove ../../src/gcc/ifcvt.cc:1864 0x39b4bc5 noce_process_if_block ../../src/gcc/ifcvt.cc:3964 0x39b6e99 noce_find_if_block ../../src/gcc/ifcvt.cc:4521 0x39b794f find_if_header ../../src/gcc/ifcvt.cc:4726 0x39bbbd5 if_convert ../../src/gcc/ifcvt.cc:5873 0x39bbe4d rest_of_handle_if_conversion ../../src/gcc/ifcvt.cc:5938 0x39bbf61 execute ../../src/gcc/ifcvt.cc:5978 Configured with: -v --with-pkgversion='Ubuntu 20220912-1ubuntu1' --with-bugurl='file:///usr/share/doc/gcc-snapshot/README.Bugs' --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr/lib/gcc-snapshot --with-gcc-major-version-only --program-prefix= --enable-shared --enable-linker-build-id --disable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch=z13 --with-tune=z15 --enable-s390-excess-float-precision --with-long-double-128 --enable-multilib --enable-checking=yes,extra,rtl --build=s390x-linux-gnu --host=s390x-linux-gnu --target=s390x-linux-gnu