fix i960 libgcc build

Richard Henderson rth@twiddle.net
Thu Oct 3 17:40:00 GMT 2002


With this, we can at least build all of newlib.


r~


        * config/i960/i960.md (call, call_value): Use emit_call_insn.

Index: config/i960/i960.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i960/i960.md,v
retrieving revision 1.25
diff -u -p -r1.25 i960.md
--- config/i960/i960.md	16 Jul 2002 02:16:38 -0000	1.25
+++ config/i960/i960.md	4 Oct 2002 00:38:24 -0000
@@ -2292,8 +2292,8 @@
   ""
   "
 {
-  emit_insn (gen_call_internal (operands[0], operands[1],
-				virtual_outgoing_args_rtx));
+  emit_call_insn (gen_call_internal (operands[0], operands[1],
+				     virtual_outgoing_args_rtx));
   DONE;
 }")
 
@@ -2322,8 +2322,9 @@
   ""
   "
 {
-  emit_insn (gen_call_value_internal (operands[0], operands[1], operands[2],
-				      virtual_outgoing_args_rtx));
+  emit_call_insn (gen_call_value_internal (operands[0], operands[1],
+					   operands[2],
+				           virtual_outgoing_args_rtx));
   DONE;
 }")
 



More information about the Gcc-patches mailing list