jmp_uses_reg_or_mem

Jeffrey A Law law@cygnus.com
Tue Sep 23 00:02:00 GMT 1997


Various ports are failing to bootstrap with 970922 due to
typos/thinkos in loop.c, rtlanal.c, and reg-stack.c.  I'll
try to get a new snapshot out in the next 24-48 hours.  Until
then:


The reg-stack.c patch can be found in the archives as:

http://www.cygnus.com/ml/egcs/1997-Sep/0818.html

The loop.c patch can be found in the archives as:

http://www.cygnus.com/ml/egcs/1997-Sep/0823.html

And here's the rtlanal.c patch:

	* rtlanal.c (computed_jump_p): Fix typo in last change.

Index: rtlanal.c
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/rtlanal.c,v
retrieving revision 1.2
diff -c -3 -p -r1.2 rtlanal.c
*** rtlanal.c	1997/09/22 00:49:27	1.2
--- rtlanal.c	1997/09/23 06:57:26
*************** computed_jump_p (insn)
*** 1933,1939 ****
  	    for (i = len - 1; i >= 0; i--)
  	      if (GET_CODE (XVECEXP (pat, 0, i)) == SET
  		  && SET_DEST (XVECEXP (pat, 0, i)) == pc_rtx
! 		  && jmp_uses_reg_or_mem (SET_SRC (XVECEXP (pat, 0, 1))))
  		return 1;
  	}
        else if (GET_CODE (pat) == SET
--- 1933,1939 ----
  	    for (i = len - 1; i >= 0; i--)
  	      if (GET_CODE (XVECEXP (pat, 0, i)) == SET
  		  && SET_DEST (XVECEXP (pat, 0, i)) == pc_rtx
! 		  && jmp_uses_reg_or_mem (SET_SRC (XVECEXP (pat, 0, i))))
  		return 1;
  	}
        else if (GET_CODE (pat) == SET



Jeff Law (law@cygnus.com)
Cygnus Solutions		EGCS GNU Compiler System
http://www.cygnus.com		http://www.cygnus.com/egcs




More information about the Gcc mailing list