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

--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Georg-Johann Lay <[email protected]>:

https://gcc.gnu.org/g:8c1b7e1d9f3d8f52dd991060afbb34676e52d836

commit r17-3749-g8c1b7e1d9f3d8f52dd991060afbb34676e52d836
Author: Georg-Johann Lay <[email protected]>
Date:   Sat Aug 29 16:22:00 2026 +0200

    Fix sloppy gcc.dg/torture/pr121103-1.c

    This test failed with

    FAIL: gcc.dg/torture/pr121103-1.c   -O1  (test for excess errors)
    Excess errors:
    .../gcc.dg/torture/pr121103-1.c:28:5: warning: 'memmove' writing 8 bytes
into a region of size 7 overflows the destination [-Wstringop-overflow=]

    since on int16, the target of memmove is B, which is only 7 bytes wide,
    but 8 bytes are being written.

            PR testsuite/121103
    gcc/testsuite/
            * gcc.dg/torture/pr121103-1.c (B.n): Use __INT32_TYPE__
            instead of int.

Reply via email to