#7083: Reduce the likelihood of x64/x86-64 changes breaking the build on other arches -------------------------------+-------------------------------------------- Reporter: erikd | Owner: Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.5 Resolution: | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: -------------------------------+--------------------------------------------
Comment(by erikd@…): commit 2f7c578574a9d5e9b4d95847abc3d1cb1b35336d {{{ Author: Erik de Castro Lopo <er...@mega-nerd.com> Date: Wed Aug 8 06:44:00 2012 +1000 Reduce the likelihood of x64/x86-64 changes breaking the build on other arches (#7083). Code that needs to differentiate between i386 and x86-64 should now be written as if x86-64 is the default and i386 is the special case. Eg: # if i386_TARGET_ARCH someFuncion = ..... # else someFuncion = ..... # endif compiler/nativeGen/X86/Regs.hs | 56 ++++++++++++++------------------------- 1 files changed, 20 insertions(+), 36 deletions(-) }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7083#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs