https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100152
--- Comment #37 from Richard Biener <rguenth at gcc dot gnu.org> --- Oh, and FYI a cc1 cross from x86_64 to x86_64-apple-darwin19.6.0 doesn't seem to reproduce the issue with the reduced testcase (I seee no call to ___UTF_8_put remaining with -O3 -fPIC -fno-strict-aliasing -fwrapv).