Debian Codegraph @

gcc/testsuite/gcc.target/i386/no-callee-saved-14.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mtune-ctrl=^prologue_using_move,^epilogue_using_move" } */
3 /* { dg-additional-options "-fno-PIE" { target ia32 } } */
4
5 extern void bar (void) __attribute__ ((no_callee_saved_registers));
6
7 __attribute__ ((no_callee_saved_registers))
8 void
9 foo (void)
10 {
11 bar ();
12 }
13
14 /* { dg-final { scan-assembler-not "push" } } */
15 /* { dg-final { scan-assembler-not "pop" } } */
16 /* { dg-final { scan-assembler "jmp\[\\t \]+_?bar" } } */
17 /* { dg-final { scan-assembler-not "call\[\\t \]+_?bar" } } */