https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91788
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- I'm inclined to close this as FIXED. Changes to work with _M_index directly would make the code more fragile and only benefit variants with more than 127 alternatives, which are uncommon.