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

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


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-bugs mailing list