Article View: comp.sys.amiga.tech
Article #1110Yet Another Lattice C 5.02 BUG
From: Peter Chubb
Date: Thu, 31 Aug 1989 22:42
Date: Thu, 31 Aug 1989 22:42
35 lines
1303 bytes
1303 bytes
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
Technical Details
Message-ID:
<2054@softway.oz>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!uhccux!munnari.oz.au!murtoa.cs.mu.oz.au!otc!softway!petercShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!uhccux!munnari.oz.au!murtoa.cs.mu.oz.au!otc!softway!peterc From: peterc@softway.oz (Peter Chubb) Newsgroups: comp.sys.amiga.tech Subject: Yet Another Lattice C 5.02 BUG Keywords: indirection problem Message-ID: <2054@softway.oz> Date: 31 Aug 89 22:42:08 GMT Organization: Softway Pty Ltd, Sydney, Australia Lines: 35