Message ID | 45e812dc-6fd3-5e9b-d013-a378d182739e@gmail.com |
---|---|
State | New |
Headers | show |
Series | [committed] Fix more testsuite fallout from computed goto changes | expand |
diff --git a/gcc/testsuite/gcc.c-torture/compile/920831-1.c b/gcc/testsuite/gcc.c-torture/compile/920831-1.c index 9e422a98bec..945c521292f 100644 --- a/gcc/testsuite/gcc.c-torture/compile/920831-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/920831-1.c @@ -1,3 +1,3 @@ /* { dg-require-effective-target indirect_jumps } */ -f(x){goto*(char)x;} +f(x){goto*(void *)x;} diff --git a/gcc/testsuite/gcc.c-torture/compile/pr27863.c b/gcc/testsuite/gcc.c-torture/compile/pr27863.c index 9dc1ab89227..1428ce31ec8 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr27863.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr27863.c @@ -14,7 +14,7 @@ int main(int argc,char**argv,char **envp) _loc1:; *++esp=(long)&&_loc35; _loc35:; -goto *(*esp--); +goto *(void *)(*esp--); *++esp=(long)&&_loc36; _loc36:; *++esp=(long)&&_loc37;