This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Your patch to push_rounding
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>, gcc-patches at gcc dot gnu dot org, rth at cygnus dot com
- Subject: Re: Your patch to push_rounding
- From: Jan Hubicka <jh at suse dot cz>
- Date: Wed, 21 Mar 2001 19:51:45 +0100
- Cc: jh at suse dot cz, gcc at gcc dot gnu dot org
- References: <10103211849.AA00867@vlsi1.ultra.nyu.edu>
> 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