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

--- Comment #5 from dave.anglin at bell dot net 2011-11-08 14:56:44 UTC ---
On 11/7/2011 10:18 PM, amacleod at redhat dot com wrote:
> Yeah, it looks like I'll have to change the built-in mechanism slightly.  I
> followed the __sync methodology, but they dont resolve to function calls 
> unless
> they are in libgcc I think.  The __atomic calls resolve to actual external
> references.  I think I need to change the initial def's in sync-builtins.def 
> to
> indicate there is a fallthrough function call, and make a few additional 
> tweaks
> to make sure it gets the right name.
HP-UX PA-RISC is somewhat unique in requiring that functions have the 
correct type.  It
doesn't matter on Linux.  Suspect the __sync builtins when they resolve 
to functions may
also have this problem.

Reply via email to