https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101384
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #3) > Created attachment 51146 [details] > gcc12-pr101384.patch Bootstrap/regtest found a bug in the gcc.dg/pr101384.c test, if (y[i] != ((i & 3) ? 0xffff : 0x8000)) should be if (y[i] != ((i & 1) ? 0xffff : 0x8000)) Doing bootstrap/regtest now without the patch (just with the new tests) to have base against which to compare and will see if the test fails there. When compiling with cross-compiler, just gcc -O2 -S pr101384.c , copying to GCCFarm and running there reproduces it.