re PR libstdc++/42273 (atomic_2.h:111: = instead of == in if)
2009-12-09 Roman Odaisky <to.roma.from.bugcc@qwertty.com> PR libstdc++/42273 * include/bits/atomic_2.h: Fix typo. From-SVN: r155117
This commit is contained in:
parent
a1a82749ba
commit
6ef14ae403
|
@ -1,3 +1,8 @@
|
|||
2009-12-09 Roman Odaisky <to.roma.from.bugcc@qwertty.com>
|
||||
|
||||
PR libstdc++/42273
|
||||
* include/bits/atomic_2.h: Fix typo.
|
||||
|
||||
2009-12-07 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR libstdc++/42319
|
||||
|
|
|
@ -108,7 +108,7 @@ namespace __atomic2
|
|||
{
|
||||
// write_mem_barrier();
|
||||
_M_i = __v;
|
||||
if (__m = memory_order_seq_cst)
|
||||
if (__m == memory_order_seq_cst)
|
||||
__sync_synchronize();
|
||||
}
|
||||
}
|
||||
|
@ -299,7 +299,7 @@ namespace __atomic2
|
|||
{
|
||||
// write_mem_barrier();
|
||||
_M_i = __i;
|
||||
if (__m = memory_order_seq_cst)
|
||||
if (__m == memory_order_seq_cst)
|
||||
__sync_synchronize();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue