1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fcompare-debug -w" } */
4 extern void rt_mutex_owner (void);
5 extern void rt_mutex_deadlock_account_lock (int);
6 extern void signal_pending (void);
11 try_to_take_rt_mutex (int p1
) {
15 rt_mutex_deadlock_account_lock (p1
);
20 __rt_mutex_slowlock (int p1
) {
27 if (try_to_take_rt_mutex (c
))
29 if (__builtin_expect (p1
== 0, 0))