logo       

ghc 6.2 possible bug with gcc 3.3.x, strange parse error: msg#00028

lang.haskell.glasgow.bugs

Subject: ghc 6.2 possible bug with gcc 3.3.x, strange parse error

Hi,

Something very mysterious is happening when buddha is built with
GHC 6.2 on machines that have gcc 3.3.x

This bug has occurred on these two machines so far:

Gentoo linux with gcc 3.3.2
FreeBSD with gcc 3.3.3

Both x86 machines.

Note however, that the bug does not appear on machines with
gcc 2.x series compilers.

buddha can be downloaded from:

www.cs.mu.oz.au/~bjpop/buddha

The file in question is (from the buddha soure package):

prelude/Buddha/List_B.hs

GHC gives a parse error on this line of code:

infix 5 \\

The error message is:

List_B.hs:23: parse error on input `\'

I don't think there is any parse error in the file, and GHC 6.2 with gcc 2.x
doesn't think so either.

Cheers,
Bernie.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise