https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95975
W E Brown <webrown.cpp at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |webrown.cpp at gmail dot com Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- The warning is correct as far as I can see, not sure what std::get<0>(x) does, never heard of std::get ... but certainly wrapping a function call around this point defeats the warning which is issued from the frontend. So I fear there's nothing to be done about this here...