2 /* { dg-additional-sources "pr53272-2.c" } */
4 int (*f
)(void *, unsigned int enabled
);
10 const struct rtc_class_ops
*ops
;
14 __attribute__ ((__noinline__
, __noclone__
))
15 extern int foo(void *);
16 __attribute__ ((__noinline__
, __noclone__
))
17 extern void foobar(void *);
19 __attribute__ ((__noinline__
, __noclone__
))
20 int rtc_update_irq_enable(struct rtc_device
*rtc
, unsigned int enabled
)
25 err
= foo(&rtc
->ops_lock
);
32 else if (!rtc
->ops
->f
)
35 err
= rtc
->ops
->f(rtc
->owner
, enabled
);
37 foobar(&rtc
->ops_lock
);