testsuite: Fix up memchr-3.c test [PR108991]
authorJakub Jelinek <jakub@redhat.com>
Thu, 2 Mar 2023 23:50:10 +0000 (00:50 +0100)
committerJakub Jelinek <jakub@redhat.com>
Thu, 2 Mar 2023 23:50:10 +0000 (00:50 +0100)
commit73bbfd5970ba3b7a5bcb3f7043d93fec89ccb991
treee2276f5454894e0b50aad579c205a3d71f4f83f6
parentdf63f4162c78ef799d4ea9dec3443d5e9c51e5aa
testsuite: Fix up memchr-3.c test [PR108991]

The newly added dg-warning directive was missing the comment argument,
so the target selector was treated as comment and the warning was expected
on all targets when it should be expected only on llp64 targets.

2023-03-03  Jakub Jelinek  <jakub@redhat.com>

PR testsuite/108991
* gcc.dg/memchr-3.c: Add missing comment argument to dg-warning
before target selector.
gcc/testsuite/gcc.dg/memchr-3.c