do
{
- old = *addr;
+ old = *(unsigned/**/char *)addr;
}
while (AO_EXPECT_FALSE(!AO_char_compare_and_swap_full(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(unsigned/**/char *)addr;
}
while (AO_EXPECT_FALSE(!AO_char_compare_and_swap_acquire(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(unsigned/**/char *)addr;
}
while (AO_EXPECT_FALSE(!AO_char_compare_and_swap_release(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(unsigned/**/char *)addr;
}
while (AO_EXPECT_FALSE(!AO_char_compare_and_swap(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(unsigned/**/char *)addr;
}
while (AO_EXPECT_FALSE(!AO_char_compare_and_swap_full(addr, old,
old & value)));
do
{
- old = *addr;
+ old = *(unsigned/**/char *)addr;
}
while (AO_EXPECT_FALSE(!AO_char_compare_and_swap_full(addr, old,
old | value)));
do
{
- old = *addr;
+ old = *(unsigned/**/char *)addr;
}
while (AO_EXPECT_FALSE(!AO_char_compare_and_swap_full(addr, old,
old ^ value)));
do
{
- old = *addr;
+ old = *(unsigned/**/short *)addr;
}
while (AO_EXPECT_FALSE(!AO_short_compare_and_swap_full(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(unsigned/**/short *)addr;
}
while (AO_EXPECT_FALSE(!AO_short_compare_and_swap_acquire(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(unsigned/**/short *)addr;
}
while (AO_EXPECT_FALSE(!AO_short_compare_and_swap_release(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(unsigned/**/short *)addr;
}
while (AO_EXPECT_FALSE(!AO_short_compare_and_swap(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(unsigned/**/short *)addr;
}
while (AO_EXPECT_FALSE(!AO_short_compare_and_swap_full(addr, old,
old & value)));
do
{
- old = *addr;
+ old = *(unsigned/**/short *)addr;
}
while (AO_EXPECT_FALSE(!AO_short_compare_and_swap_full(addr, old,
old | value)));
do
{
- old = *addr;
+ old = *(unsigned/**/short *)addr;
}
while (AO_EXPECT_FALSE(!AO_short_compare_and_swap_full(addr, old,
old ^ value)));
do
{
- old = *addr;
+ old = *(unsigned *)addr;
}
while (AO_EXPECT_FALSE(!AO_int_compare_and_swap_full(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(unsigned *)addr;
}
while (AO_EXPECT_FALSE(!AO_int_compare_and_swap_acquire(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(unsigned *)addr;
}
while (AO_EXPECT_FALSE(!AO_int_compare_and_swap_release(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(unsigned *)addr;
}
while (AO_EXPECT_FALSE(!AO_int_compare_and_swap(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(unsigned *)addr;
}
while (AO_EXPECT_FALSE(!AO_int_compare_and_swap_full(addr, old,
old & value)));
do
{
- old = *addr;
+ old = *(unsigned *)addr;
}
while (AO_EXPECT_FALSE(!AO_int_compare_and_swap_full(addr, old,
old | value)));
do
{
- old = *addr;
+ old = *(unsigned *)addr;
}
while (AO_EXPECT_FALSE(!AO_int_compare_and_swap_full(addr, old,
old ^ value)));
do
{
- old = *addr;
+ old = *(AO_t *)addr;
}
while (AO_EXPECT_FALSE(!AO_compare_and_swap_full(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(AO_t *)addr;
}
while (AO_EXPECT_FALSE(!AO_compare_and_swap_acquire(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(AO_t *)addr;
}
while (AO_EXPECT_FALSE(!AO_compare_and_swap_release(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(AO_t *)addr;
}
while (AO_EXPECT_FALSE(!AO_compare_and_swap(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(AO_t *)addr;
}
while (AO_EXPECT_FALSE(!AO_compare_and_swap_full(addr, old,
old & value)));
do
{
- old = *addr;
+ old = *(AO_t *)addr;
}
while (AO_EXPECT_FALSE(!AO_compare_and_swap_full(addr, old,
old | value)));
do
{
- old = *addr;
+ old = *(AO_t *)addr;
}
while (AO_EXPECT_FALSE(!AO_compare_and_swap_full(addr, old,
old ^ value)));
do
{
- old = *addr;
+ old = *(XCTYPE *)addr;
}
while (AO_EXPECT_FALSE(!AO_XSIZE_compare_and_swap_full(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(XCTYPE *)addr;
}
while (AO_EXPECT_FALSE(!AO_XSIZE_compare_and_swap_acquire(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(XCTYPE *)addr;
}
while (AO_EXPECT_FALSE(!AO_XSIZE_compare_and_swap_release(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(XCTYPE *)addr;
}
while (AO_EXPECT_FALSE(!AO_XSIZE_compare_and_swap(addr, old,
old + incr)));
do
{
- old = *addr;
+ old = *(XCTYPE *)addr;
}
while (AO_EXPECT_FALSE(!AO_XSIZE_compare_and_swap_full(addr, old,
old & value)));
do
{
- old = *addr;
+ old = *(XCTYPE *)addr;
}
while (AO_EXPECT_FALSE(!AO_XSIZE_compare_and_swap_full(addr, old,
old | value)));
do
{
- old = *addr;
+ old = *(XCTYPE *)addr;
}
while (AO_EXPECT_FALSE(!AO_XSIZE_compare_and_swap_full(addr, old,
old ^ value)));
unsigned/**/char result;
do {
- result = *addr;
+ result = *(const unsigned/**/char *)addr;
} while (AO_EXPECT_FALSE(!AO_char_compare_and_swap_read(
(volatile unsigned/**/char *)addr,
result, result)));
unsigned/**/char result;
do {
- result = *addr;
+ result = *(const unsigned/**/char *)addr;
} while (AO_EXPECT_FALSE(!AO_char_compare_and_swap_full(
(volatile unsigned/**/char *)addr,
result, result)));
unsigned/**/char result;
do {
- result = *addr;
+ result = *(const unsigned/**/char *)addr;
} while (AO_EXPECT_FALSE(!AO_char_compare_and_swap_acquire(
(volatile unsigned/**/char *)addr,
result, result)));
unsigned/**/char result;
do {
- result = *addr;
+ result = *(const unsigned/**/char *)addr;
} while (AO_EXPECT_FALSE(!AO_char_compare_and_swap(
(volatile unsigned/**/char *)addr,
result, result)));
unsigned/**/short result;
do {
- result = *addr;
+ result = *(const unsigned/**/short *)addr;
} while (AO_EXPECT_FALSE(!AO_short_compare_and_swap_read(
(volatile unsigned/**/short *)addr,
result, result)));
unsigned/**/short result;
do {
- result = *addr;
+ result = *(const unsigned/**/short *)addr;
} while (AO_EXPECT_FALSE(!AO_short_compare_and_swap_full(
(volatile unsigned/**/short *)addr,
result, result)));
unsigned/**/short result;
do {
- result = *addr;
+ result = *(const unsigned/**/short *)addr;
} while (AO_EXPECT_FALSE(!AO_short_compare_and_swap_acquire(
(volatile unsigned/**/short *)addr,
result, result)));
unsigned/**/short result;
do {
- result = *addr;
+ result = *(const unsigned/**/short *)addr;
} while (AO_EXPECT_FALSE(!AO_short_compare_and_swap(
(volatile unsigned/**/short *)addr,
result, result)));
unsigned result;
do {
- result = *addr;
+ result = *(const unsigned *)addr;
} while (AO_EXPECT_FALSE(!AO_int_compare_and_swap_read(
(volatile unsigned *)addr,
result, result)));
unsigned result;
do {
- result = *addr;
+ result = *(const unsigned *)addr;
} while (AO_EXPECT_FALSE(!AO_int_compare_and_swap_full(
(volatile unsigned *)addr,
result, result)));
unsigned result;
do {
- result = *addr;
+ result = *(const unsigned *)addr;
} while (AO_EXPECT_FALSE(!AO_int_compare_and_swap_acquire(
(volatile unsigned *)addr,
result, result)));
unsigned result;
do {
- result = *addr;
+ result = *(const unsigned *)addr;
} while (AO_EXPECT_FALSE(!AO_int_compare_and_swap(
(volatile unsigned *)addr,
result, result)));
AO_t result;
do {
- result = *addr;
+ result = *(const AO_t *)addr;
} while (AO_EXPECT_FALSE(!AO_compare_and_swap_read(
(volatile AO_t *)addr,
result, result)));
AO_t result;
do {
- result = *addr;
+ result = *(const AO_t *)addr;
} while (AO_EXPECT_FALSE(!AO_compare_and_swap_full(
(volatile AO_t *)addr,
result, result)));
AO_t result;
do {
- result = *addr;
+ result = *(const AO_t *)addr;
} while (AO_EXPECT_FALSE(!AO_compare_and_swap_acquire(
(volatile AO_t *)addr,
result, result)));
AO_t result;
do {
- result = *addr;
+ result = *(const AO_t *)addr;
} while (AO_EXPECT_FALSE(!AO_compare_and_swap(
(volatile AO_t *)addr,
result, result)));
AO_double_t result;
do {
- result = *addr;
+ result = *(const AO_double_t *)addr;
} while (AO_EXPECT_FALSE(!AO_double_compare_and_swap_read(
(volatile AO_double_t *)addr,
result, result)));
AO_double_t result;
do {
- result = *addr;
+ result = *(const AO_double_t *)addr;
} while (AO_EXPECT_FALSE(!AO_double_compare_and_swap_full(
(volatile AO_double_t *)addr,
result, result)));
AO_double_t result;
do {
- result = *addr;
+ result = *(const AO_double_t *)addr;
} while (AO_EXPECT_FALSE(!AO_double_compare_and_swap_acquire(
(volatile AO_double_t *)addr,
result, result)));
AO_double_t result;
do {
- result = *addr;
+ result = *(const AO_double_t *)addr;
} while (AO_EXPECT_FALSE(!AO_double_compare_and_swap(
(volatile AO_double_t *)addr,
result, result)));
XCTYPE result;
do {
- result = *addr;
+ result = *(const XCTYPE *)addr;
} while (AO_EXPECT_FALSE(!AO_XSIZE_compare_and_swap_read(
(volatile XCTYPE *)addr,
result, result)));
XCTYPE result;
do {
- result = *addr;
+ result = *(const XCTYPE *)addr;
} while (AO_EXPECT_FALSE(!AO_XSIZE_compare_and_swap_full(
(volatile XCTYPE *)addr,
result, result)));
XCTYPE result;
do {
- result = *addr;
+ result = *(const XCTYPE *)addr;
} while (AO_EXPECT_FALSE(!AO_XSIZE_compare_and_swap_acquire(
(volatile XCTYPE *)addr,
result, result)));
XCTYPE result;
do {
- result = *addr;
+ result = *(const XCTYPE *)addr;
} while (AO_EXPECT_FALSE(!AO_XSIZE_compare_and_swap(
(volatile XCTYPE *)addr,
result, result)));