[gnu.gcc.bug] gcc 1.33 on Sun3/SunOS 4.0.1

ostebee@CIS.OHIO-STATE.EDU (Arnie Ostebee) (02/05/89)

/*
 *    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 );
}