Bug of complex.h ??

WeiCheng (Leon) Wang leon@gingi.uchicago.edu
Tue May 25 15:36:00 GMT 1999


Hi,
  I am not sure if this is a bug of the libstdc++2.90.5 for complex.h
while I am rebuilding it on an alphaev56-dec-osf4.0d machine with
existed egcs-2.91.66 (egcs1.1.2) c++ complier and old libstdc++2.90.0.
The error messages are list as below :

Making all in src
gmake[2]: Entering directory
`/home/leon/dnload/CYGNUS/libstdc++-2.90.5/src'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I..
-nostdinc++ -I.. -I../stl -I../libio     -g -D_GNU_SOURCE
-fno-implicit-templates  -c complex.cc
rm -f .libs/complex.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -nostdinc++ -I.. -I../stl -I../libio -g
-D_GNU_SOURCE -fno-implicit-templates -c  -DPIC complex.cc -o
.libs/complex.lo
/home/leon/dnload/CYGNUS/egcs-1.1.2/gcc/emit-rtl.c:989: Internal
compiler error in function gen_lowpart
gmake[2]: *** [complex.lo] Error 1
gmake[2]: Leaving directory
`/home/leon/dnload/CYGNUS/libstdc++-2.90.5/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/leon/dnload/CYGNUS/libstdc++-2.90.5'
gmake: *** [all-recursive-am] Error 2

=================================================================================================

So, I tried to regenerate the more detail error messages by following
the bug report instructions and attach the complex.ii with this email:

78 Gingi/home/leon/dnload/CYGNUS/libstdc++-2.90.5/src>c++ -v
--save-temps -DHAVE_CONFIG_H -I. -I. -I.. -nostdinc++ -I.. -I../stl
-I../libio -g -D_GNU_SOURCE -fno-implicit-templates -c -DPIC complex.cc
-o .libs/complex.lo
Reading specs from
/home/leon/lib/gcc-lib/alphaev56-dec-osf4.0d/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
 /home/leon/lib/gcc-lib/alphaev56-dec-osf4.0d/egcs-2.91.66/cpp -lang-c++
-nostdinc++ -v -I. -I. -I.. -I.. -I../stl -I../libio -undef -D__GNUC__=2
-D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -Dunix -D__osf__
-D_LONGLONG -DSYSTYPE_BSD -D_SYSTYPE_BSD -D__unix__ -D__osf__
-D_LONGLONG -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__unix -D__SYSTYPE_BSD
-Asystem(unix) -Asystem(xpg4) -D__EXCEPTIONS -g
-D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS -D__cplusplus
-Acpu(alpha) -Amachine(alpha) -D__alpha -D__alpha__ -D__alpha_ev5__
-Acpu(ev5) -D__alpha_bwx__ -Acpu(bwx) -DHAVE_CONFIG_H -D_GNU_SOURCE
-DPIC complex.cc complex.ii
GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2 release)
#include "..." search starts here:
#include <...> search starts here:
 .
 ..
 ../stl
 ../libio
 /usr/local/include
 /home/leon/alphaev56-dec-osf4.0d/include
 /home/leon/lib/gcc-lib/alphaev56-dec-osf4.0d/egcs-2.91.66/include
 /usr/include
End of search list.
 /home/leon/lib/gcc-lib/alphaev56-dec-osf4.0d/egcs-2.91.66/cc1plus
complex.ii -quiet -dumpbase complex.cc -g -version
-fno-implicit-templates -o complex.s
GNU C++ version egcs-2.91.66 19990314 (egcs-1.1.2 release)
(alphaev56-dec-osf4.0d) compiled by GNU C version egcs-2.91.66 19990314
(egcs-1.1.2 release).
/home/leon/dnload/CYGNUS/egcs-1.1.2/gcc/emit-rtl.c:989: Internal
compiler error in function gen_lowpart


-- Loen
================================================================================
wangwei@charlie.cns.iit.edu                             leon@gingi.uchicago.edu
wangwei@delta.csam.iit.edu                              leon@purgur.uchicago.edu
Computer Image/Graphics Lab                             EM Image Lab
Illinois Institute Of Technology                        University of Chicago
================================================================================




More information about the Gcc-bugs mailing list