This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/37640] Misuse of __sync_lock_test_and_set causes ICE
- From: "anton at samba dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2008 20:07:21 -0000
- Subject: [Bug target/37640] Misuse of __sync_lock_test_and_set causes ICE
- References: <bug-37640-8090@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from anton at samba dot org 2008-09-24 20:07 -------
After reading the gcc documentation I guess it is valid, and the 32bit
lwarx/stwcx will overlap but not change surrounding memory.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37640