cc 2.95.2 crashes on legal code ...

Andre Mueller andre@promediasystems.de
Fri May 18 09:08:00 GMT 2001


Hi!

The gcc version:

> gcc -v
/usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)

Gcc crashes on line 54 in tst.cpp:

opt =
min_element(data.begin(),data.end(),std::binder1st(LNorm<Vector,float>(2.0),v));

with the following command / output:

> g++ tst.cpp
tst.cpp: In function `int main(int, char **)':
tst.cpp:54: Internal compiler error.
tst.cpp:54: Please submit a full bug report.
tst.cpp:54: See <URL: http://www.gnu.org/software/gcc/bugs.html > for
instructions.

I think the problem is the binder1st() command.

greetings

Andre Mueller
Sudetenstrasse 11/1
D-89233 Neu-Ulm
University Ulm
andre.mueller@informatik.uni-ulm.de
bug001.tar.gz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug001.tar.gz
Type: application/x-gzip
Size: 47814 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20010518/a247babc/attachment.bin>


More information about the Gcc-bugs mailing list