🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Michael Schoene (5314) Wed, 08 Apr 1992 13:47
compiler error
#253
Author: Michael Schoene (5314)
Date: Wed, 08 Apr 1992 13:47
32 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads