public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/6256: Seg fault for template friends in namespaces, regression from 2.95
@ 2002-04-11  8:46 wolfgang.bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: wolfgang.bangerth @ 2002-04-11  8:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6256
>Category:       c++
>Synopsis:       Seg fault for template friends in namespaces, regression from 2.95
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 11 08:46:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Wolfgang Bangerth
>Release:        regression from 2.95, occurs in 3.0.4, last week's snapshots for 3.1 and 3.2
>Organization:
>Environment:
Linux, Sun
>Description:
The following snippet brings gcc to seg fault:

---------------------------------------------------
namespace NS {  template <typename number> class C;  };

template <typename T> class X {
    template <typename N> friend class NS::C;
};

template class X<int>;

>How-To-Repeat:
c++ -c x.cc
>Fix:

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


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

* Re: c++/6256: Seg fault for template friends in namespaces, regression from 2.95
@ 2002-04-23  1:43 mmitchel
  0 siblings, 0 replies; 3+ messages in thread
From: mmitchel @ 2002-04-23  1:43 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mmitchel, wolfgang.bangerth

Synopsis: Seg fault for template friends in namespaces, regression from 2.95

State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Tue Apr 23 01:43:34 2002
State-Changed-Why:
    Fixed in GCC 3.1.

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


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

* Re: c++/6256: Seg fault for template friends in namespaces, regression from 2.95
@ 2002-04-22 12:57 mmitchel
  0 siblings, 0 replies; 3+ messages in thread
From: mmitchel @ 2002-04-22 12:57 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mmitchel, nobody, wolfgang.bangerth

Synopsis: Seg fault for template friends in namespaces, regression from 2.95

Responsible-Changed-From-To: unassigned->mmitchel
Responsible-Changed-By: mmitchel
Responsible-Changed-When: Mon Apr 22 12:57:30 2002
Responsible-Changed-Why:
    Working on a fix.
State-Changed-From-To: open->analyzed
State-Changed-By: mmitchel
State-Changed-When: Mon Apr 22 12:57:30 2002
State-Changed-Why:
    Confirmed as a regression.

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


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

end of thread, other threads:[~2002-04-23  8:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-11  8:46 c++/6256: Seg fault for template friends in namespaces, regression from 2.95 wolfgang.bangerth
2002-04-22 12:57 mmitchel
2002-04-23  1:43 mmitchel

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