public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* abort in g++ in egcs 971122
@ 1997-11-24 21:47 scott snyder
  0 siblings, 0 replies; only message in thread
From: scott snyder @ 1997-11-24 21:47 UTC (permalink / raw)
  To: egcs

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-11-24 21:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-24 21:47 abort in g++ in egcs 971122 scott snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).