This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
fibionacci bug
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: fibionacci bug
- From: Niels L Ellegaard <gnalle at dirac dot ruc dot dk>
- Date: 13 Apr 2000 15:44:20 +0200
Here is a program
#include <stream.h>
template<int n>
void f(int x);
template<int n>
void f(int x){
f<n + 1>(x);
};
void main(){
cout << f<1>(1);
// note the second 1 is not supposed to be there
};
Here is the error message
fib.C:18: Internal compiler error 980715.
fib.C:18: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
fib.C:18: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
I use
egcs-2.91.66
Have a nice day and keep up the good work
--
Niels L Ellegaard
http://dirac.ruc.dk/~gnalle/