🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #13824

Bug in Sun cc

#13824
From: Jeremy Levine
Date: Fri, 16 Feb 1990 14:07
27 lines
925 bytes
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   
Technical Details
Message-ID: <5052@brazos.Rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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