From mboxrd@z Thu Jan 1 00:00:00 1970 From: Garth_Dickie@avid.com To: gcc-gnats@gcc.gnu.org Subject: c++/3138: Internal Error 56 on nasty (legal) template stuff Date: Tue, 12 Jun 2001 09:36:00 -0000 Message-id: <20010612162709.2047.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg00482.html List-Id: >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: