This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/5359: G
- From: t at sources dot redhat dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 11 Jan 2002 05:19:40 -0000
- Subject: c++/5359: G
- Reply-to: t at sources dot redhat dot com
>Number: 5359
>Category: c++
>Synopsis: G
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Thu Jan 10 21:26:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: t
>Release: GCC 2.95.3-5 (cygwin special version)
>Organization:
>Environment:
Cygwin
>Description:
GCC 2.95.3-5 (cygwin special version) reports internal
compiler error when compile a code which instanceates some
template class that contains "friend".
Maybe it's only the cygwin special version's case, since
other versions of gcc (2.96, egcs-2.91.66) for Linux can
compile it well.
>How-To-Repeat:
Invoke the following command:
g++ bug.cc
where bug.cc is the file attached above.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bug.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.cc"
Y2xhc3MgQQp7CiAgcHVibGljOgogICAgdm9pZCBmKCkge30KfTsKCnRlbXBsYXRlIDxjbGFzcyBY
PiBjbGFzcyBDCnsKICAgIGZyaWVuZCB2b2lkIEE6OmYoKTsKfTsKCmludCBtYWluKCkKewogICAg
QzxpbnQ+IGE7CiAgICByZXR1cm4gMDsKfQo=