The following code compiles without any warning:
int a = a + 1;
The variable "a" does not exist in the global name space, which means that the uninitialized local variable "a" is accessed. A warning like "access to uninitialized variable" would be appropriate.
*** This bug has been marked as a duplicate of 10538 ***