public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/5213: ICE on (possibly) illegal code
@ 2001-12-28 14:16 pcarlini
0 siblings, 0 replies; 4+ messages in thread
From: pcarlini @ 2001-12-28 14:16 UTC (permalink / raw)
To: gcc-gnats; +Cc: fabiosmoker
>Number: 5213
>Category: c++
>Synopsis: ICE on (possibly) illegal code
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Fri Dec 28 14:16:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Paolo Carlini
>Release: 3.0.3, 3.1 20011228 (experimental)
>Organization:
>Environment:
i686, Linux2.4.16, glibc2.2.4
>Description:
This short snippet:
template <class T>
class vector { };
class OUTER {
public:
template <class T>
class List { };
vector<class List> data;
};
triggers an ICE:
bug.cc:4: internal error: Segmentation fault
>How-To-Repeat:
No ICE but:
bug.cc:7: `struct list' redeclared as different kind of symbol
bug.cc:5: previous declaration of `template<class T> class list'
for (e.g. no enclosing class):
template <class T>
class vector { };
template <class T>
class List { };
vector<class List> data;
Also, the new parser ICEs on the first testcase, compiles
with errors the latter. Other compilers manage to deal
without errors with both of them.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/5213: ICE on (possibly) illegal code
@ 2002-01-02 4:50 nathan
0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2002-01-02 4:50 UTC (permalink / raw)
To: fabiosmoker, gcc-bugs, gcc-prs, nathan, pcarlini
Synopsis: ICE on (possibly) illegal code
State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Wed Jan 2 04:50:57 2002
State-Changed-Why:
2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
PR c++/5213
* pt.c (convert_template_argument): Be more careful determining
when RECORD_TYPE templates are or are not templates.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5213
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/5213: ICE on (possibly) illegal code
@ 2001-12-29 7:25 nathan
0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2001-12-29 7:25 UTC (permalink / raw)
To: fabiosmoker, gcc-bugs, gcc-prs, nathan, nobody, pcarlini
Synopsis: ICE on (possibly) illegal code
Responsible-Changed-From-To: unassigned->nathan
Responsible-Changed-By: nathan
Responsible-Changed-When: Sat Dec 29 07:25:34 2001
Responsible-Changed-Why:
patch in progress
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5213
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/5213: ICE on (possibly) illegal code
@ 2001-12-29 3:39 nathan
0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2001-12-29 3:39 UTC (permalink / raw)
To: fabiosmoker, gcc-bugs, gcc-prs, nobody, pcarlini
Synopsis: ICE on (possibly) illegal code
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Sat Dec 29 03:39:48 2001
State-Changed-Why:
confirmed
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5213
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-01-02 12:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-28 14:16 c++/5213: ICE on (possibly) illegal code pcarlini
2001-12-29 3:39 nathan
2001-12-29 7:25 nathan
2002-01-02 4:50 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).