Re: [PATCH] Fix PR 91684

2019-09-07 Thread Bernd Edlinger
I just noticed that the effective target is not right, this needs to be prefer_ldrd_strd instead of arm_ldrd_strd_ok, otherwise the ldrd is not generated. Committed the following fix to the test case as obvious: Index: gcc.target/arm/pr91684.c =

[PATCH] Fix PR 91684

2019-09-06 Thread Bernd Edlinger
Hi, this fixes PR 91684, where an only 4-byte aligned memory is used with movdi, which is formally invalid for strict alignment, but okay for prefer_ldrd_strd targets. Boot-strapped and reg-tested on arm-linux-gnueabihf. Patch was approved via BZ. Applied to trunk. Thanks Bernd. 2019-09-06 Be