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]

egcs 1.0.2 internal error


84 ~/c++ chen@jonas$ uname -a
Linux jonas 2.0.32 #19 Mon Dec 15 01:07:50 EST 1997 i586 unknown
85 ~/c++ chen@jonas$ gcc -v
Reading specs from
/usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.90.27/specs
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
86 ~/c++ chen@jonas$ make foo.o
c++ -Wall    -c foo.cc -o foo.o
foo.cc: In function `void foo()':
foo.cc:9: Internal compiler error.
foo.cc:9: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make: *** [foo.o] Error 1

===
template<class T>
class Function {
};

template<class A>
void
foo()
{
  class Foo : public Function<A> {
  };
}
===

-- 
Franklin Chen                     mailto:chen+@cs.cmu.edu
Graduate Student                  http://www.cs.cmu.edu/~chen/
Computer Science Department       Wean Hall 8218
Carnegie Mellon University


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