https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90222
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|WAITING |RESOLVED --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- _M_table is a 256 sized unsigned short array so no value will ever be out of bounds. It will take up max of 8 cache lines (assuming 64byte because that is the most common on aarch64), so you can never figure out what the original character that is read was with this code.