1 /* PR tree-optimization/85257 */
2 /* { dg-do run { target int128 } } */
3 /* { dg-options "-O2 -fno-tree-ccp" } */
4 
5 typedef __int128 V __attribute__ ((__vector_size__ (16 * sizeof (__int128))));
6 
7 __int128 __attribute__ ((noipa))
foo(void)8 foo (void)
9 {
10   V v = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 };
11   return v[5];
12 }
13 
14 int
main()15 main ()
16 {
17   if (foo () != 6)
18     __builtin_abort ();
19   return 0;
20 }
21