projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ebecb6
)
(subst, shift and rotate cases): Test value of SHIFT_COUNT_TRUNCATED
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 11 Oct 1993 11:38:22 +0000
(07:38 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 11 Oct 1993 11:38:22 +0000
(07:38 -0400)
if it is defined.
From-SVN: r5730
gcc/combine.c
patch
|
blob
|
history
diff --git
a/gcc/combine.c
b/gcc/combine.c
index fa34ce00f51509a48a8436a77a1c0ee6e30d1960..d7bfaf2321bda5ccab02c45310503124d2d1c8d7 100644
(file)
--- a/
gcc/combine.c
+++ b/
gcc/combine.c
@@
-4674,7
+4674,7
@@
subst (x, from, to, in_dest, unique_copy)
}
#ifdef SHIFT_COUNT_TRUNCATED
- else if (GET_CODE (XEXP (x, 1)) != REG)
+ else if (
SHIFT_COUNT_TRUNCATED &&
GET_CODE (XEXP (x, 1)) != REG)
SUBST (XEXP (x, 1),
force_to_mode (XEXP (x, 1), GET_MODE (x),
((HOST_WIDE_INT) 1