https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82967

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=69968

--- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Note that this could well interact with PR 69968 (use of Damerau-Levenshtein,
rather than Levenshtein for edit distance): allowing transpositions will make
some distances shorter.

For the __i386__ vs __DATE__ case, maybe we should detect leading/trailing
underscores and ignore them when computing if the edit distance is reasonable. 
It's an edit distance of 4 (4 substitutions) on a length of 8, but perhaps the
effective length should be 4 (ignoring the underscores)?

Reply via email to