diff options
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r-- | gcc/expmed.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index 20a8d6ab4ca..8170c26b7cc 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -748,6 +748,8 @@ store_split_bit_field (op0, bitsize, bitpos, value, align) ? GET_MODE (value) : word_mode, value)); } + else if (GET_CODE (value) == ADDRESSOF) + value = copy_to_reg (value); while (bitsdone < bitsize) { |