[commit: ghc] master: fix T7600 run on bigendian platform (3f30912)

git at git.haskell.org git at git.haskell.org
Thu Feb 19 21:41:07 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/3f30912fcceceea68b8ea6ada6c3135447c6871a/ghc

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

commit 3f30912fcceceea68b8ea6ada6c3135447c6871a
Author: Karel Gardas <karel.gardas at centrum.cz>
Date:   Thu Feb 19 22:41:02 2015 +0100

    fix T7600 run on bigendian platform


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

3f30912fcceceea68b8ea6ada6c3135447c6871a
 testsuite/tests/codeGen/should_run/T7600_A.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testsuite/tests/codeGen/should_run/T7600_A.hs b/testsuite/tests/codeGen/should_run/T7600_A.hs
index 52c28cb..df31b83 100644
--- a/testsuite/tests/codeGen/should_run/T7600_A.hs
+++ b/testsuite/tests/codeGen/should_run/T7600_A.hs
@@ -12,6 +12,8 @@ import Numeric
 
 import GHC.Float
 
+#include "ghcconfig.h"
+
 -- Test run
 test_run :: Float -> Double -> IO ()
 test_run float_number double_number = do



More information about the ghc-commits mailing list