g++ bug in a two-line code with a class template
Marc Duflot
M.Duflot@ulg.ac.be
Thu Oct 5 03:27:00 GMT 2000
$ g++ -v
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/specs
gcc version 2.95.2 19991024 (release)
$ cat bug.C
template <int N,int M> class A{};
template <> A<1,1>::A() {}
$ g++ -c bug.C
bug.C:2: Internal compiler error.
bug.C:2: Please submit a full bug report.
bug.C:2: See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport >
for instructions.
$
More information about the Gcc-bugs
mailing list