c++/10410: Internal compiler error 56.
sensorflo@bigfoot.com
sensorflo@bigfoot.com
Tue Apr 15 11:36:00 GMT 2003
>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 <URL:http://www.gnu.org/software/gcc/bugs.html> 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 T>
class CBaseTemplate
{
public:
template<int i> int Foo() { return i; }
};
typedef CBaseTemplate<int> CBase;
template class CBaseTemplate<int>;
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 <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
l*/
More information about the Gcc-bugs
mailing list