]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/17301 (ICE on wrong usage of __builtin_stdarg_start)
authorJoseph Myers <jsm@polyomino.org.uk>
Tue, 12 Oct 2004 08:32:17 +0000 (09:32 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 12 Oct 2004 08:32:17 +0000 (09:32 +0100)
commit3789b316508f81b2b12ae20b64a8a0ede9c6c86e
tree503a2dfc7f624bf18a4100ac6311c19a27ef961c
parent35f06ae4663c6f187a952fa7f0d1659a3e2f7574
re PR c/17301 (ICE on wrong usage of __builtin_stdarg_start)

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.

From-SVN: r88921
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr17301-2.c [new file with mode: 0644]