[Bug tree-optimization/84468] [8 Regression] bogus -Wstringop-truncation despite assignment after conditional strncpy

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 20 03:05:00 GMT 2018


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
            Summary|[gcc 8] Inconsistent        |[8 Regression] bogus
                   |-Wstringop-truncation       |-Wstringop-truncation
                   |warnings with -O2           |despite assignment after
                   |                            |conditional strncpy

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Patch: https://gcc.gnu.org/ml/gcc-patches/2018-02/msg01141.html


More information about the Gcc-bugs mailing list