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
This commit is contained in:
parent
7974fe63a5
commit
3578cf6341
|
@ -1,3 +1,8 @@
|
|||
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));
|
||||
|
|
Loading…
Reference in New Issue