struct-equiv.c (rtx_equiv_p): Allow arbitrary RVALUE values for PARALLELs with a mode.

* struct-equiv.c (rtx_equiv_p): Allow arbitrary RVALUE values for
	PARALLELs with a mode.

From-SVN: r108511
This commit is contained in:
J"orn Rennecke 2005-12-14 14:18:36 +00:00 committed by Joern Rennecke
parent ee39680c06
commit 5216df748a
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-12-14 J"orn Rennecke <joern.rennecke@st.com>
* struct-equiv.c (rtx_equiv_p): Allow arbitrary RVALUE values for
PARALLELs with a mode.
2005-12-14 Sebastian Pop <pop@cri.ensmp.fr>
* cfgloopmanip.c (lv_adjust_loop_entry_edge): Adjust the type of

View File

@ -637,7 +637,10 @@ rtx_equiv_p (rtx *xp, rtx y, int rvalue, struct equiv_info *info)
return (rtx_equiv_p (&XEXP (x, 0), XEXP (y, 0), 0, info)
&& rtx_equiv_p (&XEXP (x, 0), XEXP (y, 0), 1, info));
case PARALLEL:
gcc_assert (rvalue < 0);
/* If this is a top-level PATTERN PARALLEL, we expect the caller to
have handled the SET_DESTs. A complex or vector PARALLEL can be
identified by having a mode. */
gcc_assert (rvalue < 0 || GET_MODE (x) != VOIDmode);
break;
case LABEL_REF:
/* Check special tablejump match case. */