public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/5861: g++ 2.95.3 ice on instantiation of non-trivial class template
@ 2002-03-07  4:06 meinlschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: meinlschmidt @ 2002-03-07  4:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5861
>Category:       c++
>Synopsis:       g++ 2.95.3 ice on instantiation of non-trivial class template
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 07 04:06:01 PST 2002
>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: In instantiation of `Baz<Thud>':
g++-bug.C:15:   instantiated from here
g++-bug.C:6: Internal compiler error.
g++-bug.C:6: Please submit a full bug report.
g++-bug.C:6: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
// g++-bug.C

template<typename T> struct Foo {
  template<typename U> struct Bar {};
};

template<typename T> struct Baz {
  Foo<typename T::Grunt>::Bar<int> bar;  // Clunk!
};

struct Thud {
  class Grunt {};
};

main()
{
  Baz<Thud> baz;
}
>Fix:

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


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

* Re: c++/5861: g++ 2.95.3 ice on instantiation of non-trivial class template
@ 2002-03-07  5:44 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-03-07  5:44 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, meinlschmidt, nobody

Synopsis: g++ 2.95.3 ice on instantiation of non-trivial class template

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Thu Mar  7 05:44:32 2002
State-Changed-Why:
    Cannot reproduce problem with gcc 3.0.4 or
    gcc 3.1 (prerelease)

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


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

end of thread, other threads:[~2002-03-07 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-07  4:06 c++/5861: g++ 2.95.3 ice on instantiation of non-trivial class template meinlschmidt
2002-03-07  5:44 rodrigc

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