This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Internal compiler error
- From: Lars Hecking <lhecking at nmrc dot ie>
- Date: Mon, 28 Aug 2000 18:01:51 +0100
- Cc: Thomas Dickey <dickey at herndon4 dot his dot com>
gcc version 2.95.2 19991024 (release)
alphaev5-dec-osf4.0f (uname: OSF1 V4.0 1229 alpha alpha)
Compiler options: -O2 -fPIC
The problem appears when compiling tack in current releases of ncurses 5.1.
Can't say how long this problem has really existed, as I only started
using shared ncurses libs recently.
$ make
[...]
cd tack && make DESTDIR="" all
make[1]: Entering directory `/usr/var/tmp/ncurses-5.1/tack'
cd ../obj_s; gcc -DHAVE_CONFIG_H -I../tack -I. -DNDEBUG -I. -I../include -I/usr/local/ncurses/include -O2 -fPIC -c ../tack/pad.c
In file included from /usr/local/gnu/lib/gcc-lib/alphaev5-dec-osf4.0f/2.95.2/include/stdarg.h:36,
from ../include/curses.h:78,
from ../tack/tack.h:49,
from ../tack/pad.c:22:
/usr/local/gnu/lib/gcc-lib/alphaev5-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list'
/usr/local/gnu/lib/gcc-lib/alphaev5-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here
../tack/pad.c: In function `pad_home1':
../tack/pad.c:333: Internal compiler error in `int_mode_for_mode', at stor-layout.c:202
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
make[1]: *** [../obj_s/pad.o] Error 1
make[1]: Leaving directory `/usr/var/tmp/ncurses-5.1/tack'
make: *** [all] Error 2
$
I have attached the preprocessed output of the source file
(gcc -DHAVE_CONFIG_H -I../tack -I. -DNDEBUG -I. -I../include \
-I/usr/local/ncurses/include -O2 -fPIC -E ../tack/pad.c -o pad.i)
Thanks!
[I seem to have a lot more problems with gcc on this platform, esp.
with C++. Would it be worth upgrading to a newer-than-2.95.2
snapshot/cvs version?]
pad.i.gz