------- Comment #13 from manu at gcc dot gnu dot org 2007-08-20 15:08 ------- (In reply to comment #12) > > This testcase has nothing to do with uninitialized variables. If the variable > is 'const' already, then there will never be a warning. Will it produce > segmentation fault for a local automatic uninitialized pointer? >
Of course, I mean pointer to (or array of, in this case) uninitialized data, not that the pointer itself is uninitialized. Sorry for the confusion. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10138