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]
Other format: [Raw text]

Another store_data_bypass_p fix



Richard and I were discussing whether this routine needs
to handle anything other than a SET inside of PARALLELs.

My stance was that it should abort(), and when it triggers
we can decide how to handle that expression correctly.

Richard mentioned CLOBBER specifically, and that is certainly
going to show up, so I've changed it to handle that now by simply
ignoring it.

2002-05-05  David S. Miller  <davem@redhat.com>

	* recog.c (store_data_bypass_p): Handle CLOBBER inside PARALLEL.

--- recog.c.~1~	Sat May  4 21:59:02 2002
+++ recog.c	Sun May  5 14:46:06 2002
@@ -3315,6 +3315,9 @@ store_data_bypass_p (out_insn, in_insn)
 	{
 	  rtx exp = XVECEXP (out_pat, 0, i);
 
+	  if (GET_CODE (exp) == CLOBBER)
+	    continue;
+
 	  if (GET_CODE (exp) != SET)
 	    abort ();
 


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