public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10547: class template definition causes internal compiler error
@ 2003-04-29 19:00 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-04-29 19:00 UTC (permalink / raw)
  To: bwood, gcc-bugs, gcc-prs, nobody

Synopsis: class template definition causes internal compiler error

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Tue Apr 29 19:00:56 2003
State-Changed-Why:
    Fixed since gcc 3.0. Time to upgrade your compiler.
    
    Wolfgang

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


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

* c++/10547: class template definition causes internal compiler error
@ 2003-04-29 18:06 bwood
  0 siblings, 0 replies; 2+ messages in thread
From: bwood @ 2003-04-29 18:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10547
>Category:       c++
>Synopsis:       class template definition causes internal compiler error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 29 18:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bob Wood (bwood@emc.com)
>Release:        gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
SunOS Release 5.8
>Description:
When the following file is compiled, an error results:
test.cpp:15: Internal compiler error.
test.cpp:15: Please submit a full bug report.

----

#1 "test.cpp"

template<class T> class c1 {
private:
  int x;
public:
  c1() { x = 0; }
};


class c2 {
private:
    int i;
public:
  c2() { printf ("c2::c2\n"); i = 0; }
  template<class R> class c1 : public std::c1;
};
>How-To-Repeat:
g++ test.cpp
>Fix:

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


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

end of thread, other threads:[~2003-04-29 19:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-29 19:00 c++/10547: class template definition causes internal compiler error bangerth
  -- strict thread matches above, loose matches on Subject: below --
2003-04-29 18:06 bwood

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