Article View: gnu.gcc.bug
Article #2245gcc 1.33 on Sun3/SunOS 4.0.1
From: Arnie Ostebee
Date: Sun, 05 Feb 1989 03:07
Date: Sun, 05 Feb 1989 03:07
21 lines
794 bytes
794 bytes
/*
* 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 );
}
Technical Details
Message-ID:
<8902050307.AA15560@troilus.stolaf.edu>Path:
arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!CIS.OHIO-STATE.EDU!ostebeeShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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