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: Your patch to push_rounding


> It broke building on Alpha (and probably lots of other machines) because
> PUSH_ROUNDING is not defined.
Oops... second time I that bite me. Embrasling.
Looks OK?

Wed Mar 21 19:51:14 CET 2001  Jan Hubicka  <jh@suse.cz>

	* recog.c (push_operand): Guard code by PUSH_ROUNDING.

Index: recog.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/recog.c,v
retrieving revision 1.91
diff -c -3 -p -r1.91 recog.c
*** recog.c	2001/03/21 17:54:00	1.91
--- recog.c	2001/03/21 18:49:10
*************** push_operand (op, mode)
*** 1350,1355 ****
--- 1350,1356 ----
       rtx op;
       enum machine_mode mode;
  {
+ #ifdef PUSH_ROUNDING
    if (GET_CODE (op) != MEM)
      return 0;
  
*************** push_operand (op, mode)
*** 1380,1385 ****
--- 1381,1389 ----
      }
  
    return XEXP (op, 0) == stack_pointer_rtx;
+ #else
+   return 0;
+ #endif
  }
  
  /* Return 1 if OP is a valid operand that stands for popping a


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