Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request From: ppgbms!jeremy@uunet.uu.net (Jeremy Levine) Newsgroups: comp.sys.sun Subject: Bug in Sun cc Keywords: SunOS Message-ID: <5052@brazos.Rice.edu> Date: 16 Feb 90 14:07:24 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 27 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 43, message 4 I have a very small program which causes cc -O2 on sun 3/50 and 3/60's to bomb. /** This program bombs /usr/bin/cc -O2 SUN 3/50 3/60 4.0 cc -O2 oops.c cc: Fatal error in iropt: Segmentation fault But -O -O3 -O4 all work ****/ main() { int i ; i=0; i=i; printf("%d \n",i); } /* Jeremy D. Levine | {uunet, decvax }!ppgbms!jeremy * Amarex Technology Inc. | or try levine@sunybcs */ 909 Third Ave NY NY 10022 | decvax!sunybcs!levine