[Bug target/21097] __sync_bool_compare_and_swap doesn't work with -m32

2005-04-19 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-04-19 19:34 --- No, because __sync_bool_compare_and_swap is overloaded. This expansion to __sync_bool_compare_and_swap_N is documented. -- What|Removed |Added ---

[Bug target/21097] __sync_bool_compare_and_swap doesn't work with -m32

2005-04-19 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-04-19 16:28 --- But there is no __sync_bool_compare_and_swap_4 in source code. If it isn't available, shouldn't gcc leave __sync_bool_compare_and_swap alone. -- What|Removed |Added

[Bug target/21097] __sync_bool_compare_and_swap doesn't work with -m32

2005-04-19 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-04-19 16:21 --- When, exactly, did you think that cmpxchg was added? Use -march=i486. Duh. -- What|Removed |Added --

[Bug target/21097] __sync_bool_compare_and_swap doesn't work with -m32

2005-04-18 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added CC||rth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21097