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]

fix for my latest patch..


Oops!
I was manually "re-writing" the one liner from one tree to another and I've
managed to break it.  This patch fixes the second occurence of "to".
I really apologize for the problem.

Tue Jun 12 19:01:43 CEST 2001  Jan Hubicka  <jh@suse.cz>

	* recog.c (validate_replace_rtx_1): Fix previous patch.

Index: recog.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/recog.c,v
retrieving revision 1.107
diff -c -3 -p -r1.107 recog.c
*** recog.c	2001/06/12 15:26:49	1.107
--- recog.c	2001/06/12 17:04:58
*************** validate_replace_rtx_1 (loc, from, to, o
*** 512,518 ****
           separated from this function.  */
        if (GET_CODE (XEXP (x, 1)) == CONST_INT)
  	validate_change (object, loc,
! 			 plus_constant (XEXP (x, 0), INTVAL (to)), 1);
        break;
      case MINUS:
        if (GET_CODE (XEXP (x, 1)) == CONST_INT
--- 512,518 ----
           separated from this function.  */
        if (GET_CODE (XEXP (x, 1)) == CONST_INT)
  	validate_change (object, loc,
! 			 plus_constant (XEXP (x, 0), XEXP (x, 1)), 1);
        break;
      case MINUS:
        if (GET_CODE (XEXP (x, 1)) == CONST_INT


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