https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66028
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu.org --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to ncm from comment #2) > This bug appears not to manifest in g++-10.2. The warning is still there for me. Maybe you forgot to test with -Wall (or -Wunused).