--- trunk/include/parrot/atomic/gcc_pcc.h 2007/06/12 14:08:35 18945 +++ trunk/include/parrot/atomic/gcc_pcc.h 2007/10/10 06:31:20 22000 @@ -28,7 +28,7 @@ { void *tmp; /* see http://www-128.ibm.com/developerworks/linux/library/pa-atom/ */ - __asm__ __volatile__( /*%0 = tmp, %1 = ptr, %2 = old, %3 = new */ + __asm__ __volatile__(/*%0 = tmp, %1 = ptr, %2 = old, %3 = new */ "1: lwarx %0, 0, %1\n" /* tmp = *ptr, with reservation */ " cmpw %2, %0\n" /* tmp == old ? */ " bne 2f\n" /* no, goto flush reservation, end */ @@ -50,7 +50,7 @@ inline static long parrot_ppc_add(volatile long *val, long what) { long tmp; - __asm__ __volatile__( /*%0 = tmp, %1 = val, %2 = what */ + __asm__ __volatile__(/*%0 = tmp, %1 = val, %2 = what */ "1: lwarx %0, 0, %1\n" /* tmp = *val, with reservation */ " add %0, %0, %2\n" /* tmp += what */ /* " sync\n" -- XXX needed on PPC 405, see
could it be Darwin doesn't like comments so close to the paren? Just a guess. a Andy Bach Systems Mangler Internet: [EMAIL PROTECTED] VOICE: (608) 261-5738 FAX 264-5932 In matters of style, swim with the current; in matters of principal, stand like a rock. Thomas Jefferson