public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8785: ICE
@ 2002-12-02 12:55 bangerth
0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2002-12-02 12:55 UTC (permalink / raw)
To: Alexander.Zviagine, gcc-bugs, gcc-prs, nobody
Synopsis: ICE
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Mon Dec 2 12:55:58 2002
State-Changed-Why:
Confirmed. The code is illegal, though: you cannot fuse
template lists, but have to write
template <unsigned short N,class T>
template <unsigned short L>
void Matrix<N,T>::Mult(const Matrix<N,T> &q,const Matrix<L,T> &w)
{}
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8785
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/8785: ICE
@ 2002-12-02 6:16 Alexander.Zviagine
0 siblings, 0 replies; 2+ messages in thread
From: Alexander.Zviagine @ 2002-12-02 6:16 UTC (permalink / raw)
To: gcc-gnats
>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:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-02 20:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-02 12:55 c++/8785: ICE bangerth
-- strict thread matches above, loose matches on Subject: below --
2002-12-02 6:16 Alexander.Zviagine
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).