Ticket #2323 (closed bug: worksforme)
Segfaulting binary only with modules
|Reported by:||yrn1||Owned by:|
|Operating System:||MacOS X||Architecture:||powerpc|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
tgz with 2 files attached: Math.hs and Main.hs. Math.hs contains some utility functions and Main.hs uses them. When compiling this (ghc --make Main) and running ./Main, it segfaults. But when putting everything from Math.hs in Main.hs (and hence eliminating the Math module) and compiling again, it does not segfault.
Note removing that the PRAGMA's in the Math.hs file does not change this behaviour.