aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRobin Dapp <rdapp@linux.ibm.com>2022-04-04 14:28:56 +0200
committerRobin Dapp <rdapp@linux.ibm.com>2022-04-14 13:23:18 +0200
commit122a65e86baf14998d6eabb48479f3db9174f99f (patch)
treece404c186a0a56e4463dbc86ffe13cd6e9a838e9 /gcc
parentdb4ce4a3d7acf50f97e6dcdd7d56250741f1b9fe (diff)
downloadgcc-122a65e86baf14998d6eabb48479f3db9174f99f.zip
gcc-122a65e86baf14998d6eabb48479f3db9174f99f.tar.gz
gcc-122a65e86baf14998d6eabb48479f3db9174f99f.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.target/s390/pr80725.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/s390/pr80725.c b/gcc/testsuite/gcc.target/s390/pr80725.c
index d556e6b..18f1427 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;