Re: #12847: ghci -fobject-code -O2 doesn't do the same optimisations as ghc --make -O2
"GHC" <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.glasgow.bugs |
|---|---|
| Message-ID | <[email protected]> |
#12847: ghci -fobject-code -O2 doesn't do the same optimisations as ghc --make -O2
-------------------------------------+-------------------------------------
Reporter: nh2 | Owner: (none)
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: duplicate | 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: |
-------------------------------------+-------------------------------------
Changes (by RolandSenn):
* status: new => closed
* resolution: => duplicate
Comment:
This is the same bug as in #13002. During startup without a -O flag on the
command line, GHCi misses to store optimization data (like inline pragmas
and rewrite rules). After a :set -O2 this optimization data is missing.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12847#comment:3>