https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121309
Bug ID: 121309 Summary: [16 Regression] ICE: in assert_rtx_eq_at, at selftest-rtl.cc:57: test_scalar_int_ext_ops: FAIL: ASSERT_RTX_EQ (lowpart_subreg ( ... ), ... ) during armv7a-hardfloat build Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: ice-checking Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: armv7a-hardfloat-linux-gnueabi During build: ... make[2]: Entering directory '/repo/build-gcc-trunk-armv7a-hardfloat/gcc' LC_ALL=C GCC_COLORS= /repo/build-gcc-trunk-armv7a-hardfloat/./gcc/xgcc -B/repo/build-gcc-trunk-armv7a-hardfloat/./gcc/ -xc -nostdinc /dev/null -S -o /dev/null -fself-test=/repo/gcc-trunk/gcc/testsuite/selftests /repo/gcc-trunk/gcc/simplify-rtx.cc:8732: test_scalar_int_ext_ops: FAIL: ASSERT_RTX_EQ (lowpart_subreg (smode, simplify_gen_binary (XOR, bmode, bsubreg, smask), bmode), lowpart_subreg (smode, gen_rtx_NOT (bmode, bsubreg), bmode)) expected: (not:SI (reg:SI 121)) actual: (subreg:SI (not:DI (subreg:DI (reg:SI 121) 0)) 0) cc1: internal compiler error: in assert_rtx_eq_at, at selftest-rtl.cc:57 0x22ee051 internal_error(char const*, ...) /repo/gcc-trunk/gcc/diagnostic-global-context.cc:534 0xab47bb fancy_abort(char const*, int, char const*) /repo/gcc-trunk/gcc/diagnostics/context.cc:1640 0x1232e5a selftest::assert_rtx_eq_at(selftest::location const&, char const*, rtx_def*, rtx_def*) /repo/gcc-trunk/gcc/selftest-rtl.cc:57 0x1254cc9 test_scalar_int_ext_ops /repo/gcc-trunk/gcc/simplify-rtx.cc:8732 0x1258630 test_scalar_ops /repo/gcc-trunk/gcc/simplify-rtx.cc:8873 0x1258630 selftest::simplify_rtx_cc_tests() /repo/gcc-trunk/gcc/simplify-rtx.cc:9455 0x21c7286 selftest::run_tests() /repo/gcc-trunk/gcc/selftest-run-tests.cc:121 0x128253a toplev::run_self_tests() /repo/gcc-trunk/gcc/toplev.cc:2275 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[2]: *** [/repo/gcc-trunk/gcc/c/Make-lang.in:152: s-selftest-c] Error 1 make[2]: Leaving directory '/repo/build-gcc-trunk-armv7a-hardfloat/gcc' make[1]: *** [Makefile:4725: all-gcc] Error 2 make[1]: Leaving directory '/repo/build-gcc-trunk-armv7a-hardfloat' make: *** [Makefile:1068: all] Error 2 $ /repo/build-gcc-trunk-armv7a-hardfloat/./gcc/xgcc -v Using built-in specs. COLLECT_GCC=/repo/build-gcc-trunk-armv7a-hardfloat/./gcc/xgcc Target: armv7a-hardfloat-linux-gnueabi Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra --enable-libsanitizer --with-float=hard --with-fpu=vfpv4 --with-arch=armv7-a --with-sysroot=/usr/armv7a-hardfloat-linux-gnueabi --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=armv7a-hardfloat-linux-gnueabi --with-ld=/usr/bin/armv7a-hardfloat-linux-gnueabi-ld --with-as=/usr/bin/armv7a-hardfloat-linux-gnueabi-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-20250730032912-r16-2622-g7aa9565a62ea2c-checking-yes-rtl-df-extra-armv7a-hardfloat Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 16.0.0 20250730 (experimental) (GCC)