This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ICE in libstdc++-v3 std_complex.h


I just downloaded and installed the latest libstdc++ from CVS,
and get an ICE from a simple program.  Details follow.
(If you need CPP-ed source, i'll leave it here for some time,
http://www.matfys.lth.se/~petter/bugs/ice-1.ii.bz2)

Cheers,
Petter.


------------$ uname -a
Linux katsumoto.matfys.lth.se 2.2.5-22 #1 Wed Jun 2 09:02:27 EDT 1999
i586 unknown

------------$ c++ -v
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.1/specs
gcc version 2.95.1 19990809 (prerelease)

------------$ c++ -c -I/usr/local/lib3/include/g++-v3 ice-1.cc
/usr/local/lib3/include/g++-v3/bits/std_complex.h: In method `class
complex<float> & complex<float>::operator *=<float>(const complex<float>
&)':
/usr/local/lib3/include/g++-v3/bits/std_complex.h:834:   instantiated
from `operator *<float>(const complex<float> &, const complex<float> &)'
ice-1.cc:5:   instantiated from here
/usr/local/lib3/include/g++-v3/bits/std_complex.h:539: Internal compiler
error.
/usr/local/lib3/include/g++-v3/bits/std_complex.h:539: Please submit a
full bug report.
/usr/local/lib3/include/g++-v3/bits/std_complex.h:539: See
<URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for
instructions.

------------$ cat ice-1.cc
#include <complex>

int main() {
    std::complex<float> x, y, z;
    z = x*y;
    return 0;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]