https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102892
palmer at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |palmer at gcc dot gnu.org --- Comment #12 from palmer at gcc dot gnu.org --- I just posted a patch <https://gcc.gnu.org/pipermail/gcc-patches/2022-May/593995.html> that removes the undefined behavior from this test case, with that it links on RISC-V.