This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error instead of parse error with 2.91.52
- To: egcs-bugs at cygnus dot com
- Subject: Internal compiler error instead of parse error with 2.91.52
- From: Bernd Nottelmann <nottelm at ptp283 dot uni-muenster dot de>
- Date: Thu, 30 Jul 1998 21:56:56 +0200
- Organization: Universität Münster
Hi,
this small piece of incorrect code produces an internal compiler error:
// ------------------
template <class T>
template <class T>
struct A {
public:
A() {}
A(const A<T>& b) {}
};
// ------------------
>g++ -Vegcs-2.91.52 -c testcase.C
testcase.C:8: Internal compiler error.
testcase.C:8: Please submit a full bug report to `egcs-bugs@cygnus.com'.
>gcc -Vegcs-2.91.52 -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.52/specs
gcc driver version egcs-2.90.29 980515 (egcs-1.0.3 release) executing gcc version egcs-2.91.52
Bernd