Path: utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!CIS.OHIO-STATE.EDU!ostebee From: ostebee@CIS.OHIO-STATE.EDU (Arnie Ostebee) Newsgroups: gnu.gcc.bug Subject: gcc 1.33 on Sun3/SunOS 4.0.1 Message-ID: <8902050307.AA15560@troilus.stolaf.edu> Date: 5 Feb 89 03:07:06 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 21 /* * The following program causes gcc version 1.33 to generate a fatal * signal when run on a Sun-3/SunOS 4.0.1. The problem only occurs * when the variable "x" in the program below is external to the * function. * * REPEAT BY: Compile using the command gcc -O -c file.c * */ int x; int bug() { int y; if( (1 - x) > 0 ){ y = 1; } return( y ); }