re PR c/71858 (Surprising suggestions for misspellings)
authorJakub Jelinek <jakub@redhat.com>
Thu, 14 Jul 2016 18:34:00 +0000 (20:34 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 14 Jul 2016 18:34:00 +0000 (20:34 +0200)
commitdd36b8775fb8c66165f1ad9780102f26768bcd8f
tree85fbbad9c2e8ae4759111b9cdd60fa5bf8d9063d
parenta241f8ca212b7f27a986e495c15d6890d0dbb44e
re PR c/71858 (Surprising suggestions for misspellings)

PR c/71858
* c-decl.c (lookup_name_fuzzy): Ignore binding->invisible.

* gcc.dg/spellcheck-identifiers.c (snprintf): Declare.
* gcc.dg/spellcheck-identifiers-2.c: New test.
* gcc.dg/diagnostic-token-ranges.c (nanl): Declare.
* c-c++-common/attributes-1.c: Adjust dg-prune-output.

From-SVN: r238352
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/attributes-1.c
gcc/testsuite/gcc.dg/diagnostic-token-ranges.c
gcc/testsuite/gcc.dg/spellcheck-identifiers-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/spellcheck-identifiers.c