pr62308.c: New test.
authorChristophe Lyon <christophe.lyon@linaro.org>
Fri, 19 Jun 2015 13:02:55 +0000 (13:02 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Fri, 19 Jun 2015 13:02:55 +0000 (15:02 +0200)
2015-06-19  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/testsuite/
* gcc.target/aarch64/pr62308.c: New test.

From-SVN: r224649

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr62308.c [new file with mode: 0644]

index 3b3962a1584cf7421f80f2791c1d63c77511b9b4..c7d636b04658452e913e12c1116ac5278e4181db 100644 (file)
@@ -1,3 +1,7 @@
+2015-06-19  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * gcc.target/aarch64/pr62308.c: New test.
+
 2015-06-19  Mikael Morin  <mikael@gcc.gnu.org>
 
        PR fortran/66549
diff --git a/gcc/testsuite/gcc.target/aarch64/pr62308.c b/gcc/testsuite/gcc.target/aarch64/pr62308.c
new file mode 100644 (file)
index 0000000..1cf6e21
--- /dev/null
@@ -0,0 +1,6 @@
+/* { dg-do compile } */
+/* { dg-options "-mbig-endian" } */
+
+typedef int __attribute__((vector_size(16))) v4si;
+struct S2823 {v4si a;int b[0];};
+void checkx2823 (struct S2823 args){};