gcc-3.0.4: ICE during template instantiation

Andrew Pinski pinskia@physics.uc.edu
Wed Apr 10 07:18:00 GMT 2002


Yes it has been fixed.

Thanks,
Andrew Pinski
On Wednesday, April 10, 2002, at 09:07 , Markus Werle wrote:

> Hi!
>
> Maybe the following problem is already solved in gcc-3.1,
> I just haven't the time to check it.
>
>
>
>
> // trying to get it right like in big example
>
> template<class T> class D {};
>
> template<class T> class C;
> template<class T> class C<D<T> > {
>
>   template <class T2, int I = -1>
>   struct R {};
> };
>
>
> D<int> i;
>
> int main() {
>   C<D<int> > test;
> }



More information about the Gcc-bugs mailing list