1 /* { dg-do compile { target { ! { nvptx*-*-* visium-*-* } } } } */
2 /* { dg-options "-O2 -fpatchable-function-entry=3,1" } */
3 /* { dg-additional-options "-fno-pie" { target sparc*-*-* } } */
4 /* { dg-final { scan-assembler-times "nop|NOP|SWYM" 2 { target { ! { alpha*-*-* riscv*-*-* } } } } } */
5 /* { dg-final { scan-assembler-times "bis" 2 { target alpha*-*-* } } } */
6 /* { dg-final { scan-assembler-times "nop\n" 2 { target riscv*-*-* } } } */
10 /* Respect overriding attributes in the declaration. */
11 int f3 (void) __attribute__((patchable_function_entry(2)));
13 /* F3 should now get 2 NOPs. */
15 __attribute__((noinline
))