[project @ 2001-03-28 14:26:34 by simonmar]
authorsimonmar <unknown>
Wed, 28 Mar 2001 14:26:34 +0000 (14:26 +0000)
committersimonmar <unknown>
Wed, 28 Mar 2001 14:26:34 +0000 (14:26 +0000)
fix some test problems

ghc/tests/codeGen/should_run/Makefile
ghc/tests/codeGen/should_run/cg026.hs
ghc/tests/codeGen/should_run/cg042.hs

index b08a533..75171b0 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.17 2001/02/28 10:45:40 rrt Exp $
+# $Id: Makefile,v 1.18 2001/03/28 14:26:34 simonmar Exp $
 
 TOP = ../..
 include $(TOP)/mk/boilerplate.mk
@@ -34,6 +34,9 @@ cg021_RUNTEST_OPTS = +RTS -K2m
 cg025_RUNTEST_OPTS = -x 1 cg025.hs
 cg045_RUNTEST_OPTS = -x 1
 
+# tmp, until we fix the problems with seq#...
+cg045_HC_OPTS = -O
+
 # mkdependHS doesn't understand OPTIONS pragmas...
 SRC_MKDEPENDHS_OPTS += -fglasgow-exts
 
index 4943843..6a6bb24 100644 (file)
@@ -8,7 +8,7 @@ import ST
 import ST
 import MutableArray
 import ByteArray
-import Int( Num(fromInt) )
+import Int( fromInt )
        
 import Ratio
 import Array
index 16a1413..3371be4 100644 (file)
@@ -7,7 +7,7 @@ import IOExts
 import ByteArray
 import MutableArray
 import ST
-import Int( Num(fromInt) )
+import Int( fromInt )
 
 import Ratio   -- 1.3
 import Array   -- 1.3