[GHC] #12847: ghci -fobject-code -O2 doesn't do the same optimisations as ghc --make -O2
GHC
ghc-devs at haskell.org
Thu Nov 17 13:42:44 UTC 2016
#12847: ghci -fobject-code -O2 doesn't do the same optimisations as ghc --make -O2
-------------------------------------+-------------------------------------
Reporter: nh2 | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Other | Architecture:
Type of failure: Compile-time | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by nh2):
Replying to [comment:1 rwbarton]:
> you seem to be invoking `ghci` and then running `:set -fforce-recomp
-fobject-code -O2 -v`
I am.
Your guess seems right, if I start ghci on the command line with these
flags, it's just as slow as ghc.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12847#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list