This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/51011] FAIL: gcc.dg/atomic-generic.c (test for excess errors)
- From: "dave.anglin at bell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Nov 2011 14:56:44 +0000
- Subject: [Bug other/51011] FAIL: gcc.dg/atomic-generic.c (test for excess errors)
- Auto-submitted: auto-generated
- References: <bug-51011-4@http.gcc.gnu.org/bugzilla/>
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.