1 /* { dg-do compile } */
2 /* { dg-options "-mdejagnu-cpu=power10 -O2" } */
3 /* { dg-require-effective-target powerpc_elfv2 } */
4 /* { dg-require-effective-target power10_ok } */
6 /* Test that calls generated from PC-relative code are annotated with
10 extern void yy1 (int);
12 int zz0 (void) __attribute__((noinline
));
13 void zz1 (int) __attribute__((noinline
));
27 void zz1 (int a
__attribute__((__unused__
)))
38 /* { dg-final { scan-assembler {yy1@notoc} } } */
39 /* { dg-final { scan-assembler {yy0@notoc} } } */
40 /* { dg-final { scan-assembler {zz1@notoc} } } */
41 /* { dg-final { scan-assembler {zz0@notoc} } } */