The Infinite Loop Checker could report a false positive on the example below:
void f() { static int i = 0; i++; while (i < 10) f(); }
This patch adds checking for recursive calls in the Infinite Loop Checker when loop condition involves static local variables.