[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 10:40:44 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 simonpj):

 Replying to [comment:15 rwbarton]:
 > The text library does not expect its users to follow its INLINE
 directives without also following its RULES.)

 And THAT is the GHC bug here: we are compiling a client with `-O0` but
  * we ''are'' obeying INLINE pragmas from `Text`,
  * we ''are not'' obeying RULES from `Text`.

 Right?

 Simon

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


More information about the ghc-tickets mailing list