------- Comment #14 from pcarlini at suse dot de 2006-08-28 09:58 ------- (In reply to comment #13)
> 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. Unfortunately, for targets like ?386 and Sparc I'm afraid it's the only option, at the moment. For ia64, powerpc, s390, etc, etc, when the atomic functions are always available, irrespective of the subtarget, that's fine of course. I thinh we can leave with that, frankly: for strings we are moving away from reference counting anyway; when running single-thread now we don't call the atomic functions; finally, for things like shared_ptr we can have the fine-grained preprocessor builtin and everything is nice. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28671
