
#10627: Regression: cabal install of numeric-prelude hangs -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: high | Milestone: 7.10.2 Component: Compiler | Version: 7.10.2-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by George): Replying to [comment:11 Lemming]:
I attached a minimal example that you can run with: {{{ $ ghc-7.10.1.20150630 -O RealRing.hs [1 of 1] Compiling RealRing ( RealRing.hs, RealRing.o )
RealRing.hs:11:6: Warning: Rule "NP.roundSimple :: a -> Word" may never fire because ‘roundSimple’ might inline first Probable fix: add an INLINE[n] or NOINLINE[n] pragma on ‘roundSimple’ ^C }}} Thanks! That fails for me also. It works if I compile without the -O
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10627#comment:14 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler