diff options
-rw-r--r-- | gcc/function.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c index 9eee9b5..cdfcc4b 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -3013,8 +3013,8 @@ assign_parm_setup_block (struct assign_parm_data_all *all, to the value directly in mode MODE, otherwise we must start with the register in word_mode and explicitly convert it. */ - if (targetm.truly_noop_truncation (size * BITS_PER_UNIT, - BITS_PER_WORD)) + if (mode == word_mode + || TRULY_NOOP_TRUNCATION_MODES_P (mode, word_mode)) reg = gen_rtx_REG (mode, REGNO (entry_parm)); else { |