public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5963] builtin-declaration-mismatch-7: fix LLP64 targets
@ 2023-02-13 11:48 Jonathan Yong
0 siblings, 0 replies; only message in thread
From: Jonathan Yong @ 2023-02-13 11:48 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6995ac6f98fdfe9802b41e3bd893a4702f11cc96
commit r13-5963-g6995ac6f98fdfe9802b41e3bd893a4702f11cc96
Author: Jonathan Yong <10walls@gmail.com>
Date: Sat Feb 11 08:30:55 2023 +0000
builtin-declaration-mismatch-7: fix LLP64 targets
gcc/testsuite/ChangeLog:
* gcc.dg/Wbuiltin-declaration-mismatch-7.c: Use (long )*
regex pattern to allow long long instead of just long.
Signed-off-by: Jonathan Yong <10walls@gmail.com>
Diff:
---
gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-7.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-7.c b/gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-7.c
index 7f6644edb58..ba2fec9deee 100644
--- a/gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-7.c
+++ b/gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-7.c
@@ -23,4 +23,4 @@ int fscanf (struct StdioFile*, const char*, size_t, ...); /* { dg-warning "con
int vfscanf (struct StdioFile*, const char*, ...); /* { dg-warning "conflicting types for built-in function .vfscanf.; expected .int\\\(\[a-z_\]+ \\\*, const char \\\*, \[^\n\r,\\\)\]+\\\)." } */
-size_t fwrite (const void*, size_t, size_t, struct StdioFile); /* { dg-warning "conflicting types for built-in function .fwrite.; expected .\(long \)?unsigned int\\\(const void \\\*, \(long \)?unsigned int, *\(long \)?unsigned int, *\[a-z_\]+ \\\*\\\)." } */
+size_t fwrite (const void*, size_t, size_t, struct StdioFile); /* { dg-warning "conflicting types for built-in function .fwrite.; expected .\(long \)*unsigned int\\\(const void \\\*, \(long \)*unsigned int, *\(long \)*unsigned int, *\[a-z_\]+ \\\*\\\)." } */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-13 11:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-13 11:48 [gcc r13-5963] builtin-declaration-mismatch-7: fix LLP64 targets 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).