Bugs

kgeorgiy kgeorgiy@green.ifmo.ru
Wed Jul 5 03:11:00 GMT 2000


GCC version 2.95.2
DOS (djgpp)
no options 

<Source code for bug 1>
struct A {                                            // class A { public: 
  template <class T> void f(T) {}
};
void (*&h)(int) = A::f<int>;
</Source code for bug 1>

Produces internal compiler error 56

<Source code for bug 2>
namespace A {                                         
  template <class T> void f(T) {}
};
void (*&h)(int) = A::f<int>;
</Source code for bug 2>

Produces internal compiler error 363






More information about the Gcc-bugs mailing list