This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/2353: template frient specification causes an internal compiler error
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/2353: template frient specification causes an internal compiler error
- From: john dot rusnak at mindspring dot com
- Date: 23 Mar 2001 04:19:15 -0000
- Reply-To: john dot rusnak at mindspring dot com
>Number: 2353
>Category: c++
>Synopsis: template frient specification causes an internal compiler error
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 22 20:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: John Rusnak
>Release: gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/specs
>Description:
Under specific cases, a template friend class declarations
can cause an internal compiler error
>How-To-Repeat:
Compile the attached file wit g++:
g++ -c test2.cpp
>Fix:
>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"
Cm5hbWVzcGFjZSB0ZXN0CnsKCnRlbXBsYXRlCjxjbGFzcyBUPgpjbGFzcyBUZXN0CnsKcHVibGlj
OgoKICB0ZW1wbGF0ZSA8Y2xhc3MgUGFyZW50PgogIGZyaWVuZCBjbGFzcyBUZXN0OwogIAoKfSA7
CgoKfQo=