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" 3 { target { ! { alpha*-*-* } } } } } */
5 /* { dg-final { scan-assembler-times "bis" 3 { target alpha*-*-* } } } */
6 
7 extern int a;
8 
9 /* Nothing declared must not mean anything.  */
10 int f3 (void);
11 
12 /* F3 should get a default-sized NOP area.  */
13 int
14 __attribute__((noinline))
f3(void)15 f3 (void)
16 {
17   return 5*a;
18 }
19