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

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

https://gcc.gnu.org/g:a0f9a5dcc3bbe6c7de499e17d201d0f2cb512649

commit r12-2541-ga0f9a5dcc3bbe6c7de499e17d201d0f2cb512649
Author: Martin Sebor <mse...@redhat.com>
Date:   Tue Jul 27 13:51:55 2021 -0600

    Use OEP_DECL_NAME when comparing VLA bounds [PR101585].

    Resolves:
    PR c/101585 - Bad interaction of -fsanitize=undefined and -Wvla-parameters

    gcc/c-family:

            PR c/101585
            * c-warn.c (warn_parm_ptrarray_mismatch): Use OEP_DECL_NAME.

    gcc/testsuite:
            PR c/101585
            * gcc.dg/Wvla-parameter-13.c: New test.

Reply via email to