[Bug middle-end/101134] Bogus -Wstringop-overflow warning about non-existent overflow

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 24 17:05:04 GMT 2021


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

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   Last reconfirmed|                            |2021-06-24
                 CC|                            |segher at gcc dot gnu.org
     Ever confirmed|0                           |1
         Resolution|WONTFIX                     |---

--- Comment #9 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #7)
> Changing the warning text from "does X" to "may do X" wouldn't help because
> all instances of it (or all warnings) would have to use the latter form, and
> that's already implied by the former.  Every GCC warning already means
> "something looks fishy here" and not "this is definitely a bug."

Yes.  And most warning texts do not say "A is B" when that is not true.
All that do are buggy.


Reopened.


More information about the Gcc-bugs mailing list