[Bug other/24692] Atomic builtins for v3

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 7 10:16:00 GMT 2005



------- Comment #8 from rguenth at gcc dot gnu dot org  2005-11-07 10:16 -------
Paolo, the only viable way to get these inlined looks like a libstdc++
configure-time choice to say --disable-i386-support or sth like that.  You then
build libstdc++ against the atomic builtin primitives and at application
build-time either try falling back with preprocessor stuff rth suggested, or
don't do it and fail either at compile-time or later (maybe) at runtime with
some SIGILL or whatever you'll get.

Supporting different architectures and inlining at the same time is not
possible (well, apart from fixup by binary-patching at program startup, like
the kernel does (or did?), of course ;))


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24692



More information about the Gcc-bugs mailing list