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]

Re: TESTCASE: STL's equal: Internal compiler error.


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/



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