This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/5333: ICE on nested template classes using other nested template classes
- From: gollerjo at cis dot uni-muenchen dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 9 Jan 2002 12:33:24 -0000
- Subject: c++/5333: ICE on nested template classes using other nested template classes
- Reply-to: gollerjo at cis dot uni-muenchen dot de
>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