public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3863: ICE when compiling supplied code.
@ 2001-07-28 19:06 jching
  0 siblings, 0 replies; only message in thread
From: jching @ 2001-07-28 19:06 UTC (permalink / raw)
  To: gcc-gnats

>Number:         3863
>Category:       c++
>Synopsis:       ICE when compiling supplied code.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 28 19:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     self
>Release:        gcc 2.95.2 and 3.0.1 (prerel)
>Organization:
>Environment:
Debian/Linux 2.2
>Description:
template<class T>
class some_class
	{
public:
	typedef T data_type;
	typedef typename data_type::list_type<data_type *> data_list;
	};

template<class T>
struct base_class
	{
	typedef some_class<T> some_type;
	typedef typename some_type::data_list data_list;
	};

template<class T>
class derived_class : public base_class<T>
	{
	typedef base_class<T>::data_list data_list;
#ifdef CONFORM
	typedef typename data_list::iterator iterator;
#else
	typedef data_list::iterator iterator;
#endif
	};

int
main()
	{
	}

>How-To-Repeat:
g++ filename.cc
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

only message in thread, other threads:[~2001-07-28 19:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-28 19:06 c++/3863: ICE when compiling supplied code jching

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).