aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2018-04-06 13:16:39 +0000
committerTamar Christina <tnfchris@gcc.gnu.org>2018-04-06 13:16:39 +0000
commitd8ab9ce00a09f3daeea4ad8eea24a385cd7f28f3 (patch)
tree3d79f7c9853eb55d8a31b31e27cd78f473a08bba /gcc/expr.c
parentef2e5ec2d4dbcd865bd62fd887b89e7a42f66222 (diff)
downloadgcc-d8ab9ce00a09f3daeea4ad8eea24a385cd7f28f3.zip
gcc-d8ab9ce00a09f3daeea4ad8eea24a385cd7f28f3.tar.gz
gcc-d8ab9ce00a09f3daeea4ad8eea24a385cd7f28f3.tar.bz2
Reverted commit r254862
From-SVN: r259169
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 0066029..5e3d9a5 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -2782,9 +2782,7 @@ copy_blkmode_to_reg (machine_mode mode_in, tree src)
n_regs = (bytes + UNITS_PER_WORD - 1) / UNITS_PER_WORD;
dst_words = XALLOCAVEC (rtx, n_regs);
- bitsize = BITS_PER_WORD;
- if (targetm.slow_unaligned_access (word_mode, TYPE_ALIGN (TREE_TYPE (src))))
- bitsize = MIN (TYPE_ALIGN (TREE_TYPE (src)), BITS_PER_WORD);
+ bitsize = MIN (TYPE_ALIGN (TREE_TYPE (src)), BITS_PER_WORD);
/* Copy the structure BITSIZE bits at a time. */
for (bitpos = 0, xbitpos = padding_correction;