Bug of complex.h ??

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

  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
/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
/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
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
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__
-Asystem(unix) -Asystem(xpg4) -D__EXCEPTIONS -g
-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:
End of search list.
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