[Bug analyzer/104576] False positive from -Wanalyzer-use-of-uninitialized-value from PR 63311
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 17 13:28:00 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104576
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Should be fixed by the above patch.
(In reply to David Malcolm from comment #1)
> Potentially just a dup of PR analyzer/104434, but there might be additional
> issues with the reproducer.
Not quite: this one covers "const" functions not having side-effects, whereas
PR analyzer/104434 concerns the return values of const/pure functions.
More information about the Gcc-bugs
mailing list