[GHC] #7083: Reduce the likelihood of x64/x86-64 changes breaking the build on other arches
GHC
cvs-ghc at haskell.org
Fri Jul 20 04:46:42 CEST 2012
#7083: Reduce the likelihood of x64/x86-64 changes breaking the build on other
arches
------------------------------+---------------------------------------------
Reporter: erikd | Owner:
Type: task | Status: new
Priority: normal | Component: Compiler
Version: 7.5 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
Comment(by tibbe):
I think we should go in the direction of having all backends available at
all times (i.e. make GHC a cross compiler.) That way we won't have any
#ifdefs at all, but only Haskell:
{{{
someFunction = case arch of
X86 -> ...
X86_64 -> ....
}}}
That way the type checker should catch most problems for us.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7083#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list