2 /* { dg-options "-O2 -finstrument-functions" } */
3 /* { dg-require-effective-target return_address } */
5 extern void abort (void);
6 extern void exit (int);
9 foo (double a
, double b
)
23 if (foo (1.0, 4.0) != 6.0)
28 /* Abort on non-NULL CALL_SITE to ensure that __builtin_return_address
29 was expanded properly. */
30 void __attribute__((no_instrument_function
))
31 __cyg_profile_func_enter(void *this_fn
, void *call_site
)
33 if (call_site
== (void *)0)
37 void __attribute__((no_instrument_function
))
38 __cyg_profile_func_exit(void *this_fn
, void *call_site
)
40 if (call_site
== (void *)0)