[GHC] #7581: ghc crashed on trying compiling a file generated by Alex

#7581: ghc crashed on trying compiling a file generated by Alex -------------------------------+-------------------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.4.2 | Keywords: Os: Windows | Architecture: Unknown/Multiple Failure: Compile-time crash | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- C:\Documents and Settings\bcyrille\My Documents\Hskl>ghc M90.hs [1 of 1] Compiling Main ( M90.hs, M90.o ) ghc: panic! (the 'impossible' happened) (GHC version 7.4.2 for i386-unknown-mingw32): nameModule show{tv aqY} Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Alex version is 3.0.2 ghc version is 7.4.2 (haskell platform 2012.4.0.0) Can't give much details, first time using Alex... attaching the files -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7581 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7581: ghc crashed on trying compiling a file generated by Alex ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.4.2 Resolution: duplicate | Keywords: Os: Windows | Architecture: Unknown/Multiple Failure: Compile-time crash | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: ---------------------------------+------------------------------------------ Changes (by simonpj): * status: new => closed * difficulty: => Unknown * resolution: => duplicate Comment: Thanks. This is another example of GHC most oft-reported bug (fixed some time ago), #5961, #7549, #7516, #7455, #7252, #7236, etc! The culprit is the lower-case `show` in the `deriving` clause for `Token`. It's not Alex's fault, happily. Simon -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7581#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC