Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/tail_indirect_call_1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 typedef void FP (int);
5
6 /* { dg-final { scan-assembler-times "br\t" 2 } } */
7 /* { dg-final { scan-assembler-not "blr\t" } } */
8 void
9 f1 (FP fp, int n)
10 {
11 (fp) (n);
12 }
13
14 void
15 f2 (int n, FP fp)
16 {
17 (fp) (n);
18 }