[GHC] #8833: GHC (compilation mode) crashes

GHC ghc-devs at haskell.org
Wed Mar 12 19:28:03 UTC 2014


#8833: GHC (compilation mode) crashes
-------------------------------------+-------------------------------------
        Reporter:  guest             |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:  7.8.1
       Component:  Compiler          |          Version:  7.8.1-rc2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  x86_64 (amd64)
 Type of failure:  Compile-time      |       Difficulty:  Moderate (less
  crash                              |  than a day)
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+-------------------------------------

Comment (by thoughtpolice):

 (Apparently I forgot to post my comment on this one. Urgh.)

 After talking with Simon, we don't think this is a bug. This program
 probably won't compile on ''any'' GHC version (and Simon verified it on
 7.4) as well - this is a variant of a known problem I believe, where you
 can trick the inliner into looping by encoding recursion into a data type:

 http://www.haskell.org/ghc/docs/7.8.1-rc2/html/users_guide/bugs.html#bugs-
 ghc

 It will of course work in GHCi - but that's because it doesn't use the
 inliner.

 Unless I'm missing something here, I believe this is a WONTFIX.

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


More information about the ghc-tickets mailing list