#2169: Compilation fails first time without giving an error, later succeeds
without changing code
----------------------+-----------------------------------------------------
 Reporter:  nccb      |          Owner:                
     Type:  bug       |         Status:  new           
 Priority:  normal    |      Milestone:  6.8.3         
Component:  Compiler  |        Version:  6.8.2         
 Severity:  normal    |     Resolution:                
 Keywords:            |     Difficulty:  Unknown       
 Testcase:            |   Architecture:  x86_64 (amd64)
       Os:  Linux     |  
----------------------+-----------------------------------------------------
Comment (by nccb):

 Sorry about that - I had forgotten about the auto-generated modules having
 custom errors.  I think you have spotted it; FlowGraph is compiled
 directly after OrdAST, and it seems that sometimes the per-module settings
 from OrdAST have "bled through" into FlowGraph (we are using -fwarn-
 unused-matches in OrdAST, sorry for not noticing that in the original
 report).  What seems especially odd is that FlowGraph can fail a second
 time, when OrdAST has already been compiled (some problem with temporary
 files?).  I'll try and trim it down into a neater testcase.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2169#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to