projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b4bf54
)
Fix s390 test to have pointer type for computed goto
author
Jeff Law
<jeffreyalaw@gmail.com>
Tue, 5 Oct 2021 15:15:02 +0000
(11:15 -0400)
committer
Jeff Law
<jeffreyalaw@gmail.com>
Tue, 5 Oct 2021 15:15:02 +0000
(11:15 -0400)
gcc/testsuite
* gcc.target/s390/pr80725.c: Ensure computed goto is used on
a pointer type.
gcc/testsuite/gcc.target/s390/pr80725.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.target/s390/pr80725.c
b/gcc/testsuite/gcc.target/s390/pr80725.c
index
4a402c4
..
d556e6b
100644
(file)
--- 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;