gcc/testsuite/gcc.target/i386/pr41900.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target ia32 } */ |
| 3 | /* { dg-options "-O2 -fomit-frame-pointer -mpreferred-stack-boundary=2" } */ |
| 4 | |
| 5 | int main () |
| 6 | { |
| 7 | volatile unsigned code = 0xc3; |
| 8 | |
| 9 | ((void (*)(void)) &code) (); |
| 10 | return 0; |
| 11 | } |
| 12 | |
| 13 | /* { dg-final { scan-assembler-not "call\[ \\t\]+\\*%esp" } } */ |