* [PATCH] testsuite/s390: Silence warning in pr80725.c
@ 2022-04-13 7:35 Robin Dapp
2022-04-14 6:06 ` Andreas Krebbel
0 siblings, 1 reply; 2+ messages in thread
From: Robin Dapp @ 2022-04-13 7:35 UTC (permalink / raw)
To: GCC Patches, Andreas Krebbel
Hi,
this test case checks that we do not ICE but FAILs because of
-Wint-to-pointer-cast. Silence this warning.
Is it OK?
Regards
Robin
gcc/testsuite/ChangeLog:
* gcc.target/s390/pr80725.c: Add -Wno-int-to-pointer-cast.
---
gcc/testsuite/gcc.target/s390/pr80725.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/s390/pr80725.c
b/gcc/testsuite/gcc.target/s390/pr80725.c
index d556e6ba7ca..18f1427b25e 100644
--- a/gcc/testsuite/gcc.target/s390/pr80725.c
+++ b/gcc/testsuite/gcc.target/s390/pr80725.c
@@ -1,7 +1,7 @@
/* Regression test for PR/80725. */
/* { dg-do compile } */
-/* { dg-options "-O2 -march=zEC12" } */
+/* { dg-options "-O2 -march=zEC12 -Wno-int-to-pointer-cast" } */
int a, e;
const char b;
--
2.35.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] testsuite/s390: Silence warning in pr80725.c
2022-04-13 7:35 [PATCH] testsuite/s390: Silence warning in pr80725.c Robin Dapp
@ 2022-04-14 6:06 ` Andreas Krebbel
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Krebbel @ 2022-04-14 6:06 UTC (permalink / raw)
To: Robin Dapp, GCC Patches
On 4/13/22 09:35, Robin Dapp wrote:
> Hi,
>
> this test case checks that we do not ICE but FAILs because of
> -Wint-to-pointer-cast. Silence this warning.
>
> Is it OK?
Ok. Thanks!
Andreas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-14 6:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13 7:35 [PATCH] testsuite/s390: Silence warning in pr80725.c Robin Dapp
2022-04-14 6:06 ` Andreas Krebbel
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).