On 5/24/2022 2:45 AM, Martin Liška wrote:
PING^1

On 5/12/22 09:10, Martin Liška wrote:
On 5/11/22 20:49, David Malcolm wrote:
On Wed, 2022-05-11 at 16:49 +0200, Martin Liška wrote:
In case where we have 2 equally good candidates like
-ftrivial-auto-var-init=
-Wtrivial-auto-var-init

for -ftrivial-auto-var-init, we should take the candidate that
has a difference in trailing sign symbol.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Ready to be installed?
Thanks,
Martin

         PR driver/105564

gcc/ChangeLog:

         * spellcheck.cc (test_find_closest_string): Add new test.
         * spellcheck.h (class best_match): Prefer a difference in
         trailing sign symbol.
OK
jeff

Reply via email to