From: Robin Dapp Date: Mon, 4 Apr 2022 12:28:56 +0000 (+0200) Subject: testsuite/s390: Silence warning in pr80725.c X-Git-Tag: basepoints/gcc-13~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=122a65e86baf14998d6eabb48479f3db9174f99f;p=thirdparty%2Fgcc.git testsuite/s390: Silence warning in pr80725.c This test case checks that we do not ICE but FAILs because of -Wint-to-pointer-cast. Silence this warning. gcc/testsuite/ChangeLog: * gcc.target/s390/pr80725.c: Add -Wno-int-to-pointer-cast. --- diff --git a/gcc/testsuite/gcc.target/s390/pr80725.c b/gcc/testsuite/gcc.target/s390/pr80725.c index d556e6ba7ca3..18f1427b25ec 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;