public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6414] gcc.dg/memchr-3.c: Account for LLP64 warnings
@ 2023-03-02 13:42 Jonathan Yong
0 siblings, 0 replies; only message in thread
From: Jonathan Yong @ 2023-03-02 13:42 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:62a8d31ecc07041af4a81353c2d57d9845c4b771
commit r13-6414-g62a8d31ecc07041af4a81353c2d57d9845c4b771
Author: Jonathan Yong <10walls@gmail.com>
Date: Mon Feb 27 10:02:32 2023 +0000
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>
Diff:
---
gcc/testsuite/gcc.dg/memchr-3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/memchr-3.c b/gcc/testsuite/gcc.dg/memchr-3.c
index c38d9cf3349..af1b26ef3ae 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
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-02 13:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-02 13:42 [gcc r13-6414] gcc.dg/memchr-3.c: Account for LLP64 warnings Jonathan Yong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).