[GHC] #9370: unfolding info as seen when building a module depends on flags in a previously-compiled module

GHC ghc-devs at haskell.org
Mon Aug 4 05:11:51 UTC 2014


#9370: unfolding info as seen when building a module depends on flags in a
previously-compiled module
-------------------------------------+-------------------------------------
              Reporter:  carter      |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  high        |        Milestone:  7.10.1
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  Compile-    |       Blocked By:
  time performance bug               |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 (For anyone who is paying careful attention to #9400 and is wondering why
 we have ~4000 identical inlinings here while in that ticket we have only
 ~2000 copies of `unstream`, the reason is that here we are building with
 `-O0`, so we do not process the rule which rewrites `Data.Text.pack .
 unpackCString#` to `Data.Text.unpackCString#`! The text library does not
 expect its users to follow its INLINE directives without also following
 its RULES.)

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


More information about the ghc-tickets mailing list