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/69819] [4.9/5/6 Regression] ICE on invalid code on x86_64-linux-gnu in tree check: expected function_type or method_type, have array_type in function_args_iter_init, at tree.h:4536


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

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Feb 24 21:47:59 2016
New Revision: 233683

URL: https://gcc.gnu.org/viewcvs?rev=233683&root=gcc&view=rev
Log:
        PR c/69819
        * c-decl.c (finish_decl): Don't update the copy of the type of a
        different decl type.

        * gcc.dg/pr69819.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr69819.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]