Non-terminating rRecursive function does not compile
Bugzilla Link | 107 |
Created on | Aug 02, 2005 15:20 |
Resolution | WORKSFORME |
Resolved on | Aug 10, 2005 13:02 |
Version | 1.00beta |
OS | Linux |
Architecture | PC |
Extended Description
The following simple program does not compile past the typechecker: int f0(int i) { i = f0(i); return(i); } The compiler refuses the program and correctly states that f0 does not terminate. IMHO, this is no reason for the compiler not to compile the program.