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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|missing -Wstringop-overflow |missing -Wstringop-overflow
                   |on a multiply inlined calls |on invalid accesses to the
                   |from system header          |same object by distinct
                   |                            |functions

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Actually, the warning is issued if the accessed object is different, so the
false negative is most likely due to the TREE_NO_WARNING bit and not related to
inlining or system headers.  It might be okay to issue just one warning for
multiple invalid accesses to the same object in a single (out-of-line)
function, but the suppression should probably be reset for each new
(out-of-line) function.

Reply via email to