https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88501
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonny Grant from comment #3) > I wonder, for typos if a simple byte compare would be enough? Vary each char > by 1 letter, or length. This starts to get complicated I know.. The matching code is already significantly smarter than that. The problem is that "string" is not in the set of candidates being matched against, so a simple byte compare isn't going to help find it any better than the current code. > "st!ing" ! is a single byte in UTF-8