https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99340
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- PIC allows interposing ags_midi_buffer_util_get_varlength and thus possibly initializing the argument. PIE does not allow this so we see it is not initialized. I suppose the change on the branch is for some unreduced testcase where different optimization might trigger the new warning (correctly I think).