diff options
author | Jeff Law <jeffreyalaw@gmail.com> | 2021-10-05 11:15:02 -0400 |
---|---|---|
committer | Jeff Law <jeffreyalaw@gmail.com> | 2021-10-05 11:15:02 -0400 |
commit | f9e6f20f280daf74763cf3fe21f3c211d3d04620 (patch) | |
tree | 57c89cb20ca68648e31746df4de85f88f796dabe | |
parent | 5b4bf54a00be17e49433582c237724ac4e653608 (diff) | |
download | gcc-f9e6f20f280daf74763cf3fe21f3c211d3d04620.zip gcc-f9e6f20f280daf74763cf3fe21f3c211d3d04620.tar.gz gcc-f9e6f20f280daf74763cf3fe21f3c211d3d04620.tar.bz2 |
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.
-rw-r--r-- | gcc/testsuite/gcc.target/s390/pr80725.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/s390/pr80725.c b/gcc/testsuite/gcc.target/s390/pr80725.c index 4a402c4..d556e6b 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; |