This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: notes on current atomics config and usage
Paolo Carlini wrote:
> In fact, ideally, from the library point of view, we would like to
> *inline* in the headers the builtin atomics and the user should not be
> allowed to pass -march=i386 and obtain unresolved symbols at link time
> too easily!
I'm not sure what you mean by this; if you use the intrinsics, then the
compiler will do the inlining for you? But, I think the headers should
still permit compilation with -march=i386; there should be a macro to
check, and libstdc++ should check it. :-)
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713