diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2021-05-13 14:52:05 +0100 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2021-05-13 15:02:46 +0100 |
commit | efd471a980662f113dad8de0c0ef8593d0d38419 (patch) | |
tree | df008523dce07d4e2c69e7c543906701eea65d24 /gcc | |
parent | fef084dc83d38cad32604bb1cee4caf42ffeec12 (diff) | |
download | gcc-efd471a980662f113dad8de0c0ef8593d0d38419.zip gcc-efd471a980662f113dad8de0c0ef8593d0d38419.tar.gz gcc-efd471a980662f113dad8de0c0ef8593d0d38419.tar.bz2 |
testsuite: suppress cast warnings in pr100563.c [PR100563]
Fix a warning when building on machines that don't have 32-bit pointers
gcc/testsuite:
PR target/100563
* gcc.dg/pr100563.c (dg-options): Add -wno-pointer-to-int-cast.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr100563.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr100563.c b/gcc/testsuite/gcc.dg/pr100563.c index 812eb9e..f6a5fcd 100644 --- a/gcc/testsuite/gcc.dg/pr100563.c +++ b/gcc/testsuite/gcc.dg/pr100563.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-Og" } */ +/* { dg-options "-Og -Wno-pointer-to-int-cast" } */ unsigned long long e(void); void f(int); void a() { |