https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87486
--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> --- For "bool" vs "_Bool", the edit distance is 2. After r264335: (gdb) p get_edit_distance_cutoff (4, 5) $1 = 1 Hence "_Bool" is rejected as a suggestion, as it's above the threshold. The cutoff is 1 rather than 2 due to the rounding rules in get_edit_distance_cutoff. In theory these could be tweaked for the 4 vs 5 case, but I'd prefer not to. (or we could tweak things so that lowercase <-> uppercase changes cost less than other changes, and switch to fixed-point distances, or whatnot). I'd suggest removing the suggestion from the dg-error.