------- Comment #13 from bkoz at gcc dot gnu dot org 2006-08-28 09:49 -------
Just a note. The current behavior is as intended, although perhaps not documented. I'll be fixing that later today. Here's a message from last month detailing in advance this exact bug report: http://gcc.gnu.org/ml/libstdc++/2006-07/msg00084.html What this means is that people building gcc with -march flags then need to consistently pass those same flags around when using the compiler. Yes, this is a pain. We're working on a better way to do this. The real issue is: "code independent from the atomicity model." The only way to have this is to not inline the atomic helper functions in atomicity.h. I am willing to revert that part of my July atomics config change. Although I would prefer not to. -benjamin -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28671