https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108379
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I suspect since pipe_check is global is causing the unintialized warning conditional checks to be thrown off because I suspect GCC thinks it can be modified between the 3 checks of pipe_check when out_pollable is used. So if you did a local copy of pipe_check to cache it inside tee_files and use that, the warning will go away.