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]

internal compiler error gcc 2.91.57


 version:
 2.91.57
 
 system:
 cygwin and  linux
 
 command line:
 g++  error.cpp
 
 program:
 //////BEGIN error.cpp 
 template<class T> struct A{
      template<class T2> struct B{};
 };
 
int
 main(){
     A<char>::template B<int> a;    
 }
 ////////END error.cpp
 
 compiler message:
 Internal compiler error

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