[committed] Fix s390 test to have pointer type for computed goto
Commit Message
More minor fallout from Andrew's work. Committed to the trunk.
Jeff
commit f9e6f20f280daf74763cf3fe21f3c211d3d04620
Author: Jeff Law <jeffreyalaw@gmail.com>
Date: Tue Oct 5 11:15:02 2021 -0400
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.
@@ -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;