PR middle-end/59827
	* cgraph.c (gimple_check_call_args): Don't use DECL_ARG_TYPE if
	it is error_mark_node.
testsuite/
	* gcc.dg/pr59827.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206660 138bc75d-0d04-0410-961f-82ee72b054a4