PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr71626-1.c
blob26cfa9650e0829410bfa8c39ae54a1ca66b66953
1 /* PR middle-end/71626 */
3 typedef __INTPTR_TYPE__ V __attribute__((__vector_size__(sizeof (__INTPTR_TYPE__))));
5 __attribute__((noinline, noclone)) V
6 foo ()
8 V v = { (__INTPTR_TYPE__) foo };
9 return v;
12 int
13 main ()
15 V v = foo ();
16 if (v[0] != (__INTPTR_TYPE__) foo)
17 __builtin_abort ();
18 return 0;