2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr85257.c
blob3bf07b3a5db52ce0bee7ba9dcfb441dcf30d1675
1 /* PR tree-optimization/85257 */
2 /* { dg-do run { target int128 } } */
3 /* { dg-options "-O2 -fno-tree-ccp" } */
5 typedef __int128 V __attribute__ ((__vector_size__ (16 * sizeof (__int128))));
7 __int128 __attribute__ ((noipa))
8 foo (void)
10 V v = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 };
11 return v[5];
14 int
15 main ()
17 if (foo () != 6)
18 __builtin_abort ();
19 return 0;