public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/6659: segfault if constructor of a nested template class is decalared with a return argument
@ 2002-05-15  6:35 lerdsuwa
  0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2002-05-15  6:35 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, santugi

Synopsis: segfault if constructor of a nested template class is decalared with a return argument

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Wed May 15 06:35:51 2002
State-Changed-Why:
    Confirmed as a bug.

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


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

* Re: c++/6659: segfault if constructor of a nested template class is decalared with a return argument
@ 2003-01-22 22:14 bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-01-22 22:14 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, santugi

Synopsis: segfault if constructor of a nested template class is decalared with a return argument

State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Wed Jan 22 22:14:55 2003
State-Changed-Why:
    Fixed with new parser.

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


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

* c++/6659: segfault if constructor of a nested template class is decalared with a return argument
@ 2002-05-14 11:36 santugi
  0 siblings, 0 replies; 3+ messages in thread
From: santugi @ 2002-05-14 11:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6659
>Category:       c++
>Synopsis:       segfault if constructor of a nested template class is decalared with a return argument
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 14 11:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     santugi@dptmaths.ens-cachan.fr
>Release:        unknown-1.0
>Organization:
>Environment:
Freebsd 4.5
>Description:
If a template class contains a nested class. The illegal declaration of a 
constructor of the latter can cause a segfault if the constructor is said 
to have a return value.
>How-To-Repeat:
compile the following with option -c

template<class T>
class A{
  T a;
  class B{
      T b;
  };
};

template<class T>
A<T>::B& 
A<T>::B::B(const B& __B){} 
>Fix:

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


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

end of thread, other threads:[~2003-01-22 22:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-15  6:35 c++/6659: segfault if constructor of a nested template class is decalared with a return argument lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2003-01-22 22:14 bangerth
2002-05-14 11:36 santugi

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