On Mon, 2017-02-13 at 20:47 +0100, Jakub Jelinek wrote: > Hi! > > Not really sure about this, but I'd expect if you meant to write > "foofood", > you'd have written it that way and not > "foo" > "food", > Passes -fself-test either way, bootstrapped/regtested on x86_64-linux > and > i686-linux, ok for trunk?
Oops, yes, this was a mistake. > 2017-02-13 Jakub Jelinek <ja...@redhat.com> > > * spellcheck.c (test_data): Add , in between "foo" and "food". > > --- gcc/spellcheck.c.jj 2017-01-01 12:45:35.000000000 +0100 > +++ gcc/spellcheck.c 2017-02-13 11:34:22.352425744 +0100 > @@ -221,7 +221,7 @@ test_find_closest_string () > > static const char * const test_data[] = { > "", > - "foo" > + "foo", > "food", > "boo", > > "1234567890123456789012345678901234567890123456789012345678901234567 > 890" > > Jakub