gcc 3.0 bug report

Les J. Wu les.j.wu@lucent.com
Mon Jul 23 16:24:00 GMT 2001


The GCC version (not just 3.xx; run gcc -v) 

> Reading specs from /app/gnu/sun5/lib/gcc-lib/sparc-sun-solaris2.5.1/3.0/specs
> Configured with: ../gcc-3.0/configure --prefix=/app/gnu/sun5
> Thread model: posix
> gcc version 3.0

The system type (the dir name after gcc-lib in the output of gcc -v 
> sparc-sun-solaris2.5.1

The complete command line that triggers the bug 
> gcc3 -v -save-temps -g -O -Usun -DSVR4 -DSOLARIS -DSTERMIOX -DSELECT -DFNFLOAT -DCK_CURSES -DCK_NEWTERM -DDIRENT -DHDBUUCP -DTCPSOCKET -funsigned-char -DSOLARIS25 -DKTARGET=\"solaris25g\" -c ckuus3.c

The compiler output (error messages, warnings, etc) 
> ckuus3.c: In function `dosexp':
> ckuus3.c:3967: Internal compiler error in change_address, at emit-rtl.c:1635
> Please submit a full bug report,
> with preprocessed source if appropriate.

The preprocessed file (*.i*) that triggers the bug, generated by adding
-save-temps to the complete compilation command (see below) 

The code is attached as ckuus3.i.gz. (Originally from C-Kermit Alpha
v200). The command string is in "badcompile" and the session log is in
"typescript". It is interesting to note that a "gcc -c" of the .i file
appears to compile OK. The gcc with all of the options in "badcompile"
generates the same error.

The options given when GCC was configured/built 
 None. Only a prefix option as indicated in the version
-- 
------------------------------------------------------------------------
Les J. Wu
Lucent Technologies-Bell Laboratories     Tel: (908) 582-4964
600 Mountain Ave. Room 2f-205             Fax: (908) 582-3662
Murray Hill, NJ 07974                     email: les.j.wu@lucent.com
------------------------------------------------------------------------
ckuus3.i.gz
gcc3 -v -save-temps -g -O -Usun -DSVR4 -DSOLARIS -DSTERMIOX -DSELECT -DFNFLOAT -DCK_CURSES -DCK_NEWTERM -DDIRENT -DHDBUUCP -DTCPSOCKET -funsigned-char -DSOLARIS25 -DKTARGET=\"solaris25g\" -c ckuus3.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ckuus3.i.gz
Type: application/x-gzip
Size: 55524 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20010723/a7679f08/attachment.bin>


More information about the Gcc-bugs mailing list