[Bug c/64778] [4.9 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
Sun Feb 1 17:36:00 GMT 2015


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sun Feb  1 17:35:40 2015
New Revision: 220326

URL: https://gcc.gnu.org/viewcvs?rev=220326&root=gcc&view=rev
Log:
    Backported from mainline
    2015-01-26  Jakub Jelinek  <jakub@redhat.com>

    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:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr64778.c
Modified:
    branches/gcc-4_9-branch/gcc/c/ChangeLog
    branches/gcc-4_9-branch/gcc/c/c-typeck.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list