aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Yong <10walls@gmail.com>2023-02-11 08:30:55 +0000
committerJonathan Yong <10walls@gmail.com>2023-02-13 11:48:26 +0000
commit6995ac6f98fdfe9802b41e3bd893a4702f11cc96 (patch)
treef36c4beb1a3872f31006fbd51a872be218425ea0 /gcc
parent7d5a935070ed4a49e947a64b2391a1f5fa9b8f66 (diff)
downloadgcc-6995ac6f98fdfe9802b41e3bd893a4702f11cc96.zip
gcc-6995ac6f98fdfe9802b41e3bd893a4702f11cc96.tar.gz
gcc-6995ac6f98fdfe9802b41e3bd893a4702f11cc96.tar.bz2
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>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-7.c b/gcc/testsuite/gcc.dg/Wbuiltin-declaration-mismatch-7.c
index 7f6644e..ba2fec9 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_\]+ \\\*\\\)." } */