https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108230
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to David Shin from comment #5) > Indeed, no warning on trunk! Sorry, should have checked trunk version before > reporting this. No it is a good thing to report as we might want to get it fixed for gcc 12.