g++ Regression egcs-970901 -> 970904

Jody Goldberg jodygold@sanwafp.COM
Mon Sep 8 10:37:00 GMT 1997


970904 generates : Internal compiler error 243.
970901 doesn't

-----------------------------------------------------
template<int N_length>
struct B
{
    B();
    ~B();
};
template<class P, int N>
struct D
{
    D(int r0);
    D(B<N-1> &, int);
};
template<class T>
void func()
{
    D<T,1> tmp;
}



More information about the Gcc mailing list