public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch] builtin-declaration-mismatch-7: fix LLP64 targets
@ 2023-02-11  8:33 Jonathan Yong
  2023-02-13  6:28 ` Jeff Law
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Yong @ 2023-02-11  8:33 UTC (permalink / raw)
  To: Gcc Patch List

[-- Attachment #1: Type: text/plain, Size: 18 bytes --]

Attached patch OK?

[-- Attachment #2: 0001-builtin-declaration-mismatch-7-fix-LLP64-targets.patch --]
[-- Type: text/x-patch, Size: 1647 bytes --]

From 3ba6812366e837a87c15360e83d1f72ffdd29684 Mon Sep 17 00:00:00 2001
From: Jonathan Yong <10walls@gmail.com>
Date: Sat, 11 Feb 2023 08:30:55 +0000
Subject: [PATCH] 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>
---
 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_\]+ \\\*\\\)." } */
-- 
2.39.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch] builtin-declaration-mismatch-7: fix LLP64 targets
  2023-02-11  8:33 [Patch] builtin-declaration-mismatch-7: fix LLP64 targets Jonathan Yong
@ 2023-02-13  6:28 ` Jeff Law
  2023-02-13 11:49   ` Jonathan Yong
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Law @ 2023-02-13  6:28 UTC (permalink / raw)
  To: Jonathan Yong, Gcc Patch List



On 2/11/23 01:33, Jonathan Yong via Gcc-patches wrote:
> Attached patch OK?
> 
> 0001-builtin-declaration-mismatch-7-fix-LLP64-targets.patch
> 
>  From 3ba6812366e837a87c15360e83d1f72ffdd29684 Mon Sep 17 00:00:00 2001
> From: Jonathan Yong<10walls@gmail.com>
> Date: Sat, 11 Feb 2023 08:30:55 +0000
> Subject: [PATCH] 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.
OK.  Go ahead and install.

Thanks,
Jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch] builtin-declaration-mismatch-7: fix LLP64 targets
  2023-02-13  6:28 ` Jeff Law
@ 2023-02-13 11:49   ` Jonathan Yong
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Yong @ 2023-02-13 11:49 UTC (permalink / raw)
  To: Jeff Law, Gcc Patch List

On 2/13/23 06:28, Jeff Law wrote:
> 
> 
> On 2/11/23 01:33, Jonathan Yong via Gcc-patches wrote:
>> Attached patch OK?
>>
>> 0001-builtin-declaration-mismatch-7-fix-LLP64-targets.patch
>>
>>  From 3ba6812366e837a87c15360e83d1f72ffdd29684 Mon Sep 17 00:00:00 2001
>> From: Jonathan Yong<10walls@gmail.com>
>> Date: Sat, 11 Feb 2023 08:30:55 +0000
>> Subject: [PATCH] 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.
> OK.  Go ahead and install.
> 
> Thanks,
> Jeff

Thanks for reviewing, pushed to master branch.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-13 11:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-11  8:33 [Patch] builtin-declaration-mismatch-7: fix LLP64 targets Jonathan Yong
2023-02-13  6:28 ` Jeff Law
2023-02-13 11:49   ` 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).