https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102996
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-10-29
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Blocks| |24639
Keywords| |diagnostic
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The foo form is handled by the early uninit pass but the bar form is optimized
away as dead before we get to do a late warning.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639
[Bug 24639] [meta-bug] bug to track all Wuninitialized issues