From: wolfgang Date: Sat, 4 Jan 2003 18:46:57 +0000 (+0000) Subject: [project @ 2003-01-04 18:46:57 by wolfgang] X-Git-Tag: Approx_11550_changesets_converted~1309 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=3a46e9f8b0b527fd73814a93fd2ca81983c299b7 [project @ 2003-01-04 18:46:57 by wolfgang] Darwin: Replace "g" constraint by "r" in inline assembly, otherwise it won't compile without -O --- diff --git a/ghc/rts/Adjustor.c b/ghc/rts/Adjustor.c index ed3cb50..18d3673 100644 --- a/ghc/rts/Adjustor.c +++ b/ghc/rts/Adjustor.c @@ -366,7 +366,7 @@ TODO: Depending on how much allocation overhead stgMallocBytes uses for while(n--) { __asm__ volatile ("dcbf 0,%0\n\tsync\n\ticbi 0,%0" - : : "g" (p)); + : : "r" (p)); p++; } __asm__ volatile ("sync\n\tisync");