[Bug middle-end/98406] missing -Wmaybe-uninitialized passing a member by reference
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Sep 26 09:16:46 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98406
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |23384
Ever confirmed|0 |1
Keywords| |alias
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-09-26
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think the no warning for g2 is correct as f could in theory get to &b.j.
But g1 should have a warning but requires flow sensative escape set which is PR
23384.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23384
[Bug 23384] escaped set should be flow sensitive
More information about the Gcc-bugs
mailing list