https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93808
--- Comment #6 from Oleg Endo <olegendo at gcc dot gnu.org> --- Thanks, that's good. I can look at the disassembly of string.o and found the spot. I suspect the switch statements in the code are turned into jump tables, and for some reason the jump offset is wrong in some case. Can you re-compile with -save-temps option and attach the resulting string.s intermediate file?