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 <ja...@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