https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56958
serpent7776 at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |serpent7776 at gmail dot com --- Comment #7 from serpent7776 at gmail dot com --- I was just hit by this warning in a very similar scenario. To me this warning in this context is not only unhelpful, but confusing. clang doesn't issue this warning in this context.