This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: TESTCASE: STL's equal: Internal compiler error.
- To: egcs-bugs at cygnus dot com
- Subject: Re: TESTCASE: STL's equal: Internal compiler error.
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Tue, 29 Sep 1998 00:56:52 +0200 (MET DST)
- cc: Stefan Eggers <seggers at semyam dot dinoco dot de>
On Tue, 26 May 1998, Gerald Pfeifer wrote:
> I found that Stefan's problem still exists with egcs-2.91.33 19980526.
>
> /sw/swtest/egcs/include/g++/stl_algobase.h: In function `bool equal
> <int*, int *, equal_to<T>>(int *, int *, int *, struct equal_to<T>)':
> y.cc:13: instantiated from `A<int>::operator ==<int>(const A<int> &)
> const'
> y.cc:20: instantiated from here
> /sw/swtest/egcs/include/g++/stl_algobase.h:333: Internal compiler error.
>
> Can someone please add this to the testsuite?
For what it's worth, this has been fixed for egcs 1.1, which says
x.cc: In method `bool A<T>::operator ==(const class A<T> &) const':
x.cc:13: use of class template `template <class T> equal_to<T>' as
expression
instead.
Gerald
--
Due to server problems, SOME OF MY INBOUND MAIL DID NOT REACH ME; please
resend if you believe that this happened to some of your mails.
Gerald <pfeifer@dbai.tuwien.ac.at> http://www.dbai.tuwien.ac.at/~pfeifer/