From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15791 invoked by alias); 15 Apr 2003 11:36:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 15770 invoked by uid 71); 15 Apr 2003 11:36:00 -0000 Resent-Date: 15 Apr 2003 11:36:00 -0000 Resent-Message-ID: <20030415113600.15769.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, fkaufman@ee.ethz.ch Resent-Reply-To: gcc-gnats@gcc.gnu.org, sensorflo@bigfoot.com Received: (qmail 12941 invoked by uid 48); 15 Apr 2003 11:31:48 -0000 Message-Id: <20030415113148.12940.qmail@sources.redhat.com> Date: Tue, 15 Apr 2003 11:36:00 -0000 From: sensorflo@bigfoot.com Reply-To: sensorflo@bigfoot.com To: gcc-gnats@gcc.gnu.org Cc: fkaufman@ee.ethz.ch X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: fkaufman@ee.ethz.ch Subject: c++/10410: Internal compiler error 56. X-SW-Source: 2003-04/txt/msg00670.txt.bz2 List-Id: >Number: 10410 >Category: c++ >Synopsis: Internal compiler error 56. >Confidential: no >Severity: serious >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Apr 15 11:36:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: sensorflo@bigfoot.com >Release: gcc version 2.95.3 20010315 (SuSE)n 2.95.3 20010315 (SuSE) >Organization: >Environment: >Description: Complining the code, with no command line arguments, the compiler comes up with the following: fkaufman@pc-3637:~/src/emulator/emulator> gcc gccbug.cpp gccbug.cpp:17: Internal compiler error 56. gccbug.cpp:17: Please submit a full bug report. gccbug.cpp:17: See for instructions. The attached code is quite small, there is not more to say to this problem. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/plain; name="gccbug.cpp" Content-Disposition: inline; filename="gccbug.cpp" template class CBaseTemplate { public: template int Foo() { return i; } }; typedef CBaseTemplate CBase; template class CBaseTemplate; class CMyClass : public CBase { }; typedef int (CMyClass::*TFuncPtr)(); TFuncPtr ptr = CBase::Foo<3>; /* version check ------------- fkaufman@pc-3637:~/src/emulator/emulator> gcc -v Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs gcc version 2.95.3 20010315 (SuSE)n 2.95.3 20010315 (SuSE) compiler output ---------------- fkaufman@pc-3637:~/src/emulator/emulator> gcc gccbug.cpp gccbug.cpp:17: Internal compiler error 56. gccbug.cpp:17: Please submit a full bug report. gccbug.cpp:17: See for instructions. l*/