This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/8785: ICE


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]