This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/17404] atomic_exchange_rel lacking a barrier on MIPS16, GCC before 4.7?
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 27 Oct 2015 23:48:56 +0000
- Subject: [Bug libc/17404] atomic_exchange_rel lacking a barrier on MIPS16, GCC before 4.7?
- Auto-submitted: auto-generated
- References: <bug-17404-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17404
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 8f82f28bbaa6ca503e6296b2d26ecf213bceff88 (commit)
from f1d237df1eec1df8cbc34f95540fd4035776e79c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8f82f28bbaa6ca503e6296b2d26ecf213bceff88
commit 8f82f28bbaa6ca503e6296b2d26ecf213bceff88
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Oct 27 23:47:56 2015 +0000
Remove MIPS16 atomics using __sync_* (bug 17404).
MIPS16 atomics used __sync_* with GCC before 4.7, which as noted in
bug 17404 is missing the required barrier semantics for
atomic_exchange_rel. This patch removes the code in question as dead
now GCC before 4.7 is no longer supported for building glibc.
Sanity tested with builds for MIPS.
[BZ #17404]
* sysdeps/mips/atomic-machine.h
[__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
[__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
NEWS | 20 ++++++++++----------
sysdeps/mips/atomic-machine.h | 27 +--------------------------
3 files changed, 17 insertions(+), 36 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.