Article View: gnu.gcc.bug
Article #253compiler error
From: Michael Schoene (5314)
Date: Wed, 08 Apr 1992 13:47
Date: Wed, 08 Apr 1992 13:47
32 lines
1405 bytes
1405 bytes
The following program crash's the compiler:
---------------------------------
int
main()
{
int tmp;
double l10;
l10 = 0.9;
tmp = (l10 >= 0.0) ? (int) l10 : ((int) l10 - 1);
return 0;
}
--------------------------------
gcc -v test.c
Reading specs from /usr/extras/GNU/lib/gcc-lib/sun4/2.1/specs
gcc version 2.1
/usr/extras/GNU/lib/gcc-lib/sun4/2.1/cpp -lang-c -v -undef -D__GNUC__=2 -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix test.c /usr/tmp/cca08610.i
GNU CPP version 2.1 (sparc)
/usr/extras/GNU/lib/gcc-lib/sun4/2.1/cc1 /usr/tmp/cca08610.i -quiet -dumpbase test.c -version -o /usr/tmp/cca08610.s
GNU C version 2.1 (sparc) compiled by GNU C version 2.1.
gcc: Internal compiler error: program cc1 got fatal signal 11
Michael Schoene
Department of Biophysics
Division of Biocybernetics
Heinrich-Heine-Universitaet Duesseldorf, Germany
Technical Details
Message-ID:
<9204080947.AA03615@biokyb.uni-duesseldorf.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!biokyb.uni-duesseldorf.DE!michaelShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!biokyb.uni-duesseldorf.DE!michael From: michael@biokyb.uni-duesseldorf.DE (Michael Schoene (5314)) Subject: compiler error Message-ID: <9204080947.AA03615@biokyb.uni-duesseldorf.de> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 8 Apr 1992 13:47:48 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 33