[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 15:06:26 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):
In the case that originated this ticket, yes. In general, the bug is that
whether we obey INLINE pragmas in an imported module M depends not just on
the optimization flags in effect for the module we are currently
compiling, but also on the optimization flags that were in effect for the
first module in this `ghc --make` invocation that imported M. (Or that
caused GHC to load the interface file for M for any reason, if that ever
happens other than because M was imported.)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9370#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list