OSDN Git Service

* include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Feb 2006 00:15:08 +0000 (00:15 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Feb 2006 00:15:08 +0000 (00:15 +0000)
use broken 64-bit version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110571 138bc75d-0d04-0410-961f-82ee72b054a4

boehm-gc/ChangeLog
boehm-gc/include/private/gc_locks.h

index b180102..61bc00e 100644 (file)
@@ -1,3 +1,8 @@
+2006-02-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
+       use broken 64-bit version.
+
 2006-01-25  Andreas Tobler  <a.tobler@schweiz.ch>
 
        * darwin_stop_world.c: Change inline asm instruction to ld as ldz
index 1faf2d3..4e2b641 100644 (file)
 #      define GC_TEST_AND_SET_DEFINED
 #    endif
 #    if defined(POWERPC)
-#     if CPP_WORDSZ == 64
+#     if 0 /* CPP_WORDSZ == 64  totally broken to use int locks with ldarx */
         inline static int GC_test_and_set(volatile unsigned int *addr) {
           unsigned long oldval;
           unsigned long temp = 1; /* locked value */