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]

Re: c++/7294: ICE with templates


Old Synopsis: GCC 3.1 problem with templates
New Synopsis: ICE with templates

State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Thu Jan 23 03:24:49 2003
State-Changed-Why:
    Finally fixed with the new parser. This is a reduced testcase
    that ICEd older versions of gcc
    --------------------------------
    template<template<class> class C>
    struct X {
        typedef int i;
        C<int> Foo;
    };
    
    template<class> struct O {
        template<class> struct I {};
        typename X<I>::i i;
    };
    int main() {}
    --------------------------

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7294


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