* Testsuite: fix contructor priority test
@ 2023-08-19 20:40 FX Coudert
2023-09-03 13:36 ` FX Coudert
0 siblings, 1 reply; 2+ messages in thread
From: FX Coudert @ 2023-08-19 20:40 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 114 bytes --]
Bordering on obvious, tested on darwin where the test case fails before (and now passes).
OK to commit?
FX
[-- Attachment #2: 0001-Testsuite-fix-contructor-priority-test.patch --]
[-- Type: application/octet-stream, Size: 1052 bytes --]
From 24f2425675f888155cda7f8fcbddeda52ce272b7 Mon Sep 17 00:00:00 2001
From: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date: Sat, 19 Aug 2023 22:37:33 +0200
Subject: [PATCH] Testsuite: fix contructor priority test
Fix the expected warning wording for targets without constructor
priority, like Darwin, making the test pass.
gcc/testsuite/ChangeLog:
PR testsuite/111066
* g++.dg/special/initpri3.C: Fix wording.
---
gcc/testsuite/g++.dg/special/initpri3.C | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/g++.dg/special/initpri3.C b/gcc/testsuite/g++.dg/special/initpri3.C
index 3d745a42a6a..63ed3208228 100644
--- a/gcc/testsuite/g++.dg/special/initpri3.C
+++ b/gcc/testsuite/g++.dg/special/initpri3.C
@@ -7,4 +7,4 @@
#endif
struct A { A(); } a __attribute__((init_priority(500)));
-// { dg-warning "attribute directive ignored" "" { target { ! init_priority } } .-1 }
+// { dg-warning "attribute ignored" "" { target { ! init_priority } } .-1 }
--
2.39.2 (Apple Git-143)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Testsuite: fix contructor priority test
2023-08-19 20:40 Testsuite: fix contructor priority test FX Coudert
@ 2023-09-03 13:36 ` FX Coudert
0 siblings, 0 replies; 2+ messages in thread
From: FX Coudert @ 2023-09-03 13:36 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 379 bytes --]
Hi,
I was about to ping the attached patch, and realised it bordered on obvious, so I pushed it directly.
FX
> Le 19 août 2023 à 22:40, FX Coudert <fxcoudert@gmail.com> a écrit :
>
> Bordering on obvious, tested on darwin where the test case fails before (and now passes).
>
> OK to commit?
> FX
>
> <0001-Testsuite-fix-contructor-priority-test.patch>
[-- Attachment #2: 0001-Testsuite-fix-contructor-priority-test.patch --]
[-- Type: application/octet-stream, Size: 1052 bytes --]
From 24f2425675f888155cda7f8fcbddeda52ce272b7 Mon Sep 17 00:00:00 2001
From: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date: Sat, 19 Aug 2023 22:37:33 +0200
Subject: [PATCH] Testsuite: fix contructor priority test
Fix the expected warning wording for targets without constructor
priority, like Darwin, making the test pass.
gcc/testsuite/ChangeLog:
PR testsuite/111066
* g++.dg/special/initpri3.C: Fix wording.
---
gcc/testsuite/g++.dg/special/initpri3.C | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/g++.dg/special/initpri3.C b/gcc/testsuite/g++.dg/special/initpri3.C
index 3d745a42a6a..63ed3208228 100644
--- a/gcc/testsuite/g++.dg/special/initpri3.C
+++ b/gcc/testsuite/g++.dg/special/initpri3.C
@@ -7,4 +7,4 @@
#endif
struct A { A(); } a __attribute__((init_priority(500)));
-// { dg-warning "attribute directive ignored" "" { target { ! init_priority } } .-1 }
+// { dg-warning "attribute ignored" "" { target { ! init_priority } } .-1 }
--
2.39.2 (Apple Git-143)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-03 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-19 20:40 Testsuite: fix contructor priority test FX Coudert
2023-09-03 13:36 ` FX Coudert
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).