------- Additional Comments From belyshev at lubercy dot com 2004-12-07 01:17 ------- // reduced testcase, use '-O2':
typedef struct lock { void* holder; int mux; } lock; void getHeavyLock (lock *lk, lock *old) { __sync_bool_compare_and_swap_di ((long *) old, (long) old, 1); if (!lk) lk = (lock*) 1; lk->holder = old; lk->mux = 0; } -- What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal Status|UNCONFIRMED |NEW Ever Confirmed| |1 GCC build triplet|ia64-linux | GCC host triplet|ia64-linux | Known to fail|3.4.3 |3.4.3 3.4.4 Last reconfirmed|0000-00-00 00:00:00 |2004-12-07 01:17:21 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18823 ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter.