From f9e6f20f280daf74763cf3fe21f3c211d3d04620 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 5 Oct 2021 11:15:02 -0400 Subject: [PATCH] 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. --- gcc/testsuite/gcc.target/s390/pr80725.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2