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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #2)
> -ftrivial-auto-var-init to -Wtrivial-auto-var-init is just a single letter
> change, addition of trailing = is a single letter addition, so guess the
> distance is the same and we just choose one.  But perhaps we could special
> case the missing trailing = if it the option is otherwise exact match.

Yep, and both have equal scores and we prefer the option that differs earlier
as was implemented in PR69968. But yes, I bet we can do special handling of
trailing equal sign.

Reply via email to