This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc 3.0 bug report
- To: gcc-bugs at gcc dot gnu dot org
- Subject: gcc 3.0 bug report
- From: "Les J. Wu" <les dot j dot wu at lucent dot com>
- Date: Mon, 23 Jul 2001 19:24:20 -0400
- Cc: "Les J. Wu" <snafu at emailbox dot hdtv dot lucent dot com>
- Organization: Bell Laboratories Advanced Technology
- Original-CC: "Les J. Wu" <snafu@emailbox.hdtv.lucent.com>
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
Script started on Sun Jul 22 14:06:50 2001
soul:ker2> . badcompile
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
/app/gnu/sun5/lib/gcc-lib/sparc-sun-solaris2.5.1/3.0/cpp0 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=0 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem=unix -Asystem=svr4 -D__CHAR_UNSIGNED__ -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc -Usun -DSVR4 -DSOLARIS -DSTERMIOX -DSELECT -DFNFLOAT -DCK_CURSES -DCK_NEWTERM -DDIRENT -DHDBUUCP -DTCPSOCKET -DSOLARIS25 -DKTARGET="solaris25g" ckuus3.c ckuus3.i
GNU CPP version 3.0 (cpplib) (sparc)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/app/gnu/sun5/lib/gcc-lib/sparc-sun-solaris2.5.1/3.0/include
/app/gnu/sun5/sparc-sun-solaris2.5.1/include
/usr/include
End of search list.
/app/gnu/sun5/lib/gcc-lib/sparc-sun-solaris2.5.1/3.0/cc1 -fpreprocessed ckuus3.i -quiet -dumpbase ckuus3.c -g -O -version -funsigned-char -o ckuus3.s
GNU CPP version 3.0 (cpplib) (sparc)
GNU C version 3.0 (sparc-sun-solaris2.5.1)
compiled by GNU C version 3.0.
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.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
soul:ker2> ^D
script done on Sun Jul 22 14:07:09 2001