c++/4968: Internal compiler error; reason unclear (templates, typing?)

rodrigc@gcc.gnu.org rodrigc@gcc.gnu.org
Sat Dec 1 10:46:00 GMT 2001


The following reply was made to PR c++/4968; it has been noted by GNATS.

From: rodrigc@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  kuchen@uni-muenster.de, nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/4968: Internal compiler error; reason unclear (templates, typing?)
Date: 1 Dec 2001 18:41:03 -0000

 Synopsis: Internal compiler error; reason unclear (templates, typing?)
 
 State-Changed-From-To: open->closed
 State-Changed-By: rodrigc
 State-Changed-When: Sat Dec  1 10:41:03 2001
 State-Changed-Why:
     I have uploaded a modified version of your testcase which
     can compile with gcc 3.0.3.  gcc 3.0.3 does not ICE,
     but I get the following compilation errors:
     
     gauss.cpp: In function `DistributedArray<E, n> gauss(DistributedMatrix<C, n, (n
        + 1)>&) [with C = int, int n = 20]':
     gauss.cpp:2886:   instantiated from here
     gauss.cpp:2869: no matching function for call to `curry(<unknown type>)'
     gauss.cpp:2886:   instantiated from here
     gauss.cpp:2871: no matching function for call to `curry(<unknown type>)'
     gauss.cpp:2873: no matching function for call to `curry(<unknown type>)'
     
     Looks like a problem with your code and not gcc 3.0.3.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4968&database=gcc



More information about the Gcc-prs mailing list