Skip to content

O2: (GHC version 7.8.3 for x86_64-unknown-linux): allocateRegsAndSpill: Cannot read from uninitialized register %vI_s1Mp

ghc --make -O2 M.hs 
[1 of 1] Compiling M                ( M.hs, M.o )
ghc: panic! (the 'impossible' happened)
  (GHC version 7.8.3 for x86_64-unknown-linux):
        allocateRegsAndSpill: Cannot read from uninitialized register
    %vI_s1Mp

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

As in #9155 (closed) bug was caught on wx package in the same module. I didn't try to trim it down to minimal sample.

No external modules required.

Trac metadata
Trac field Value
Version 7.8.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (NCG)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC simonmar
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information