public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5333: ICE on nested template classes using other nested template classes
@ 2002-05-19 4:37 lerdsuwa
0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2002-05-19 4:37 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, gollerjo, nobody
Synopsis: ICE on nested template classes using other nested template classes
State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Sun May 19 04:37:55 2002
State-Changed-Why:
Confirmed as a bug. Present in both 3.1 branch and main
trunk. The code is illegal. The declaration of '_a' inside
'B' should be
typename A<U,SubB1>::template SubA<SubB2> _a;
Also, inside class 'SubB1', it cannot contain an instance of
'B'.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5333
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/5333: ICE on nested template classes using other nested template classes
@ 2002-01-09 4:36 gollerjo
0 siblings, 0 replies; 2+ messages in thread
From: gollerjo @ 2002-01-09 4:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 5333
>Category: c++
>Synopsis: ICE on nested template classes using other nested template classes
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Wed Jan 09 04:36:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Johannes Goller
>Release: gcc version 3.0.2 20010917 (prerelease)
>Organization:
>Environment:
SuSE Linux 7.3 on a Pentium-III
>Description:
GCC gives an ICE when trying to compile the attached .cpp file.
The exact error messsage is:
test.cpp: In instantiation of `B<char>':
test.cpp:29: instantiated from here
test.cpp:16: Internal error: Speicherzugriffsfehler
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
g++ -o test test.cpp
>Fix:
found none
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test2.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test2.cpp"
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnRlbXBsYXRlIDxjbGFz
cyBUMSwgY2xhc3MgVDI+CmNsYXNzIEEgewogIHRlbXBsYXRlIDxjbGFzcyBTPgogIGNsYXNzIFN1
YkEgewogICAgaW50IF9rOwogIH07CiAgVDEgX3QxOwogIFQyIF90MjsKfTsKCnRlbXBsYXRlIDxj
bGFzcyBVPgpjbGFzcyBCIHsKICBjbGFzcyBTdWJCMSB7CiAgICBCIF9pOwogIH07CgogIGNsYXNz
IFN1YkIyIHsKICAgIGludCBfajsKICB9OwogIEE8VSxTdWJCMT46OlN1YkE8U3ViQjI+IF9hOwp9
OwoKCmludCBtYWluKCkgewogIEI8Y2hhcj4gb2JqQjsKCiAgY291dCA8PCAiRG9uZS4iIDw8IGVu
ZGw7CiAgcmV0dXJuIDA7Cn0K
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-19 11:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-19 4:37 c++/5333: ICE on nested template classes using other nested template classes lerdsuwa
-- strict thread matches above, loose matches on Subject: below --
2002-01-09 4:36 gollerjo
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).