Bug: GHC creates incorrect code which throws <<loop>>

Jan Stolarek jan.stolarek at p.lodz.pl
Wed Apr 1 10:58:37 UTC 2015


I can confirm that the bug is reproducable on my system as well (64bit Debian Wheezy).


Dnia środa, 1 kwietnia 2015, Yongqian Li napisał:
> Hi all,
> I wanted to bring to your attention this bug,
> https://ghc.haskell.org/trac/ghc/ticket/10218 , which I filed about
> two days ago but hasn't gotten any replies to yet.
> In my opinion, this is a rather serious bug since GHC is producing
> incorrect code. While there is a workaround, it makes my program take
> about 2 hours to compile.
> Since reporting the bug, I've also seen "strange closure type"
> exceptions, which I believe are also caused by this bug, although I do
> not have a test case. Based on my limited understanding of GHC
> internals, I suspect the problem lies in how type class dictionaries
> are looked up at run time, as the problem disappears if GHC can fully
> resolve the types.
> Can others see if they can reproduce this bug? If there is any way I
> can help, please let me know.
> Sincerely,
> Yongqian Li
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Politechnika Łódzka
Lodz University of Technology

Treść tej wiadomości zawiera informacje przeznaczone tylko dla adresata.
Jeżeli nie jesteście Państwo jej adresatem, bądź otrzymaliście ją przez pomyłkę
prosimy o powiadomienie o tym nadawcy oraz trwałe jej usunięcie.

This email contains information intended solely for the use of the individual to whom it is addressed.
If you are not the intended recipient or if you have received this message in error,
please notify the sender and delete it from your system.

More information about the ghc-devs mailing list