Debian Codegraph @

gcc/testsuite/gcc.target/i386/sibcall-4.c

raw
1 /* Testcase for PR target/46219. */
2 /* { dg-do compile { target ia32 } } */
3 /* { dg-options "-O2" } */
4
5 typedef void (*dispatch_t)(long offset);
6
7 dispatch_t dispatch[256];
8
9 void male_indirect_jump (long offset)
10 {
11 dispatch[offset](offset);
12 }
13
14 /* { dg-final { scan-assembler-not "jmp\[ \t\]*.%eax" } } */