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]

cc 2.95.2 crashes on legal code ...


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


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