Problems with gcc v2.8.1 and HPUX (and egcs-1.1.1)

Wed Jan 20 07:26:00 GMT 1999

I tried 

template <class T> class test
  static int data;

template <class T> test<T>::data=0;

int main()
  return test<void*>::data;

It works with HP/9000 Series 800 HP-UX 10.20 HP ANSI C++ compiler, aCC.
It works with RedHat 5.2 Linux egcs-1.1.1.
It does not work with HP-UX 10.20 egcs-1.1.1.

More information about the Gcc-bugs mailing list