Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr63856.c
blob6a987e2c8ed0d924a4c533c3bd1b984e9059263d
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wno-psabi" } */
3 /* { dg-additional-options "-fPIC" { target fpic } } */
4 typedef int v2si __attribute__ ((vector_size (8)));
5 typedef short v4hi __attribute__ ((vector_size (8)));
7 int __attribute__ ((noinline, noclone)) f (v2si A, int N)
9 return ((v4hi) A)[N];
12 int __attribute__ ((noinline, noclone)) g (v2si A, int N)
14 return ((v4hi) A)[N];