[comp.sys.sun] Bug in Sun cc

jeremy@uunet.uu.net (Jeremy Levine) (02/16/90)

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