This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/66224] PowerPC _GLIBCXX_READ_MEM_BARRIER too weak
- From: "dje at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 22 May 2015 13:03:05 +0000
- Subject: [Bug target/66224] PowerPC _GLIBCXX_READ_MEM_BARRIER too weak
- Auto-submitted: auto-generated
- References: <bug-66224-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66224
--- Comment #4 from David Edelsohn <dje at gcc dot gnu.org> ---
Author: dje
Date: Fri May 22 13:02:34 2015
New Revision: 223564
URL: https://gcc.gnu.org/viewcvs?rev=223564&root=gcc&view=rev
Log:
PR target/66224
* config/cpu/powerpc/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER):
Don't use isync. Use lwsync if available.
Modified:
branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
branches/gcc-4_9-branch/libstdc++-v3/config/cpu/powerpc/atomic_word.h