[Bug c/54006] __atomic_always_lock_free inconsistent with __GCC_ATOMIC_INT_LOCK_FREE et al.

2017-07-28 Thread hp at bitrange dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54006 --- Comment #6 from Hans-Peter Nilsson --- On Fri, 28 Jul 2017, egallager at gcc dot gnu.org wrote: > Testcase compiles, runs, and exits with 0 for me on i386-apple-darwin9.8.0. I'm not sure how that target is relevant? (I forgot to set a

[Bug c/54006] __atomic_always_lock_free inconsistent with __GCC_ATOMIC_INT_LOCK_FREE et al.

2017-07-28 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54006 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c/54006] __atomic_always_lock_free inconsistent with __GCC_ATOMIC_INT_LOCK_FREE et al.

2015-05-22 Thread nick.mayerho...@rise-world.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54006 Nick nick.mayerho...@rise-world.com changed: What|Removed |Added CC|

[Bug c/54006] __atomic_always_lock_free inconsistent with __GCC_ATOMIC_INT_LOCK_FREE et al.

2012-07-19 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54006 --- Comment #2 from Hans-Peter Nilsson hp at gcc dot gnu.org 2012-07-20 04:06:41 UTC --- FWIW, cpp_atomic_builtins is called before the target TARGET_INIT_LIBFUNCS is called (at least on the 4.7 branch) so using can_compare_and_swap_p as the / in

[Bug c/54006] __atomic_always_lock_free inconsistent with __GCC_ATOMIC_INT_LOCK_FREE et al.

2012-07-19 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54006 --- Comment #3 from Hans-Peter Nilsson hp at gcc dot gnu.org 2012-07-20 04:16:20 UTC --- Created attachment 27842 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27842 Patch using can_compare_and_swap_p but with multiple problems Besides the

[Bug c/54006] __atomic_always_lock_free inconsistent with __GCC_ATOMIC_INT_LOCK_FREE et al.

2012-07-17 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54006 --- Comment #1 from Hans-Peter Nilsson hp at gcc dot gnu.org 2012-07-17 22:44:11 UTC --- By the macros just check for presence of certain patterns I mean the code defining those macros, in c-family/c-cppbuiltin.c:cpp_atomic_builtins.