aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2021-08-31 04:41:14 +0000
committerAndrew Pinski <apinski@marvell.com>2021-09-01 20:58:00 +0000
commita45786e9a31f995087d8cb42bc3a4fe06911e588 (patch)
tree0e7553eb6a7b0825a66344ab1fbe69cde71d27de /gcc/testsuite/gcc.dg
parentc4d6dcacfca1b804504515496e6d9de176d7f51e (diff)
downloadgcc-a45786e9a31f995087d8cb42bc3a4fe06911e588.zip
gcc-a45786e9a31f995087d8cb42bc3a4fe06911e588.tar.gz
gcc-a45786e9a31f995087d8cb42bc3a4fe06911e588.tar.bz2
Fix target/101934: aarch64 memset code creates unaligned stores for -mstrict-align
The problem here is the aarch64_expand_setmem code did not check STRICT_ALIGNMENT if it is creating an overlapping store. This patch adds that check and the testcase works. gcc/ChangeLog: PR target/101934 * config/aarch64/aarch64.c (aarch64_expand_setmem): Check STRICT_ALIGNMENT before creating an overlapping store. gcc/testsuite/ChangeLog: PR target/101934 * gcc.target/aarch64/memset-strict-align-1.c: New test.
Diffstat (limited to 'gcc/testsuite/gcc.dg')
0 files changed, 0 insertions, 0 deletions