------- Comment #2 from baldrick at gcc dot gnu dot org 2007-06-06 18:35 ------- > Why shouldn't it happen in a small program?
It can cause a segfault also in small programs. However, memory areas often start out containing all zeros, so until the program has dirtied a bunch of memory uninitialized variables tend to contain zero by accident. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32234