Dear ghc developers,

ghc-4  `panics' at the project which is built by  ghc-3.02  
successfully:
           ftp.botik.ru:/pub/local/Mechveliani/docon/fordebug/n.zip

  unzip n.zip;
  set  ghcROOT, doconEXPORT  as it is said in  install.txt;
  cd  docon/
  make all

This has to make the project with  -Onot.  It yields


<many modules compiled>
...
/usr/ghc/4/bin/ghc -c source/pol/factor/Pfact_.hs -fglasgow-exts  
 -optC-fallow-overlapping-instances -optC-fallow-undecidable-instances  
 -fvia-C  -K1500k -syslib misc -cpp -recomp -hi-diffs -iexport -Iexport 
 -odir export -fno-warn-overlapping-patterns -ohi export/Pfact_.hi   
 -H10000k -Onot

zonkIdOcc:  cPMul_a38V

panic! (the `impossible' happened):
        lookupBindC:no info!
 for: cPMul_a38V
             (probably: data dependencies broken by an optimisation pass)
                      static binds for:
                      caS2
                      caS3
                   ...
                      Pfact_.factorOverPrimeFinField_1_{-rlV,x-}
                      local binds for:
                      caTz

Please report it as a compiler bug to [EMAIL PROTECTED]

make: *** [source/pol/factor/Pfact_.o] Error 1
-----------------------------------------------------------------------


It breaks at the last function in the module  Pfact_.hs.

ghc-3.02  makes this all 
- only `instance Convertible a Int =>...'  has to be commented out of
ResEuc0_.hs  (the language is slightly different).


Please, advise.

------------------
Sergey Mechveliani
[EMAIL PROTECTED]


Reply via email to