[project @ 2005-07-26 22:10:59 by simonmar]
authorsimonmar <unknown>
Tue, 26 Jul 2005 22:10:59 +0000 (22:10 +0000)
committersimonmar <unknown>
Tue, 26 Jul 2005 22:10:59 +0000 (22:10 +0000)
gcc has gone to town on the garbage collector and killed it: use
-optc-fno-strict-aliasing as a workaround for now.

ghc/rts/Makefile

index ac689a9..0588a5b 100644 (file)
@@ -326,7 +326,7 @@ ifeq "$(Windows)" "YES"
 PrimOps_HC_OPTS += -\#include '<windows.h>' -\#include win32/AsyncIO.h
 endif
 
 PrimOps_HC_OPTS += -\#include '<windows.h>' -\#include win32/AsyncIO.h
 endif
 
-GC_HC_OPTS += -optc-O3
+GC_HC_OPTS += -optc-O3 -optc-fno-strict-aliasing
 
 # Cmm must be compiled via-C for now, because the NCG can't handle loops
 SRC_HC_OPTS += -fvia-C
 
 # Cmm must be compiled via-C for now, because the NCG can't handle loops
 SRC_HC_OPTS += -fvia-C