gcc-2.95.3 internal error on head/MachOp.hs

Donald Bruce Stewart dons at cse.unsw.edu.au
Thu Sep 9 05:47:23 EDT 2004


dons:
> dons:
> > A start on the gcc-2.95.3 issue provoked by MachOp.hs in the head, on
> > the openbsd nightly builds. I haven't solved this, but I thought I'd put
> > out some info, in case someone else can spot it, or has some hints...
> 
> And we have a minimal test case :) Maybe this will help.

Even more minimal:

        module M where

        f :: DT -> Bool
        f a = case a of -- any less cases and we don't trigger it
                A -> True
                B -> True
                C -> True
                D -> True
                        -- need to skip E
                F -> True
                G -> True
                H -> True
                I -> True

                        -- any less constructors and we don't trigger it
        data DT = A | B | C | D | E | F | G | H | I 
                | J | K | L | M | N | O | P | Q | R 

manzano$ ~/head/i386-unknown-openbsd/ghc/compiler/ghc-inplace -no-recomp -c -fvia-C T.hs
/tmp/ghc29349.hc: In function `s1Ee_ret':
/tmp/ghc29349.hc:865: Internal compiler error in `build_insn_chain', at global.c:1756
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

-- Don


More information about the Cvs-ghc mailing list