This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch applied to sh.c


-- 
--------------------------
SuperH (UK) Ltd.
2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ
T:+44 1454 462330
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.

Index: sh.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/sh.c,v
retrieving revision 1.172
diff -p -r1.172 sh.c
*** sh.c	29 Aug 2002 19:20:00 -0000	1.172
--- sh.c	5 Sep 2002 15:26:51 -0000
*************** sh_expand_builtin (exp, target, subtarge
*** 7652,7657 ****
--- 7652,7659 ----
        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));

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]