[commit: testsuite] master: Make tc226 have -O, so that the unboxing stuff happens (a0acdf6)

Simon Peyton Jones simonpj at microsoft.com
Wed Jan 16 16:34:55 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/a0acdf602fa3013909c257e29c26f144831ef3ac

>---------------------------------------------------------------

commit a0acdf602fa3013909c257e29c26f144831ef3ac
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Jan 15 14:53:57 2013 +0000

    Make tc226 have -O, so that the unboxing stuff happens

>---------------------------------------------------------------

 tests/typecheck/should_compile/tc226.hs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/typecheck/should_compile/tc226.hs b/tests/typecheck/should_compile/tc226.hs
index 1e5e28a..d9c94c2 100644
--- a/tests/typecheck/should_compile/tc226.hs
+++ b/tests/typecheck/should_compile/tc226.hs
@@ -1,7 +1,8 @@
-{-# OPTIONS_GHC -funbox-strict-fields #-}
+{-# OPTIONS_GHC -O -funbox-strict-fields #-}
 
 -- The combination of unboxing and a recursive newtype crashed GHC 6.6.1
 -- Trac #1255
+-- Use -O to force the unboxing to happen
 
 module Foo where
 





More information about the ghc-commits mailing list