From 3a46e9f8b0b527fd73814a93fd2ca81983c299b7 Mon Sep 17 00:00:00 2001 From: wolfgang Date: Sat, 4 Jan 2003 18:46:57 +0000 Subject: [PATCH] [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 --- ghc/rts/Adjustor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 1.7.10.4