This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/3138: Internal Error 56 on nasty (legal) template stuff
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/3138: Internal Error 56 on nasty (legal) template stuff
- From: Garth_Dickie at avid dot com
- Date: 12 Jun 2001 16:27:09 -0000
- Reply-To: Garth_Dickie at avid dot com
>Number: 3138
>Category: c++
>Synopsis: Internal Error 56 on nasty (legal) template stuff
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Tue Jun 12 09:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Garth A. Dickie
>Release: 2.95.3 19991030 (prerelease)
>Organization:
>Environment:
Mandrake 7.2
>Description:
Internal compiler error on legal, nasty, template code.
It appears irreducible from the example below.
>How-To-Repeat:
# 1 "internalCompilerError.cpp"
typedef void ( * F )( );
template< class T >
struct A
{
static F sF;
};
struct B
{
template< class T >
static void f( );
};
template< class T >
F A< T >::sF = B::f< T >;
F gF = A< int >::sF;
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: