public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch] gcc.c-torture/compile/103818.c: enable for llp64 too
@ 2023-02-26  6:38 Jonathan Yong
  2023-02-28  2:10 ` Hans-Peter Nilsson
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Yong @ 2023-02-26  6:38 UTC (permalink / raw)
  To: Gcc Patch List

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

Patch OK for master branch? I did not see any obvious issues to exclude 
LLP64 specifically.

[-- Attachment #2: 0001-gcc.c-torture-compile-103818.c-enable-for-llp64-too.patch --]
[-- Type: text/x-patch, Size: 859 bytes --]

From 9c770936c4c6ffb59d15e5c1ce331494ba102250 Mon Sep 17 00:00:00 2001
From: Jonathan Yong <10walls@gmail.com>
Date: Sun, 26 Feb 2023 06:34:04 +0000
Subject: [PATCH] gcc.c-torture/compile/103818.c: enable for llp64 too

gcc/testsuite/ChangeLog:

	* gcc.c-torture/compile/103818.c: enable test for llp64.

Signed-off-by: Jonathan Yong <10walls@gmail.com>
---
 gcc/testsuite/gcc.c-torture/compile/103818.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.c-torture/compile/103818.c b/gcc/testsuite/gcc.c-torture/compile/103818.c
index e6cbe7860cf..63090534f4c 100644
--- a/gcc/testsuite/gcc.c-torture/compile/103818.c
+++ b/gcc/testsuite/gcc.c-torture/compile/103818.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target lp64 } } */
+/* { dg-do compile { target { lp64 || lp64 } } } */
 struct A { int b[1]; };
 
 void
-- 
2.39.2


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

* Re: [Patch] gcc.c-torture/compile/103818.c: enable for llp64 too
  2023-02-26  6:38 [Patch] gcc.c-torture/compile/103818.c: enable for llp64 too Jonathan Yong
@ 2023-02-28  2:10 ` Hans-Peter Nilsson
  2023-02-28  7:23   ` Jonathan Yong
  0 siblings, 1 reply; 4+ messages in thread
From: Hans-Peter Nilsson @ 2023-02-28  2:10 UTC (permalink / raw)
  To: Jonathan Yong; +Cc: Gcc Patch List

On Sun, 26 Feb 2023, Jonathan Yong via Gcc-patches wrote:

> Patch OK for master branch? I did not see any obvious issues to exclude LLP64
> specifically.

I see "lp64 || lp64" in that patch (which should preferably have 
been sent inline, as it's harder to quote an attached patch, 
QED).  Sending the wrong version?  Don't forget to test it.

brgds, H-P

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

* Re: [Patch] gcc.c-torture/compile/103818.c: enable for llp64 too
  2023-02-28  2:10 ` Hans-Peter Nilsson
@ 2023-02-28  7:23   ` Jonathan Yong
  2023-03-11 16:18     ` Jeff Law
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Yong @ 2023-02-28  7:23 UTC (permalink / raw)
  To: Hans-Peter Nilsson; +Cc: Gcc Patch List

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

On 2/28/23 02:10, Hans-Peter Nilsson wrote:
> On Sun, 26 Feb 2023, Jonathan Yong via Gcc-patches wrote:
> 
>> Patch OK for master branch? I did not see any obvious issues to exclude LLP64
>> specifically.
> 
> I see "lp64 || lp64" in that patch (which should preferably have
> been sent inline, as it's harder to quote an attached patch,
> QED).  Sending the wrong version?  Don't forget to test it.
> 
> brgds, H-P

Corrected, previous patch was manually applied from a corrupted patch file.

[-- Attachment #2: 0004-gcc.c-torture-compile-103818.c-enable-for-llp64-too.patch --]
[-- Type: text/x-patch, Size: 864 bytes --]

From 52b1209193260a624f90c3ca759a83b975c2e8e0 Mon Sep 17 00:00:00 2001
From: Jonathan Yong <10walls@gmail.com>
Date: Sun, 26 Feb 2023 06:34:04 +0000
Subject: [PATCH 4/7] gcc.c-torture/compile/103818.c: enable for llp64 too

gcc/testsuite/ChangeLog:

	* gcc.c-torture/compile/103818.c: enable test for llp64.

Signed-off-by: Jonathan Yong <10walls@gmail.com>
---
 gcc/testsuite/gcc.c-torture/compile/103818.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.c-torture/compile/103818.c b/gcc/testsuite/gcc.c-torture/compile/103818.c
index e6cbe7860cf..57f56b6c09d 100644
--- a/gcc/testsuite/gcc.c-torture/compile/103818.c
+++ b/gcc/testsuite/gcc.c-torture/compile/103818.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target lp64 } } */
+/* { dg-do compile { target { lp64 || llp64 } } } */
 struct A { int b[1]; };
 
 void
-- 
2.39.2


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

* Re: [Patch] gcc.c-torture/compile/103818.c: enable for llp64 too
  2023-02-28  7:23   ` Jonathan Yong
@ 2023-03-11 16:18     ` Jeff Law
  0 siblings, 0 replies; 4+ messages in thread
From: Jeff Law @ 2023-03-11 16:18 UTC (permalink / raw)
  To: Jonathan Yong, Hans-Peter Nilsson; +Cc: Gcc Patch List



On 2/28/23 00:23, Jonathan Yong via Gcc-patches wrote:
> On 2/28/23 02:10, Hans-Peter Nilsson wrote:
>> On Sun, 26 Feb 2023, Jonathan Yong via Gcc-patches wrote:
>>
>>> Patch OK for master branch? I did not see any obvious issues to 
>>> exclude LLP64
>>> specifically.
>>
>> I see "lp64 || lp64" in that patch (which should preferably have
>> been sent inline, as it's harder to quote an attached patch,
>> QED).  Sending the wrong version?  Don't forget to test it.
>>
>> brgds, H-P
> 
> Corrected, previous patch was manually applied from a corrupted patch file.
> 
> 0004-gcc.c-torture-compile-103818.c-enable-for-llp64-too.patch
> 
>  From 52b1209193260a624f90c3ca759a83b975c2e8e0 Mon Sep 17 00:00:00 2001
> From: Jonathan Yong<10walls@gmail.com>
> Date: Sun, 26 Feb 2023 06:34:04 +0000
> Subject: [PATCH 4/7] gcc.c-torture/compile/103818.c: enable for llp64 too
> 
> gcc/testsuite/ChangeLog:
> 
> 	* gcc.c-torture/compile/103818.c: enable test for llp64.
This version is fine for the trunk.
jeff

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

end of thread, other threads:[~2023-03-11 16:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-26  6:38 [Patch] gcc.c-torture/compile/103818.c: enable for llp64 too Jonathan Yong
2023-02-28  2:10 ` Hans-Peter Nilsson
2023-02-28  7:23   ` Jonathan Yong
2023-03-11 16:18     ` Jeff Law

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).