Compiler bug in egcs-1.1

David Ronis ronis@onsager.chem.mcgill.ca
Thu Nov 12 06:07:00 GMT 1998


------------- Begin Forwarded Message -------------

From: David Ronis <ronis@onsager.chem.mcgill.ca>
Subject: Compiler bug in egcs-1.1
To: egcs-bugs@cygnus.com
Cc: ronis@onsager.chem.mcgill.ca
MIME-Version: 1.0


Here is a full (I hope) bug-report of what I posted to the egcs-bugs list.

I've been trying to compile dosemu-0.99.3.  I compile on an i586
running linux-2.0.35 and on an i486 running the same OS.  Both
machines run

	 gcc version egcs-2.91.57 19980901 (egcs-1.1 release)

The dosemu build was configured with the default options on both
machines.  The compilation fails when trying to build int.c (appended
below).  The command (with -save-temps added by me) used is:

gcc -save-temps -c -O2 -fomit-frame-pointer -m486 -malign-loops=2 
-malign-jumps=2 -malign-functions=2 -MD -pipe -DUSING_NET -Wall 
-I/home/ronis/dosemu-0.99.3/src/include 
-I/home/ronis/dosemu-0.99.3/src/dosext/dpmi 
-I/home/ronis/dosemu-0.99.3/src/include/slang -I/usr/X11R6/include -o int.o 
int.c

gcc: Warning: -pipe ignored since -save-temps specified
gcc: Internal compiler error: program cc1 got fatal signal 11

The crash is reproducible on both machines.  In addition, if I reduce the 
optimization to -O1 the problem disappears (again on both machines).

Both compressed int.c and int.i are attached.

I built an unmodified egcs, and although I no longer have the source files and
cannot tell you what configure options (I probably increased the optimization 
used in the final stage of the build) were used,  I did a full bootstrap 
install, including the compareison of stage2 and stage3 compilers.

David Ronis


------------- End Forwarded Message -------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: int.i.gz
Type: application/x-gzip
Size: 29187 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19981112/ad21c132/attachment.bin>


More information about the Gcc-bugs mailing list