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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|marxin at gcc dot gnu.org          |unassigned at gcc dot 
gnu.org

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
So there are multiple problems:

-  add_misspelling_candidates function adds alternatives for an option, so e.g.
fno-sanitize-address-use-after-scope
-sanitize-address-use-after-scope
- we do not track the information
- in void consider (candidate_t candidate) we can bail out when we have
multiple candidates with equally good distance; but we have to distinguish a
situation when a candidate is an alternative to another candidate

I'm leaving that to David.

Reply via email to