aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/include
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-04 00:15:08 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-04 00:15:08 +0000
commit2ef322981549d35e684689bcb1f1060a5734e455 (patch)
tree62fcc694b6eb46afbb3fb6fb59d3f2f586f40fd6 /boehm-gc/include
parent1df2b8f4bfd3c8fa6486aca14f9f76337ea6d8a5 (diff)
* include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
use broken 64-bit version. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110571 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/include')
-rw-r--r--boehm-gc/include/private/gc_locks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/boehm-gc/include/private/gc_locks.h b/boehm-gc/include/private/gc_locks.h
index 1faf2d3d209..4e2b641b78b 100644
--- a/boehm-gc/include/private/gc_locks.h
+++ b/boehm-gc/include/private/gc_locks.h
@@ -139,7 +139,7 @@
# 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 */