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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Mar  3 22:19:24 2017
New Revision: 245886

URL: https://gcc.gnu.org/viewcvs?rev=245886&root=gcc&view=rev
Log:
        PR c/79758
        * c-decl.c (store_parm_decls_oldstyle): Check if the element of
        current_function_prototype_arg_types is error_mark_node.  Fix
        formatting.  Use TREE_VALUE instead of TREE_TYPE.

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

Added:
    trunk/gcc/testsuite/gcc.dg/noncompile/pr79758.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-decl.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to