This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
abort in g++ in egcs 971122
- To: egcs at cygnus dot com
- Subject: abort in g++ in egcs 971122
- From: scott snyder <snyder at d0sgif dot fnal dot gov>
- Date: Mon, 24 Nov 1997 19:41:16 -0600 (CST)
hi -
egcs 971122 aborts on the following C++ input
(on a mips-sgi-irix5.3 platform.)
-- foo.cc ---------------------------------------------------------------------
template <class T>
struct list {typedef T* iterator; };
template <class Elt>
class Queue
{
public:
void remove_elt ();
};
template <class Elt>
struct Queue_Impl
{
typedef std::list<Elt> List_Type;
};
template <class Elt>
void Queue<Elt>::remove_elt ()
{
Queue_Impl<Elt>::List_Type::iterator i;
}
-------------------------------------------------------------------------------
% cc1plus foo.cc
void Queue<Elt>::remove_elt()
foo.cc:23: Internal compiler error 90.
foo.cc:23: Please submit a full bug report to `egcs-bugs@cygnus.com'.
thanks,
sss