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]

Re: PATCH: (cobweb removal) wrong # of args to gen_call





On Sun, 23 Jul 2000, Jeffrey A Law wrote:

> Actually I think the right fix is to use GEN_CALL.  We're trying to avoid
> direct calls to gen_call these days.
> 
> jeff
> 

  Revised patch:


Index: i860.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i860/i860.md,v
retrieving revision 1.7
diff -c -3 -p -r1.7 i860.md
*** i860.md	2000/02/26 21:23:19	1.7
--- i860.md	2000/07/23 19:33:59
*************** fmul.ss %1,%0,%4\;fmul.ss %3,%4,%0\";
*** 2266,2272 ****
  {
    int i;
  
!   emit_call_insn (gen_call (operands[0], const0_rtx, NULL, const0_rtx));
  
    for (i = 0; i < XVECLEN (operands[2], 0); i++)
      {
--- 2266,2272 ----
  {
    int i;
  
!   emit_call_insn (GEN_CALL (operands[0], const0_rtx, NULL, const0_rtx));
  
    for (i = 0; i < XVECLEN (operands[2], 0); i++)
      {
  

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