This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/8785: ICE
- From: Alexander dot Zviagine at cern dot ch
- To: gcc-gnats at gcc dot gnu dot org
- Date: 2 Dec 2002 14:14:07 -0000
- Subject: c++/8785: ICE
- Reply-to: Alexander dot Zviagine at cern dot ch
>Number: 8785
>Category: c++
>Synopsis: ICE
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Mon Dec 02 06:16:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Alexander Zvyagin
>Release: unknown-1.0
>Organization:
>Environment:
gcc-3.2 on Linux Mandrake-9.0, egcs-1.1.2 on Linux RedHat 7.2
>Description:
The following code make ICE both on gcc-3.2 and egcs-1.1.2.
Compilation:
$ g++ -c bug.cc
// Code:
template<unsigned short N,class _T>
class Matrix
{
public:
typedef _T T;
template<unsigned short L>
void Mult (const Matrix<N,T> &q,const Matrix<L,T> &w);
};
template<unsigned short N,unsigned short L,class T>
void Matrix<N,T>::Mult<N,T>(const Matrix<N,T> &q,const Matrix<L,T> &w)
{}
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: