calloc problem in gnu???

Jim Patterson jimp at cognos.UUCP
Tue Oct 9 23:41:01 AEST 1990


In article <1990Oct9.032131.16992 at watdragon.waterloo.edu> cpshelley at 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



More information about the Comp.lang.c mailing list