[commit: ghc] master: Update a panic message (385dced)

Ian Lynagh igloo at earth.li
Fri Jan 11 21:51:45 CET 2013


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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/385dced67dc57632d598267ea7577f7a69747260

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

commit 385dced67dc57632d598267ea7577f7a69747260
Author: Ian Lynagh <ian at well-typed.com>
Date:   Fri Jan 11 18:03:15 2013 +0000

    Update a panic message
    
    I don't actually know if suggesting -fllvm as a workaround is useful
    advice, but -fvia-C certainly won't help as it doesn't do anything
    any more.

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

 compiler/nativeGen/SPARC/Base.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compiler/nativeGen/SPARC/Base.hs b/compiler/nativeGen/SPARC/Base.hs
index 7a05663..96fb5e7 100644
--- a/compiler/nativeGen/SPARC/Base.hs
+++ b/compiler/nativeGen/SPARC/Base.hs
@@ -70,6 +70,6 @@ largeOffsetError :: (Integral a, Show a) => a -> b
 largeOffsetError i
   = panic ("ERROR: SPARC native-code generator cannot handle large offset ("
                 ++ show i ++ ");\nprobably because of large constant data structures;" ++
-                "\nworkaround: use -fvia-C on this module.\n")
+                "\nworkaround: use -fllvm on this module.\n")
 
 





More information about the ghc-commits mailing list