https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52277
--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Implementation of Levenshtein distance (in C++) committed to trunk as r230285; currently we offer hints for misspelled command-line options (PR 67613), and in the C FE for misspelled fields. There's plenty more that could be implemented; see: https://gcc.gnu.org/ml/gcc-patches/2015-09/msg01090.html for some other implementation ideas.