[comp.sys.amiga.tech] Yet Another Lattice C 5.02 BUG

peterc@softway.oz (Peter Chubb) (09/01/89)

Another bug...

Try this:
-----------------------

typedef union {
	int	(*operator)(void);
	} op;

static op cptr;

void t()
{
	while((*(*cptr++).operator)())
		;
}
-------------------------
and watch the CXERR 26 come up in pass 2.
This was a bug I found last night, just after posting a letter to Lattice
with a list of bugs yesterday.

Does anyone out there either:
	1.  Have an e-mail address for someone in Lattice technical support
	    that they could send to me?

	2.  Have a complete list of bugs in 5.02 that I could have?  I'm fed
	    up with being bitten by bugs that I start off thinking are in my
	    code, that I find are in the compiler.


				- Peter Chubb

Softway Pty Ltd, P.O. Box 305, Strawberry Hills, NSW 2012, AUSTRALIA
Phone: +61 2 698 2322;       Fax: +61 2 699 9174;     Telex: AA27987
ACSnet: peterc@softway.oz	   UUCP: ...!uunet!softway.oz!peterc