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]

ia64 stop bit patch



When determining whether stop bits are necessary or not, we forget to
check RETURN rtx.

Approved by rth, Verified and I am about to check this into the root tree.

	* config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
	for RETURNS as well.



Index: ia64.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/ia64/ia64.c,v
retrieving revision 1.93
diff -c -p -r1.93 ia64.c
*** ia64.c	2001/04/30 22:37:23	1.93
--- ia64.c	2001/05/11 15:05:02
*************** rtx_needs_barrier (x, flags, pred)
*** 4277,4283 ****
  						     pred);
  		}
  	    }
! 	  else if (GET_CODE (pat) == CLOBBER)
  	    need_barrier |= rtx_needs_barrier (pat, flags, pred);
  	}
        break;
--- 4277,4283 ----
  						     pred);
  		}
  	    }
! 	  else if (GET_CODE (pat) == CLOBBER || GET_CODE (pat) == RETURN)
  	    need_barrier |= rtx_needs_barrier (pat, flags, pred);
  	}
        break;


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