This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/77767] [5/6/7 Regression] Side-effect from VLA array parameters lost


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Dec 21 00:07:49 2016
New Revision: 243832

URL: https://gcc.gnu.org/viewcvs?rev=243832&root=gcc&view=rev
Log:
        PR c/77767
        * c-decl.c (grokdeclarator): If *expr is non-NULL, append expression
        to *expr instead of overwriting it.

        * gcc.c-torture/execute/pr77767.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr77767.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-decl.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]