https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119665
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2025-04-07 Ever confirmed|0 |1 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Volodymyr Babchuk from comment #2) > So, should the warning be disabled in this case? yes, I am starting to think -Wmaybe-uninitialized should not be enabled for -Og. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89723#c2 But other disagree there. Since GCC 15 is so close for release I am not going to propose a patch until after that happens but let's see what discussion comes out of it.