Path: utzoo!attcan!uunet!decwrl!sgi!davea@quasar.wpd.sgi.com From: davea@quasar.wpd.sgi.com (David B. Anderson) Newsgroups: comp.sys.sgi Subject: Re: Another C compiler bug? Summary: Yes. Known bug. Message-ID: <64432@sgi.sgi.com> Date: 18 Jul 90 15:50:28 GMT References: <5193@castle.ed.ac.uk> Sender: davea@quasar.wpd.sgi.com Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 22 In article <5193@castle.ed.ac.uk>, sjin@castle.ed.ac.uk (S.Jin) writes: > Is it a bug or not? I can compile the piece of program below successfully > on Sun 3/60(4.0_Export), HP900/825(7.00). But I failed to do that on 4D 20 > under IRIX 3.2. [stuff deleted] > struct Alist_Entry > { > void *slot; > } ; > ccom: Error: foo.c, line 8: slot undefined > *( (int *) (ap->slot) ) = 11; [stuff deleted] > Is it a bug? Any comments are welcome. Another posting (name not mentioned here) suggested user error. To correct any misunderstanding this may cause: This is a compiler bug. void, void * work in 3.3 cc but *not* in 3.2. Regards, [ David B. Anderson Silicon Graphics (415)335-1548 davea@sgi.com ] [``What can go wrong?'' --Calvin and Hobbes]