This test started failing after the switch to -fno-common because we can now force the array to be aligned to 16 bytes, which in turn lets us use SIMD accesses. Locally restoring -fcommon seems the most faithful to the original PR.
Tested on aarch64-linux-gnu & pushed. Richard 2020-01-27 Richard Sandiford <richard.sandif...@arm.com> gcc/testsuite/ PR testsuite/71727 * gcc.target/aarch64/pr71727.c: Add -fcommon. --- gcc/testsuite/gcc.target/aarch64/pr71727.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/aarch64/pr71727.c b/gcc/testsuite/gcc.target/aarch64/pr71727.c index 05eef3e9191..41fa72bc67e 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr71727.c +++ b/gcc/testsuite/gcc.target/aarch64/pr71727.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-mstrict-align -O3" } */ +/* { dg-options "-mstrict-align -O3 -fcommon" } */ struct test_struct_s {