This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/24692] Atomic builtins for v3



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]