This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 26 Jan 2015 21:32:41 +0000
- Subject: [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
- Auto-submitted: auto-generated
- References: <bug-64778-4 at http dot gcc dot gnu dot org/bugzilla/>
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