public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7188: Segfault with template class and recursive (incorrect) initalizer list.
@ 2002-10-02 12:59 mmitchel
0 siblings, 0 replies; 4+ messages in thread
From: mmitchel @ 2002-10-02 12:59 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, mmitchel, nathan, nobody
Synopsis: Segfault with template class and recursive (incorrect) initalizer list.
Responsible-Changed-From-To: unassigned->mmitchel
Responsible-Changed-By: mmitchel
Responsible-Changed-When: Wed Oct 2 12:59:58 2002
Responsible-Changed-Why:
Working on a patch.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7188
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/7188: Segfault with template class and recursive (incorrect) initalizer list.
@ 2002-10-02 23:57 mmitchel
0 siblings, 0 replies; 4+ messages in thread
From: mmitchel @ 2002-10-02 23:57 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, mmitchel, nathan
Synopsis: Segfault with template class and recursive (incorrect) initalizer list.
State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Wed Oct 2 23:57:31 2002
State-Changed-Why:
Fixed in GCC 3.2.1.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7188
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/7188: Segfault with template class and recursive (incorrect) initalizer list.
@ 2002-09-14 13:45 nathan
0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2002-09-14 13:45 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nathan, nobody
Synopsis: Segfault with template class and recursive (incorrect) initalizer list.
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Sat Sep 14 13:45:27 2002
State-Changed-Why:
confirmed, regression
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7188
^ permalink raw reply [flat|nested] 4+ messages in thread
* c++/7188: Segfault with template class and recursive (incorrect) initalizer list.
@ 2002-07-02 20:36 nathan
0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2002-07-02 20:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 7188
>Category: c++
>Synopsis: Segfault with template class and recursive (incorrect) initalizer list.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 02 20:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: nathan@stitt.org
>Release: 3.1
>Organization:
>Environment:
Debian w both self compiled g++ v 3.1 and from unstable, vers. 3.1.1 20020606 (Debian prerelease)
>Description:
If a templated class is created, the initializer list is appently not checked for recursive initialization ( my guess anyway ). Code attached should never compile, and indead doesn't under g++ 2.95 and 3.0, however 3.1 segfaults while attempting compile. If template declaration from top of class is removed, segfault does not occur and appropriate error message is issued.
This is not a big deal to myself, as code is clearly very wrong. However since I was silly enough to accidently write it, I imagine that it's possible someone else will do the same at some point.
>How-To-Repeat:
attempt compile of attached code under g++ 3.1
>Fix:
Don't create brain dead code such as this :)
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="crash.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="crash.cc"
dGVtcGxhdGUgPGNsYXNzIFQgPgpjbGFzcyBmb28gCnsKcHVibGljOgoJZm9vKCkgOiBmb28oKQoJ
ewoKCX0KfTsKCmludAptYWluKGludCBhcmdjLCBjaGFyICoqYXJndil7Cglmb288aW50PiBiOwoJ
cmV0dXJuIDE7Cn0K
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-10-03 6:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-02 12:59 c++/7188: Segfault with template class and recursive (incorrect) initalizer list mmitchel
-- strict thread matches above, loose matches on Subject: below --
2002-10-02 23:57 mmitchel
2002-09-14 13:45 nathan
2002-07-02 20:36 nathan
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).