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]

ICE namespace/template bug in egcs-2.93.03



The following code produces an ICE with egcs-2.93.03 on
alphaev56-dec-osf4.0d:

///// Begin foo.cpp /////

namespace Foo {
  template<int N> class T {};
  template<int N> void Hello(T<N> &) {}
}

main() {
  using Foo::T;
  using Foo::Hello;
}

///// End foo.cpp /////

> c++ -o foo foo.cpp
foo.cpp: In function `int main()':
foo.cpp:8: Internal compiler error.
foo.cpp:8: Please submit a full bug report to `egcs-bugs@cygnus.com'.
foo.cpp:8: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for
details.

Regards
/Oskar Enoksson



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