Disable unpack/build fusion
authorDon Stewart <dons@cse.unsw.edu.au>
Sun, 2 Jul 2006 08:39:13 +0000 (08:39 +0000)
committerDon Stewart <dons@cse.unsw.edu.au>
Sun, 2 Jul 2006 08:39:13 +0000 (08:39 +0000)
commita32ea2deb141dce3b45caa9c4479a88d9de8386f
treed44a2aa133fa2e3282aa5551a98370444eedc181
parent4a1f785332f15f382c5f5a729bbdaba54d69870a
Disable unpack/build fusion

unpack/build on bytestrings seems to trigger a bug when interacting with
head/build fusion in GHC.List. The bytestring001 testcase catches it.

I'll investigate further, but best to disable this for now (its not
often used anyway).

Note that with -frules-off or ghc 6.4.2 things are fine. It seems to
have emerged with the recent rules changes.
Data/ByteString.hs