This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed] Update config/pa/linux-atomic.c to use new subword and double word atomic support
- From: John David Anglin <dave dot anglin at bell dot net>
- To: Richard Henderson <rth at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 22 Nov 2014 08:40:49 -0500
- Subject: Re: [committed] Update config/pa/linux-atomic.c to use new subword and double word atomic support
- Authentication-results: sourceware.org; auth=none
- References: <BLU437-SMTP363F19913681CD8EDB24B797740 at phx dot gbl> <54703A87 dot 4060603 at redhat dot com>
On 22-Nov-14, at 2:25 AM, Richard Henderson wrote:
Probably better to use __builtin_trap, now that you've added it.
At least then the compiler knows there's no fallthrough from the
ABORT_INSTRUCTION path.
Good suggestion. Added to my tree for testing.
Any chance someone wants to add this support to libatomic?
Currently pa is using the posix path, using locks.
Will take a look when I get a chance.
Dave
--
John David Anglin dave.anglin@bell.net