OSDN Git Service

PR c/17301
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Oct 2004 08:32:17 +0000 (08:32 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Oct 2004 08:32:17 +0000 (08:32 +0000)
commit7b2e65559c99e26c92a57385a8f61adef9206297
tree503a2dfc7f624bf18a4100ac6311c19a27ef961c
parent26be379c1dcc2af9a60a1b6a0eb1d410b0eb7d1c
PR c/17301
* c-typeck.c (convert_arguments): Return error_mark_node if there
are too few arguments.
(build_function_call): Handle error_mark_node return from
convert_arguments.

testsuite:
* gcc.dg/pr17301-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88921 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr17301-2.c [new file with mode: 0644]