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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Sam James <sja...@gcc.gnu.org>:

https://gcc.gnu.org/g:2dcb174385fd366282bf34bf95adbf918d5befda

commit r15-4792-g2dcb174385fd366282bf34bf95adbf918d5befda
Author: Sam James <s...@gentoo.org>
Date:   Thu Oct 31 01:37:47 2024 +0000

    testsuite: fix syntax in Wstringop-overflow-59.c

    Fix quoting issues, escaping, and dg directive types.

    There were two issues here:
    1) The incorrect quoting in an earlier dg-message was covering up that the
    syntax in the next part was wrong;
    2) Fix dg-warning -> dg-message to correctly pick up the notes. Once 1) was
    fixed, this was exposed.

    With this, I get:
    ```
    +PASS: gcc.dg/Wstringop-overflow-59.c note (test for warnings, line 192)
    +PASS: gcc.dg/Wstringop-overflow-59.c note (test for warnings, line 193)
    ```

    gcc/testsuite/ChangeLog:
            PR middle-end/92936

            * gcc.dg/Wstringop-overflow-59.c: Fix dg-* syntax.

Reply via email to