[Bug middle-end/94647] [10 Regression] bogus -Warray-bounds on strncpy into a larger member array from a smaller array

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 22 15:35:13 GMT 2020


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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>:

https://gcc.gnu.org/g:203f2b73e256c779a3ab73c5dc5efafd3d46f8e1

commit r10-7884-g203f2b73e256c779a3ab73c5dc5efafd3d46f8e1
Author: Martin Sebor <msebor@redhat.com>
Date:   Wed Apr 22 09:30:37 2020 -0600

    Fix an ILP32 failure.

    gcc/testsuite/ChangeLog:

            PR middle-end/94647
            * c-c++-common/Warray-bounds-2.c: Replace a large value harcoded
            in an expected warning with a pattern.


More information about the Gcc-bugs mailing list