This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Another store_data_bypass_p fix
- From: "David S. Miller" <davem at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: rth at redhat dot com
- Date: Sun, 05 May 2002 14:42:12 -0700 (PDT)
- Subject: 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 ();