[GHC] #8464: ghc -C crashes on Hello World

GHC ghc-devs at haskell.org
Mon Oct 21 09:12:34 UTC 2013


#8464: ghc -C crashes on Hello World
---------------------------------------+----------------------------------
        Reporter:  ygramoel            |            Owner:
            Type:  bug                 |           Status:  closed
        Priority:  normal              |        Milestone:
       Component:  Compiler            |          Version:  7.4.2
      Resolution:  invalid             |         Keywords:
Operating System:  Linux               |     Architecture:  x86_64 (amd64)
 Type of failure:  Compile-time crash  |       Difficulty:  Unknown
       Test Case:                      |       Blocked By:
        Blocking:                      |  Related Tickets:
---------------------------------------+----------------------------------

Comment (by ygramoel):

 Thanks for the very fast reply.

 I agree with monoidal: GHC should not panic if you just use its flags
 incorrectly.  Resolution "invalid" seems inappropriate,  "duplicate" (of
 #5582) would have been more appropriate.

 BTW: I have tried to reproduce the problem on ghc-7.6.3,  but was not able
 to install it:  see #8465.

 The reason for using -C was essentially just curiosity.  I was trying to
 get more insight in how Haskell is translated to executable code.  I am
 sure that there must be useful documents explaining this,  but sometimes
 looking at code for concrete examples helps.

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


More information about the ghc-tickets mailing list