This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/1806: Internal compiler error for template friend in namespace
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/1806: Internal compiler error for template friend in namespace
- From: jody at atdesk dot com
- Date: 29 Jan 2001 22:53:44 -0000
- Reply-To: jody at atdesk dot com
>Number: 1806
>Category: c++
>Synopsis: Internal compiler error for template friend in namespace
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 29 14:56:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Jody Hagins
>Release: unknown-1.0
>Organization:
>Environment:
Red Hat Linux release 6.1 (Cartman)
gcc version 2.95.2 19991024 (release)
>Description:
The following 7 line snippet produces a compiler error...
namespace Blarg
{
template <class T> class Foo
{
template <class U> friend class Foo;
};
}
>How-To-Repeat:
Take the 7 lines from the Description and compile to see the internal compiler error.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: