Commit eaeb7de8 by J"orn Rennecke Committed by Joern Rennecke

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
parent ad5e163c
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
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment