From 05075d4e465d3b1b55e038ff9f6e3086e158846f Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Fri, 14 Jan 2005 19:17:52 +0000 Subject: [PATCH] postreload.c (move2add_note_store): Only call trunc_int_for_mode on scalar integers. * postreload.c (move2add_note_store): Only call trunc_int_for_mode on scalar integers. From-SVN: r93658 --- gcc/ChangeLog | 5 +++++ gcc/postreload.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 08556ae24b4..2d0d11bbfaa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-01-14 Aldy Hernandez + + * postreload.c (move2add_note_store): Only call + trunc_int_for_mode on scalar integers. + 2005-01-14 Steven Bosscher * tree-ssa-dce.c (visited_control_parents): New sbitmap to diff --git a/gcc/postreload.c b/gcc/postreload.c index 06714b90ab8..917af6997ab 100644 --- a/gcc/postreload.c +++ b/gcc/postreload.c @@ -1457,7 +1457,7 @@ move2add_note_store (rtx dst, rtx set, void *data ATTRIBUTE_UNUSED) regno += REGNO (dst); - if (SCALAR_INT_MODE_P (mode) + if (SCALAR_INT_MODE_P (GET_MODE (dst)) && hard_regno_nregs[regno][mode] == 1 && GET_CODE (set) == SET && GET_CODE (SET_DEST (set)) != ZERO_EXTRACT && GET_CODE (SET_DEST (set)) != STRICT_LOW_PART) -- 2.30.2