https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101573
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org Component|c |tree-optimization Blocks| |24639 Keywords| |diagnostic Ever confirmed|0 |1 Severity|normal |enhancement Last reconfirmed| |2021-07-22 Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- -O0 doesn't run the flow-sensitive uninit part, so that's expected. What we could improve is walk PHIs and look at fallthru edges PHI uses. I have a patch doing that. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 [Bug 24639] [meta-bug] bug to track all Wuninitialized issues