Commit 3578cf63 by J"orn Rennecke Committed by Joern Rennecke

sh.c (sh_expand_builtin): Return early if encountering an error_mark for a type.

	* sh.c (sh_expand_builtin): Return early if encountering an
	error_mark for a type.

From-SVN: r56844
parent 7974fe63
Thu Sep 5 16:27:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
* sh.c (sh_expand_builtin): Return early if encountering an
error_mark for a type.
2002-09-05 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.c (s390_expand_plus_operand): Do not require
......
......@@ -7652,6 +7652,8 @@ sh_expand_builtin (exp, target, subtarget, mode, ignore)
if (! signature_args[signature][i])
break;
arg = TREE_VALUE (arglist);
if (arg == error_mark_node)
return const0_rtx;
arglist = TREE_CHAIN (arglist);
opmode = insn_data[icode].operand[nop].mode;
argmode = TYPE_MODE (TREE_TYPE (arg));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment