OSDN Git Service

2010-02-22 Manuel López-Ibáñez <manu@gcc.gnu.org>
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Feb 2010 22:30:45 +0000 (22:30 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Feb 2010 22:30:45 +0000 (22:30 +0000)
commit60cce4727af9707a37b1eace97e7c07f07f0d60f
tree83af312d2bb69101bf71d922763360c32afd84cf
parent98759f795880f7652676a0fe7bf18b60311769b9
2010-02-22  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR c++/43126
* c-typeck.c (convert_arguments): Print declaration location.
* c-common.c (validate_nargs): Rename as
builtin_function_validate_nargs.
(check_builtin_function_arguments): Update.
cp/
* typeck.c (convert_arguments): Update error message.

testsuite/
* gcc.dg/cleanup-1.c: Update.
* gcc.dg/func-args-1.c: Update.
* gcc.dg/format/sentinel-1.c: Update.
* g++.old-deja/g++.jason/scoping10.C: Update.
* g++.old-deja/g++.ns/lookup5.C: Update.
* g++.dg/ext/cleanup-1.C: Update.
* g++.dg/parse/varmod1.C: Update.
* g++.dg/parse/error33.C: Update.
* g++.dg/expr/call3.C: Update.
* g++.dg/func-args-1.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156979 138bc75d-0d04-0410-961f-82ee72b054a4
16 files changed:
gcc/ChangeLog
gcc/c-common.c
gcc/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/expr/call3.C
gcc/testsuite/g++.dg/ext/cleanup-1.C
gcc/testsuite/g++.dg/func-args-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/error33.C
gcc/testsuite/g++.dg/parse/varmod1.C
gcc/testsuite/g++.old-deja/g++.jason/scoping10.C
gcc/testsuite/g++.old-deja/g++.ns/lookup5.C
gcc/testsuite/gcc.dg/cleanup-1.c
gcc/testsuite/gcc.dg/format/sentinel-1.c
gcc/testsuite/gcc.dg/func-args-1.c