From: Jeff Law Date: Tue, 5 Oct 2021 15:15:02 +0000 (-0400) Subject: Fix s390 test to have pointer type for computed goto X-Git-Tag: basepoints/gcc-13~4121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9e6f20f280daf74763cf3fe21f3c211d3d04620;p=thirdparty%2Fgcc.git Fix s390 test to have pointer type for computed goto gcc/testsuite * gcc.target/s390/pr80725.c: Ensure computed goto is used on a pointer type. --- diff --git a/gcc/testsuite/gcc.target/s390/pr80725.c b/gcc/testsuite/gcc.target/s390/pr80725.c index 4a402c41422e..d556e6ba7ca3 100644 --- a/gcc/testsuite/gcc.target/s390/pr80725.c +++ b/gcc/testsuite/gcc.target/s390/pr80725.c @@ -18,7 +18,7 @@ foo (int x, int y) while (a < x) { if (y) - goto *d; + goto *(void *)d; g = b | b + g; bar (g); c = (char) (long) foo;