public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5161: g++ 2.95.3 ice on derived member class of a template class
@ 2002-03-16  4:21 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-03-16  4:21 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, meinlschmidt, nobody

Synopsis: g++ 2.95.3 ice on derived member class of a template class

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Mar 16 04:21:06 2002
State-Changed-Why:
    gcc 3.0.4 does not ICE.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5161


^ permalink raw reply	[flat|nested] 2+ messages in thread

* c++/5161: g++ 2.95.3 ice on derived member class of a template class
@ 2001-12-19  5:36 meinlschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: meinlschmidt @ 2001-12-19  5:36 UTC (permalink / raw)
  To: gcc-gnats

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]


>Number:         5161
>Category:       c++
>Synopsis:       g++ 2.95.3 ice on derived member class of a template class
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 19 05:36:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     meinlschmidt@informatik.uni-erlangen.de
>Release:        gcc version 2.95.3 20010315 (SuSE)
>Organization:
>Environment:
vanilla SuSE 7.2 Linux on x86
>Description:
g++-bug.C:12: Internal compiler error.
g++-bug.C:12: Please submit a full bug report.
g++-bug.C:12: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
// g++-bug.C

class Base {};

template<typename T>
class Outer {
  class Derived;
};

template<typename T>
class Outer<T>::Derived:public Base
{ // <--- *clunk*
};

// now say ``g++ g++-bug.C´´
>Fix:
Workaround:
Move the member class out of Outer:

template<typename T> class Workaround:public Base {};
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-16 12:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-16  4:21 c++/5161: g++ 2.95.3 ice on derived member class of a template class rodrigc
  -- strict thread matches above, loose matches on Subject: below --
2001-12-19  5:36 meinlschmidt

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