[GHC] #9279: Optimisation bug

GHC ghc-devs at haskell.org
Mon Jul 14 15:52:31 UTC 2014


#9279: Optimisation bug
--------------------------------------------+------------------------------
        Reporter:  simonmar                 |            Owner:  simonpj
            Type:  bug                      |           Status:  new
        Priority:  normal                   |        Milestone:
       Component:  Compiler                 |          Version:  7.8.2
      Resolution:                           |         Keywords:
Operating System:  Unknown/Multiple         |     Architecture:
 Type of failure:  Runtime performance bug  |  Unknown/Multiple
       Test Case:                           |       Difficulty:  Unknown
        Blocking:                           |       Blocked By:
                                            |  Related Tickets:
--------------------------------------------+------------------------------

Comment (by simonpj):

 So how do I reproduce this?  I get
 {{{
 simonpj at cam-05-unx:~/tmp/T9279$  ghc -O2 Haxl/Core/Monad.hs

 Haxl/Core/Types.hs:66:8:
     Could not find module ‘Data.Aeson’
     Perhaps you meant Data.Version (from base)
     Use -v to see a list of the files searched for.

 Haxl/Core/Types.hs:67:8:
     Could not find module ‘Data.Hashable’
     Use -v to see a list of the files searched for.

 Haxl/Core/Types.hs:72:8:
     Could not find module ‘Data.HashMap.Strict’
     Perhaps you meant
       Data.IntMap.Strict (from containers-0.5.5.1)
       Data.Map.Strict (from containers-0.5.5.1)
     Use -v to see a list of the files searched for.

 Haxl/Core/Monad.hs:73:8:
     Could not find module ‘Control.Concurrent.STM’
     Perhaps you meant
       Control.Concurrent.QSem (from base)
       Control.Concurrent (from base)
       Control.Concurrent.Chan (from base)
     Use -v to see a list of the files searched for.
 }}}
 Also can you try with `-ddump-inlinings -dverbose-core2core -ddump-occur-
 anal` and add the log file?

 Simon

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9279#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list