call.c (build_over_call), [...]): Call check_function_arguments instead of check_func...
authorJoseph Myers <jsm@polyomino.org.uk>
Wed, 30 Jun 2004 22:30:34 +0000 (23:30 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 30 Jun 2004 22:30:34 +0000 (23:30 +0100)
commitdd66b8e81e3182b520ea5de41e1f45ba8eaedf5d
treeaee24b2a12a5ea311774eaf196ad657bc620dd50
parent0671a8a0b97ad91dcdaf7f0aaba0233ddaa5ac9d
call.c (build_over_call), [...]): Call check_function_arguments instead of check_function_format.

cp:
* call.c (build_over_call), typeck.c (build_function_call): Call
check_function_arguments instead of check_function_format.

testsuite:
* g++.dg/warn/nonnull1.C: New test.

From-SVN: r83937
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/nonnull1.C [new file with mode: 0644]