sh.c (machine_dependent_reorg): Don't set RTX_UNCHANGING_P on an UNSPEC.

* sh.c (machine_dependent_reorg): Don't set RTX_UNCHANGING_P
	on an UNSPEC.

From-SVN: r54318
This commit is contained in:
J"orn Rennecke 2002-06-06 15:14:39 +00:00 committed by Joern Rennecke
parent ad5e163ca6
commit eaeb7de8cb
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Jun 6 15:57:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
* sh.c (machine_dependent_reorg): Don't set RTX_UNCHANGING_P
on an UNSPEC.
Thu Jun 6 07:17:43 2002 Nicola Pero <n.pero@mi.flashnet.it>
PR objc/6834

View File

@ -3796,6 +3796,7 @@ machine_dependent_reorg (first)
/* Remove the clobber of r0. */
XEXP (clobber, 0) = gen_rtx_SCRATCH (Pmode);
RTX_UNCHANGING_P (newsrc) = 1;
}
/* This is a mova needing a label. Create it. */
else if (GET_CODE (src) == UNSPEC
@ -3813,8 +3814,8 @@ machine_dependent_reorg (first)
lab = add_constant (src, mode, 0);
newsrc = gen_rtx_MEM (mode,
gen_rtx_LABEL_REF (VOIDmode, lab));
RTX_UNCHANGING_P (newsrc) = 1;
}
RTX_UNCHANGING_P (newsrc) = 1;
*patp = gen_rtx_SET (VOIDmode, dst, newsrc);
INSN_CODE (scan) = -1;
}