This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
cc 2.95.2 crashes on legal code ...
- To: gcc-bugs at gcc dot gnu dot org
- Subject: cc 2.95.2 crashes on legal code ...
- From: Andre Mueller <andre at promediasystems dot de>
- Date: Fri, 18 May 2001 18:07:39 +0200
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