https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121308
Bug ID: 121308 Summary: [16 Regression] self tests fail with -m32 on x86_64 after r16-2614-g965564eafb721f Product: gcc Version: 14.2.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, missed-optimization, testsuite-fail Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Target: x86_64 i?86 ``` [apinski@xeond2 gcc]$ /bajas/pinskia/src/upstream-gcc-git/gcc/objdir/gcc/xgcc -B/bajas/pinskia/src/upstream-gcc-git/gcc/objdir/gcc/ /home/apinski/src/upstream-gcc-git/gcc/gcc/testsuite/gcc.dg/pr78213.c -fdiagnostics-plain-output -fself-test=/home/apinski/src/upstream-gcc-git/gcc/gcc/testsuite/selftests -S -o pr78213.s -m32 /home/apinski/src/upstream-gcc-git/gcc/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 123)) actual: (subreg:SI (not:DI (subreg:DI (reg:SI 123) 0)) 0) cc1: internal compiler error: in assert_rtx_eq_at, at selftest-rtl.cc:57 0x26bf37f internal_error(char const*, ...) /home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostic-global-context.cc:534 0xa6a131 fancy_abort(char const*, int, char const*) /home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostics/context.cc:1640 0x11f6eb4 selftest::assert_rtx_eq_at(selftest::location const&, char const*, rtx_def*, rtx_def*) /home/apinski/src/upstream-gcc-git/gcc/gcc/selftest-rtl.cc:57 0x1215d1a test_scalar_int_ext_ops /home/apinski/src/upstream-gcc-git/gcc/gcc/simplify-rtx.cc:8732 0x1217d63 test_scalar_ops /home/apinski/src/upstream-gcc-git/gcc/gcc/simplify-rtx.cc:8873 0x1217d63 selftest::simplify_rtx_cc_tests() /home/apinski/src/upstream-gcc-git/gcc/gcc/simplify-rtx.cc:9455 0x250c652 selftest::run_tests() /home/apinski/src/upstream-gcc-git/gcc/gcc/selftest-run-tests.cc:121 0x1242eda toplev::run_self_tests() /home/apinski/src/upstream-gcc-git/gcc/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. ```