Debian Codegraph @

gcc/testsuite/gcc.target/arm/tail-long-call.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_arch_v5te_arm_ok } */
3 /* { dg-skip-if "FDPIC does not support tailcall optimization" { arm*-*-uclinuxfdpiceabi } "*" "" } */
4 /* { dg-options "-O2" } */
5 /* { dg-add-options arm_arch_v5te_arm } */
6 /* { dg-final { scan-assembler "bx" } } */
7 /* { dg-final { scan-assembler-not "blx" } } */
8
9 int lcal (int) __attribute__ ((long_call));
10
11 int
12 dec (int a)
13 {
14 return lcal (a);
15 }