rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs as being CLOBBERed.

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

	* rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
	as being CLOBBERed.

From-SVN: r52341
This commit is contained in:
David S. Miller 2002-04-15 16:11:27 -07:00 committed by David S. Miller
parent 7643ba8fca
commit 546c6a6899
2 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2002-04-15 David S. Miller <davem@redhat.com>
* rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
as being CLOBBERed.
2002-04-16 Jakub Jelinek <jakub@redhat.com>
PR c/6290

View File

@ -1542,17 +1542,12 @@ note_stores (x, fun, data)
dest = XEXP (dest, 0);
/* If we have a PARALLEL, SET_DEST is a list of EXPR_LIST expressions,
each of whose first operand is a register. We can't know what
precisely is being set in these cases, so make up a CLOBBER to pass
to the function. */
each of whose first operand is a register. */
if (GET_CODE (dest) == PARALLEL)
{
for (i = XVECLEN (dest, 0) - 1; i >= 0; i--)
if (XEXP (XVECEXP (dest, 0, i), 0) != 0)
(*fun) (XEXP (XVECEXP (dest, 0, i), 0),
gen_rtx_CLOBBER (VOIDmode,
XEXP (XVECEXP (dest, 0, i), 0)),
data);
(*fun) (XEXP (XVECEXP (dest, 0, i), 0), x, data);
}
else
(*fun) (dest, x, data);