From: Richard Earnshaw Date: Thu, 13 May 2021 13:52:05 +0000 (+0100) Subject: testsuite: suppress cast warnings in pr100563.c [PR100563] X-Git-Tag: basepoints/gcc-13~7541 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efd471a980662f113dad8de0c0ef8593d0d38419;p=thirdparty%2Fgcc.git 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. --- diff --git a/gcc/testsuite/gcc.dg/pr100563.c b/gcc/testsuite/gcc.dg/pr100563.c index 812eb9e6ae2a..f6a5fcd3a47f 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() {