]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc.dg/memchr-3.c: Account for LLP64 warnings
authorJonathan Yong <10walls@gmail.com>
Mon, 27 Feb 2023 10:02:32 +0000 (10:02 +0000)
committerJonathan Yong <10walls@gmail.com>
Thu, 2 Mar 2023 13:41:46 +0000 (13:41 +0000)
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>
gcc/testsuite/gcc.dg/memchr-3.c

index c38d9cf3349c2836428186b3af6ead440164c142..af1b26ef3aee538ecaa864f25b9a89a639b42d23 100644 (file)
@@ -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
 {