2 /* { dg-skip-if "FDPIC does not support sibcall optimization" { arm*-*-uclinuxfdpiceabi } "*" "" } */
3 /* { dg-options "-mapcs-frame -O -foptimize-sibling-calls -ffunction-sections" } */
5 extern void abort (void);
7 static __attribute__((noclone
, noinline
, long_call
))
8 int foo (int a
, int b
, int c
, int d
, double i
)
13 static __attribute__((noclone
, noinline
))
19 static __attribute__((noclone
, noinline
))
20 int bar (int a
, int b
, int c
, int d
, double i
, double j
)
22 double l
= baz (i
) * j
;
23 return foo (a
, b
, c
, d
, l
);
29 if (bar (0, 0, 0, 0, 0.0, 0.0) != 0)