https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106785
--- Comment #1 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- (In reply to Martin Liška from comment #0) > Fails for the following cross compilers: > pdp11-aout rx-elf vax-linux-gnu vax-netbsdelf > > $ ./xgcc -v > Using built-in specs. > COLLECT_GCC=./xgcc > Target: vax-linux-gnu > Configured with: /home/marxin/Programming/gcc/configure > --enable-languages=c,c++ --prefix=/home/marxin/bin/gcc --disable-multilib > --disable-libsanitizer --disable-bootstrap --target=vax-linux-gnu : > (reconfigured) /home/marxin/Programming/gcc/configure > --enable-languages=c,c++ --prefix=/home/marxin/bin/gcc --disable-multilib > --disable-libsanitizer --disable-bootstrap --target=vax-linux-gnu > Thread model: posix > Supported LTO compression algorithms: zlib zstd > gcc version 13.0.0 20220830 (experimental) (GCC) > > $ make > ./xgcc -B./ -B/home/marxin/bin/gcc/vax-linux-gnu/bin/ -isystem > /home/marxin/bin/gcc/vax-linux-gnu/include -isystem > /home/marxin/bin/gcc/vax-linux-gnu/sys-include -L/dev/shm/objdir2/gcc/../ld > -xc++ -nostdinc /dev/null -S -o /dev/null > -fself-test=/home/marxin/Programming/gcc/gcc/testsuite/selftests > /home/marxin/Programming/gcc/gcc/value-range.cc:3517: range_tests_nan: FAIL: > ASSERT_NE (r0, r1) > In function ‘test_fn’: > cc1plus: internal compiler error: in fail, at selftest.cc:47 > 0x25b888b selftest::fail(selftest::location const&, char const*) > /home/marxin/Programming/gcc/gcc/selftest.cc:47 > 0x1b554b8 range_tests_nan > /home/marxin/Programming/gcc/gcc/value-range.cc:3517 Huh. Does the VAX have different NAN rules, or is HONOR_NANS off by default on it? Either way, could you attach the .i file from the selftests if you still have the build handy?