------- Comment #57 from rwild at gcc dot gnu dot org 2010-06-03 05:53 ------- (In reply to comment #46) > At the risk of stating the obvious - since there are no DYLD_LIBRARY_PATH in > your posts...
Ah, right, I forgot to remind you to set DYLD_LIBRARY_PATH correctly when doing the test (toplevel Makefile sets it). Sorry about that. Other than that, you guys manage to write a lot about this but still not answer all questions (both of which makes it unattractive for others to look at a PR). What about missing volatile for comment #39, as in static int * volatile a_in_other_thread; ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43170