aarch64: Fix pr71727.c failure
authorRichard Sandiford <richard.sandiford@arm.com>
Sun, 26 Jan 2020 12:47:23 +0000 (12:47 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Mon, 27 Jan 2020 15:49:47 +0000 (15:49 +0000)
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.

2020-01-27  Richard Sandiford  <richard.sandiford@arm.com>

gcc/testsuite/
PR testsuite/71727
* gcc.target/aarch64/pr71727.c: Add -fcommon.

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr71727.c

index e892877..4359aa1 100644 (file)
@@ -1,3 +1,8 @@
+2020-01-27  Richard Sandiford  <richard.sandiford@arm.com>
+
+       PR testsuite/71727
+       * gcc.target/aarch64/pr71727.c: Add -fcommon.
+
 2020-01-27  David Malcolm  <dmalcolm@redhat.com>
 
        * gcc.dg/analyzer/sigsetjmp-5.c: New test.
index 05eef3e..41fa72b 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-mstrict-align -O3" } */
+/* { dg-options "-mstrict-align -O3 -fcommon" } */
 
 struct test_struct_s
 {