https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99340
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Matthias Klose from comment #3) > Created attachment 50284 [details] > preprocessed source > > original test case before reducing > > gcc -std=gnu99 -Werror=uninitialized -Werror=maybe-uninitialized -Wall > -Wno-unused-variable -Wno-unused-but-set-variable -Wformat -Wno-pointer-sign > -Werror=format-security -fstack-protector-strong -fPIC -O2 -c > ags_midi_buffer_util_orig.i Using this with -fPIE reports the warning only on gcc-10 branch. All other is fine.