expr.c (copy_blkmode_to_reg): Fix bitsize for targets with fast unaligned access.
authorTamar Christina <tamar.christina@arm.com>
Fri, 17 Nov 2017 10:47:52 +0000 (10:47 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Fri, 17 Nov 2017 10:47:52 +0000 (10:47 +0000)
commit6f203500991046555099e72ca8794d60d50ef41d
treed3c3f38c9249ec3af301a9a59de5074e880813bf
parent7326cf0fb08b1977171aa97bc8370d950129c813
expr.c (copy_blkmode_to_reg): Fix bitsize for targets with fast unaligned access.

2017-11-17  Tamar Christina  <tamar.christina@arm.com>

* expr.c (copy_blkmode_to_reg): Fix bitsize for targets
with fast unaligned access.
* doc/sourcebuild.texi (word_mode_no_slow_unalign): New.

gcc/testsuite/
2017-11-17  Tamar Christina  <tamar.christina@arm.com>

* gcc.dg/struct-simple.c: New.
* lib/target-supports.exp
(check_effective_target_word_mode_no_slow_unalign): New.

From-SVN: r254862
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/struct-simple.c [new file with mode: 0644]
gcc/testsuite/lib/target-supports.exp