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]

Bugs


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





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