[Bug libfortran/79956] [7 Regression] many new -Wmaybe-uninitialized warnings with bootstrap-O3

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 8 19:54:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79956

--- Comment #10 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Most of the warnings are gone due to the patch. These are the remaining ones:

libgfortran/generated/reshape_c16.c:266:12: warning: ‘sstride[0]’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
libgfortran/generated/reshape_c4.c:266:12: warning: ‘sstride[0]’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
libgfortran/generated/reshape_c8.c:266:12: warning: ‘sstride[0]’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
libgfortran/generated/reshape_i16.c:266:12: warning: ‘sstride[0]’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
libgfortran/generated/reshape_i4.c:266:12: warning: ‘sstride[0]’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
libgfortran/generated/reshape_i8.c:266:12: warning: ‘sstride[0]’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
libgfortran/generated/reshape_r16.c:266:12: warning: ‘sstride[0]’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
libgfortran/generated/reshape_r4.c:266:12: warning: ‘sstride[0]’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
libgfortran/generated/reshape_r8.c:266:12: warning: ‘sstride[0]’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
libgfortran/intrinsics/execute_command_line.c:162:16: warning: ‘estat’ may be
used uninitialized in this function [-Wmaybe-uninitialized]
libgfortran/intrinsics/execute_command_line.c:191:16: warning: ‘estat’ may be
used uninitialized in this function [-Wmaybe-uninitialized]
libgfortran/intrinsics/reshape_generic.c:253:21: warning: ‘sstride[0]’ may be
used uninitialized in this function [-Wmaybe-uninitialized]


More information about the Gcc-bugs mailing list