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.