https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86058
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |middle-end CC| |msebor at gcc dot gnu.org Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- GCC 11 issues the warning below so this has been (mostly) fixed. pr86058.c: In function ‘zip’: pr86058.c:13:21: warning: ‘arr’ may be used uninitialized [-Wmaybe-uninitialized] 13 | out[i] = arr[i] + 1; /* { dg-warning "'arr[i]' may be used uninitialized in this function" } */ | ~~~^~~ pr86058.c:10:11: note: ‘arr’ declared here 10 | int arr[10]; | ^~~