Error when compilng with -O0
Simon Peyton-Jones
simonpj at microsoft.com
Wed Sep 14 18:13:36 CEST 2011
Manuel
I added
GhcLibHcOpts += -O0
to my build options, to try building the libraries without -O.
To my surprise I got a lint error in dph. The details are below. I have not investigated. Simply compiling that module with -O makes it work.
It seems to happen because the vectoriser produces
==================== Vectorisation ====================
Rec { ... ; $v_andP = andP_v; ... }
andP_v = ...
That is, andP_v is defined in a later block in the sequence than it is used.
Looks like a vectoriser bug.
For some reason Lint does not complain about the output of the Vectoriser, but rather the subsequent simplifier run. Are you not Linting the Vectoriser's output?
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cvs-ghc/attachments/20110914/bffd2ade/attachment.htm>
More information about the Cvs-ghc
mailing list