Path: utzoo!utgpu!cunews!cognos!jimp From: jimp@cognos.UUCP (Jim Patterson) Newsgroups: comp.lang.c Subject: Re: calloc problem in gnu??? Message-ID: <8909@cognos.UUCP> Date: 9 Oct 90 13:41:01 GMT References: <1990Oct9.032131.16992@watdragon.waterloo.edu> Reply-To: jimp@cognos.UUCP (Jim Patterson) Distribution: na Organization: Cognos Inc., Ottawa, Canada Lines: 17 In article <1990Oct9.032131.16992@watdragon.waterloo.edu> cpshelley@violet.waterloo.edu (cameron shelley) writes: >Hello! > > I've run into a bit of a problem! The following code is a very >simplified version of what I've been trying to do (allocate space >for an array in a separate function). Using gcc, the program >compiles but when run only produces "Illegal Instruction" on stderr. That's funny. It works for me. I'm using gcc 1.21, Sun 3/60, Sun OS 4.03. What are you running on? (It might just be relevant). Note: this is a REALLY OLD version of GCC. -- Jim Patterson Cognos Incorporated UUCP:uunet!mitel!cunews!cognos!jimp P.O. BOX 9707 PHONE:(613)738-1440 3755 Riverside Drive NOT a Jays fan (not even a fan) Ottawa, Ont K1G 3Z4