(cse_insn): Don't call force_const_mem on (const (truncate)).

From-SVN: r8231
This commit is contained in:
Richard Kenner 1994-10-06 17:38:35 -04:00
parent ffa8bd9bcb
commit 1bbd065b6c
1 changed files with 5 additions and 1 deletions

View File

@ -6724,7 +6724,11 @@ cse_insn (insn, in_libcall_block)
else if (constant_pool_entries_cost
&& CONSTANT_P (trial)
&& (src_folded == 0 || GET_CODE (src_folded) != MEM)
&& ! (GET_CODE (trial) == CONST
&& GET_CODE (XEXP (trial, 0)) == TRUNCATE)
&& (src_folded == 0
|| (GET_CODE (src_folded) != MEM
&& ! src_folded_force_flag))
&& GET_MODE_CLASS (mode) != MODE_CC)
{
src_folded_force_flag = 1;