[GHC] #7478: setSessionDynFlags does not always work

GHC cvs-ghc at haskell.org
Fri Dec 7 11:58:41 CET 2012


#7478: setSessionDynFlags does not always work
---------------------------------+------------------------------------------
    Reporter:  edsko             |       Owner:  simonmar        
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Milestone:  7.6.2           
   Component:  Compiler          |     Version:  7.6.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * owner:  => simonmar
  * difficulty:  => Unknown
  * milestone:  => 7.6.2


Comment:

 You're getting the `DynFlags` from the cached `ModSummary`.  I think
 there's an easy fix: we should discard the cache in `setSessionDynFlags`.

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



More information about the Glasgow-haskell-bugs mailing list