reg-stack.c - a botched patch?

Jeffrey A Law law@cygnus.com
Mon Sep 22 13:52:00 GMT 1997


  In message < 19970922135918.50131@dgii.com >you write:
  > Notice that reg-stack.c doesn't appear in the list.
Noted -)


  > When building gcc/reg-stack.c, I see 
  > 
[ ... ]
  > 
  > Was there perhaps an incomplete patch applied to the master?
Yea.  Or better stated, untested.  I think this should fix your
problem:


	* reg-stack.c (find_blocks): Fix thinko in last change.

Index: reg-stack.c
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/reg-stack.c,v
retrieving revision 1.3
diff -c -3 -p -r1.3 reg-stack.c
*** reg-stack.c	1997/09/22 00:49:25	1.3
--- reg-stack.c	1997/09/22 20:36:19
*************** find_blocks (first)
*** 1351,1356 ****
--- 1351,1358 ----
  
        if (GET_CODE (insn) == JUMP_INSN)
  	{
+ 	  rtx pat = PATTERN (insn);
+ 	  rtx x;
  
  	  if (computed_jump_p (insn))
  	    {




More information about the Gcc mailing list