[Bug target/83638] atomic_is_lock_free should return false on pa-risc
danglin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Mar 24 01:28:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83638
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-03-24
CC| |danglin at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
I believe the test results are correct.
The kernel locks are not interruptible and this is sufficient for the
implementation to be lock free.
The pa-risc lock implementation handles objects up to 8 bytes in size. The
size of a3 is 12 bytes. If z is removed from a3, the test passes on the 64-bit
kernel that I used to test the example.
More information about the Gcc-bugs
mailing list