https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122975

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2025-12-11
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1

--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Thanks for filing this bug.

The issue is that the analyzer doesn't "know" that x + (-x) is zero.

I'm testing a patch for that, which seems to fix the false +ve.

Reply via email to