[Bug c/50584] No warning for passing small array to C99 static array declarator

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 21 20:55:33 GMT 2020


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

--- Comment #21 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:05193687dde2e5a6337164182a1946b584acfada

commit r11-3333-g05193687dde2e5a6337164182a1946b584acfada
Author: Martin Sebor <msebor@redhat.com>
Date:   Mon Sep 21 14:33:29 2020 -0600

    Avoid incidental failures due to implicit attribute access.

    gcc/testsuite/ChangeLog:

            PR c/50584
            * gcc.dg/ipa/ipa-sra-1.c: Use a plain pointer for argv instead of
array.
            * gcc.dg/ipa/ipa-sra-12.c: Same.
            * gcc.dg/ipa/ipa-sra-13.c: Same.
            * gcc.dg/ipa/ipa-sra-14.c: Same.
            * gcc.dg/ipa/ipa-sra-15.c: Same.


More information about the Gcc-bugs mailing list