[GHC] #1746: GADT bug with -O2

GHC trac at haskell.org
Sat Sep 29 06:24:13 EDT 2007


#1746: GADT bug with -O2
-------------------------+--------------------------------------------------
    Reporter:  igloo     |        Owner:          
        Type:  bug       |       Status:  new     
    Priority:  normal    |    Milestone:  6.8.1   
   Component:  Compiler  |      Version:  6.8     
    Severity:  normal    |   Resolution:          
    Keywords:            |   Difficulty:  Unknown 
          Os:  Unknown   |     Testcase:  simpl019
Architecture:  Unknown   |  
-------------------------+--------------------------------------------------
Changes (by simonpj):

  * testcase:  => simpl019

Comment:

 Good catch.  The bug relates to rule-matching and casts; the rule-matcher
 was simply not matching correctly on `Cast` expressions.

 I have a patch; validating now.

 Simon

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


More information about the Glasgow-haskell-bugs mailing list