[GHC] #13002: :set -O does not work in .ghci file

GHC ghc-devs at haskell.org
Wed Jan 3 05:46:06 UTC 2018


#13002: :set -O does not work in .ghci file
-------------------------------------+-------------------------------------
        Reporter:  George            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.0.3
       Component:  GHCi              |              Version:  8.0.1
      Resolution:                    |             Keywords:
                                     |  RecompilationCheck
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 I'm ''guessing'' that the allocation difference is caused by what GHCi
 does ''before'' it loads the module, and quite possibly even before it
 loads the `.ghci` file. How could I check this?

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


More information about the ghc-tickets mailing list