#7380: Panic: mkNoTick: Breakpoint loading modules with -O2 via API
----------------------------------+-----------------------------------------
 Reporter:  JeanPhilippeMoresmau  |          Owner:         
     Type:  bug                   |         Status:  new    
 Priority:  normal                |      Component:  GHC API
  Version:  7.4.1                 |       Keywords:         
       Os:  Windows               |   Architecture:  ia64   
  Failure:  Runtime crash         |       Testcase:         
Blockedby:                        |       Blocking:         
  Related:                        |  
----------------------------------+-----------------------------------------
 I load a trivial module via the API. I get a panic:
 GHCBugs.exe: GHCBugs.exe: panic! (the 'impossible' happened)
   (GHC version 7.4.1 for i386-unknown-mingw32):
         mkNoTick: Breakpoint

 If I pass -O2 in the options. Without -O2 the module loads.

 I attach the source code using the API to the ticket. The module I try to
 load just says:
 module Main where

 main::IO()
 main = print "Hello Fay"

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to