summaryrefslogtreecommitdiff
path: root/gcc/postreload.c
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-14 19:17:52 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-14 19:17:52 +0000
commita422e68e6d82a613cbcabbee84336b0325c71fa8 (patch)
tree49a6d8dd7353955831946f6f3dd794f0b07053ea /gcc/postreload.c
parente0e865f0d6671390cd0f4e850e207c01768c8660 (diff)
downloadgcc-a422e68e6d82a613cbcabbee84336b0325c71fa8.tar.gz
* postreload.c (move2add_note_store): Only call
trunc_int_for_mode on scalar integers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93658 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/postreload.c')
-rw-r--r--gcc/postreload.c2
1 files changed, 1 insertions, 1 deletions
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)