repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
testcase: Add testcase for PR 117330 [PR117330]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
tail_indirect_call_1.c
blob
de8f12d6e22360ef7e376530a165b556ae152466
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
}