projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db4ce4a
)
testsuite/s390: Silence warning in pr80725.c
author
Robin Dapp
<rdapp@linux.ibm.com>
Mon, 4 Apr 2022 12:28:56 +0000
(14:28 +0200)
committer
Robin Dapp
<rdapp@linux.ibm.com>
Thu, 14 Apr 2022 11:23:18 +0000
(13:23 +0200)
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.
gcc/testsuite/gcc.target/s390/pr80725.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.target/s390/pr80725.c
b/gcc/testsuite/gcc.target/s390/pr80725.c
index
d556e6b
..
18f1427
100644
(file)
--- 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;