GHC infinite loop when building vector program

Daniel Fischer at
Wed Oct 12 00:55:19 CEST 2011

On Tuesday 11 October 2011, 21:11:30, Bas van Dijk wrote:
> Hello,
> When benchmarking my new vector-bytestring[1] package I discovered
> that building the following program causes GHC to go into, what seems
> to be, an infinite loop:

> I use vector-0.9 and ghc-7.2.1.

Replicated with vector-0.7.1 and ghc-7.2.1 (^C'ed after six minutes).
Compilation finishes (unsurprisingly) with -fno-spec-constr or with
{-# NOINLINE f #-}.

It compiles fine with vector- and ghc-7.0.4.

> Regards,
> Bas

More information about the Glasgow-haskell-users mailing list