This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Compiler bug in egcs-1.1



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 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 problem is reproducible on both machines.  In addition, if I reduce the 
optimization to -O1 the problem disappears (again onn 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 were used,  I did a full bootstrap 
install, including the compareison of stage2 and stage3 compilers.

David Ronis

int.c.gz

int.i.gz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]