[Bug c/64778] [4.9/5 Regression] ICE on invalid code on x86_64-linux-gnu: tree check:=?UTF-8?Q?=20expected=20class=20=E2=80=98type=E2=80=99?=,=?UTF-8?Q?=20have=20=E2=80=98exceptional=E2=80=99=20?=(error_mark) in create_tmp_from_val, at gimplify.c:491

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 26 21:32:00 GMT 2015


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



More information about the Gcc-bugs mailing list