[Bug middle-end/55492] __atomic_load doesn't match ACQUIRE memory model

2012-12-14 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55492 --- Comment #10 from Richard Henderson 2012-12-14 16:29:34 UTC --- Committed the suggested tweak, thanks.

[Bug middle-end/55492] __atomic_load doesn't match ACQUIRE memory model

2012-12-14 Thread amacleod at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55492 --- Comment #9 from Andrew Macleod 2012-12-14 15:32:52 UTC --- Took me a second.. I presume you meant that expand_mem_thread_fence doesn't emit anything for RELAXED mode... Yes, since __atomic_store has already been verified by expand_b

[Bug middle-end/55492] __atomic_load doesn't match ACQUIRE memory model

2012-12-14 Thread yvan.roux at linaro dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55492 --- Comment #8 from Yvan Roux 2012-12-14 10:14:15 UTC --- Hi Richard, Thanks for having applied and cleaned my patch. Regarding this cleanup, if we want to be consistant I think we have to remove the memory model test in expand_atomic

[Bug middle-end/55492] __atomic_load doesn't match ACQUIRE memory model

2012-12-13 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55492 Richard Henderson changed: What|Removed |Added Keywords||wrong-code Statu