Hi, While backporting the fix for PR62308 from trunk to 4.9-branch, it appeared that a testcase would be useful.
Here it is. I'll send another email to request the backport of the fix + testcase to the 4.9-branch. Christophe. 2015-06-18 Christophe Lyon <christophe.l...@linaro.org> * gcc.target/aarch64/pr62308.c: New test. [my mailer seems to break the ChangeLog indentation]
/* { 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){};