Here is an -O -ish bug in ghc-3.02-i386-unknown...
taken from ftp.dcs.gla.ac.uk/.../3.02/
The file
ftp.botik.ru:/pub/local/Mechveliani/docon/notready/notready.zip
(also try the http mirror at http://haskell.org/docon/...)
contains the DoCon computer algebra program which compiles with -Onot.
But without it, Makefile reports strange events and, finally, "panic".
unzip notready.zip;
according to install.txt, do cd .../docon
- where Makefile is.
Set there EXTRA... = -Onot and run `make all'
It should make it all right.
Then do rm export/* ;
remove -Onot and run `make all'
It reports
-----------------------------------------------------------------
several successful compilations, then
Vec0_.hs:22: Warning:
Warning: failed to find (optional) interface decl for
`AddSemigroup_sc1'
desired at
Semigr_.hi:311
tcUnfolding failed with: Semigr_.zeroS{-riN-}
export/Semigr_.hi:311:
Warning: no binding for Semigr_.AddSemigroup_sc1
- and such things.
Then
tcUnfolding failed with: Semigr_.zeroS{-rh4-}
export/Semigr_.hi:311:
Warning: no binding for Semigr_.AddSemigroup_sc1{-r2IX-}
In an interface-file signature for Semigr_.zeroS{-rh4-}
panic! (the `impossible' happened):
lookupBindC:no info!
for: restore_smf5
(probably: data dependencies broken by an optimisation pass)
static binds for:
DPair.$g2{-g2-}
...
-------------------------------------------------------------------------
------------------
Sergey Mechveliani
[EMAIL PROTECTED]