aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Yong <10walls@gmail.com>2023-02-27 10:02:32 +0000
committerJonathan Yong <10walls@gmail.com>2023-03-02 13:41:46 +0000
commit62a8d31ecc07041af4a81353c2d57d9845c4b771 (patch)
tree4909ca7c4b208578a9612c03aa0b8157c1f4a3f4
parent17301aeb9d3e25144558e6892b80851e29d4d876 (diff)
downloadgcc-62a8d31ecc07041af4a81353c2d57d9845c4b771.zip
gcc-62a8d31ecc07041af4a81353c2d57d9845c4b771.tar.gz
gcc-62a8d31ecc07041af4a81353c2d57d9845c4b771.tar.bz2
gcc.dg/memchr-3.c: Account for LLP64 warnings
gcc/testsuite/ChangeLog: PR middle-end/97956 * gcc.dg/memchr-3.c (memchr): Account for LLP64 warnings. Signed-off-by: Jonathan Yong <10walls@gmail.com>
-rw-r--r--gcc/testsuite/gcc.dg/memchr-3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/memchr-3.c b/gcc/testsuite/gcc.dg/memchr-3.c
index c38d9cf..af1b26e 100644
--- a/gcc/testsuite/gcc.dg/memchr-3.c
+++ b/gcc/testsuite/gcc.dg/memchr-3.c
@@ -6,7 +6,7 @@
typedef __INT8_TYPE__ int8_t;
typedef __INT32_TYPE__ int32_t;
-extern void* memchr (const void*, int, long);
+extern void* memchr (const void*, int, long); /* { dg-warning "-Wbuiltin-declaration-mismatch" { target llp64 } } */
struct SX
{