projects
/
platform
/
upstream
/
linaro-gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fec214
)
(store_bit_field): When calling operand_subword_force,
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 30 Oct 1993 06:04:18 +0000
(06:04 +0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 30 Oct 1993 06:04:18 +0000
(06:04 +0000)
if VALUE has a non-void mode, pass that mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5939
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/expmed.c
patch
|
blob
|
history
diff --git
a/gcc/expmed.c
b/gcc/expmed.c
index
8c6edd8
..
b340b6d
100644
(file)
--- a/
gcc/expmed.c
+++ b/
gcc/expmed.c
@@
-319,7
+319,10
@@
store_bit_field (str_rtx, bitsize, bitnum, fieldmode, value, align, total_size)
store_bit_field (op0, MIN (BITS_PER_WORD,
bitsize - i * BITS_PER_WORD),
bitnum + bit_offset, word_mode,
- operand_subword_force (value, wordnum, fieldmode),
+ operand_subword_force (value, wordnum,
+ (GET_MODE (value) == VOIDmode
+ ? fieldmode
+ : GET_MODE (value))),
align, total_size);
}
return value;