Newsgroups: comp.sys.next Path: utzoo!utgpu!watserv1!watmath!wgilbert From: wgilbert@watmath.waterloo.edu (William Gilbert) Subject: Re: cc compiler problems Message-ID: <1991Apr14.183423.4189@watmath.waterloo.edu> Organization: University of Waterloo References: <1991Apr7.170437.24517@msuinfo.cl.msu.edu> <1991Apr8.170642.3606@nntp-server.caltech.edu> Distribution: na Date: Sun, 14 Apr 1991 18:34:23 GMT Lines: 24 In article <1991Apr8.170642.3606@nntp-server.caltech.edu> bchen@nntp-server.caltech.edu (Bing-Qing Chen) writes: >In article <1991Apr7.170437.24517@msuinfo.cl.msu.edu> chouw@galaxy.cps.msu.edu (Wen Hwa Chou) writes: >>There is nothing fancy in the included small C programs. When compiled as >>"cc -o starnge strange.c" everything is OK. But when I tried it as >>"cc -O -o strange strange.c" than the Slab is gone - I mean totally gone. >>I would not even respond to the cmd-cmd-~ sequence. The only way to recover >>it is by UNPLUG/PLUG!!! >> I had a similar problem when I was upgrading my cube and was timing a few of my programs to see the improvement (see a later posting of mine). One of my programs hung the cube when run with the 040 chip. It had run alright with the 030 chip under 2.0. However the program, whether compiled under 1.0a or 2.0 crashed with the 040 chip. After reading this posting I tried turning off the optimization and it ran OK. The program was a modification of one I put on the purdue ftp machine. So BEWARE of Julia.tar.Z (in 1.0 sources). There is only one very special set of parameters I have found that will crash the cube running under 2.0 with an 040 chip; that is when xc=0, yc=0 and Iterates>11. _______________________________________________________________________ Will Gilbert, Pure Math Dept, University of Waterloo, Ontario, Canada wgilbert@math.UWaterloo.ca NeXT mail:wgilbert@fatou.UWaterloo.ca