[comp.os.minix] Minix PC cc -O codegen bomb bug

dcd@tc.fluke.COM (David Dyck) (08/24/89)

I was trying to port stevie to minix pc when I when I found
this bug.

	cc on Minix pc 'bombs' when compiling the following program
with
	cc -O -S f.c
Error: Bombed out of codegen
Why does this happen?

It sure would be nice if the compiler would output a line number
associated with the error, since doing a 'binary search' on the
many stevie files riddled with this is getting old.

It does appear that "cc -S f.c" works, and the -O flag triggers the
codegen bomb.

Any suggestions?

---------------- cut here for f.c
struct	lptr {
	int	index;			
	int	*linep;		
} *Curschar; 

filealloc()
{
	*Curschar = *Curschar;
}
------------------cut here

            David Dyck
    Domain: dcd@tc.fluke.COM
     Voice: +1 206 356 5807
      UUCP: {uw-beaver,decwrl,microsof,sun}!fluke!dcd
     Snail: John Fluke Mfg. Co. / P.O. Box C9090 / Everett WA  98206