[egcs980205] Internal compiler error

Mark Mitchell mmitchell@usa.net
Wed Feb 11 00:30:00 GMT 1998


>>>>> "Hyman" == Hyman Rosen <hymie@prolifics.com> writes:

    Hyman> The following code (distilled down from Blitz++) causes an
    Hyman> internal compiler error. No other information is reported.

    Hyman> 	template < int N > struct a { }; template < typename T
    Hyman> > struct b { enum { i = 0 }; };

    Hyman> 	template < typename T1, typename T2 > struct s { enum
    Hyman> { n = b < T1 > :: i + b < T2 > :: i }; a < n > t; };

This is fixed by a patch I submitted recently.

-- 
Mark Mitchell		mmitchell@usa.net
Stanford University	http://www.stanford.edu




More information about the Gcc-bugs mailing list