Problem in arm.md...

Scott Bambrough scottb@netwinder.org
Thu Jun 1 08:48:00 GMT 2000


The gcc build on the autobuild system at netwinder.org has been failing since
May 28 with the following error:

  insn-emit.c: In function `gen_untyped_call':
  insn-emit.c:5437: too many arguments to function `gen_call'
  make[2]: *** [insn-emit.o] Error 1

Is the following patch ok?

2000-06-01  Scott Bambrough  <scottb@netwinder.org>

        * config/arm/arm.md (untyped_call): Fix incorrect number of 
        parameters passed to gen_call.

Index: arm.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/arm/arm.md,v
retrieving revision 1.50
diff -u -p -r1.50 arm.md
--- arm.md      2000/05/06 18:13:35     1.50
+++ arm.md      2000/06/01 15:33:53
@@ -6176,7 +6176,7 @@
 {
   int i;
 
-  emit_call_insn (gen_call (operands[0], const0_rtx, NULL, const0_rtx));
+  emit_call_insn (gen_call (operands[0], const0_rtx, NULL));
 
   for (i = 0; i < XVECLEN (operands[2], 0); i++)
     {

-- 
Scott Bambrough - Software Engineer
REBEL.COM    http://www.rebel.com
NetWinder    http://www.netwinder.org


More information about the Gcc-patches mailing list