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/64778] [4.9/5 Regression] ICE on invalid code on x86_64-linux-gnu: tree check: expected class âtypeâ, have âexceptionalâ (error_mark) in create_tmp_from_val, at gimplify.c:491


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jan 26 21:32:09 2015
New Revision: 220138

URL: https://gcc.gnu.org/viewcvs?rev=220138&root=gcc&view=rev
Log:
    PR c/64778
    * c-typeck.c (convert_arguments): Return -1 if there are
    error_args, even if we've diagnosed too many arguments.

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

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