Pretty much any existing C compiler will also solve that problem by telling you that it's uninitialized.
I tried:
int test() { int i; return i; }
clang -c test.c
I tried:
using clang on my Mac mini, and: and it compiled without complaint.