Fix more testsuite fallout from computed goto changes
gcc/testsuite * gcc.c-torture/compile/920831-1.c: Fix computed goto types. * gcc.c-torture/compile/pr27863.c: Likewise.
This commit is contained in:
parent
3caf7f87b1
commit
86304da55f
@ -1,3 +1,3 @@
|
||||
/* { dg-require-effective-target indirect_jumps } */
|
||||
|
||||
f(x){goto*(char)x;}
|
||||
f(x){goto*(void *)x;}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user