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/71583] ICE on invalid code on x86_64-linux-gnu (in c_parser_postfix_expression_after_paren_type, at c/c-parser.c:8192)


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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Jul 29 11:48:36 2016
New Revision: 238861

URL: https://gcc.gnu.org/viewcvs?rev=238861&root=gcc&view=rev
Log:
        PR c/71583
        * c-parser.c (c_parser_postfix_expression_after_paren_type): Also
        check expr.value.

        * gcc.dg/noncompile/pr71583.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/noncompile/pr71583.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-parser.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]