]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr96298.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr96298.c
CommitLineData
d850dec9
RS
1/* PR rtl-optimization/96298 */
2/* { dg-do run } */
3/* { dg-options "-O2 -fno-tree-forwprop" } */
4
5typedef unsigned char __attribute__ ((__vector_size__ (8))) v64u8;
6
7v64u8 a;
8
9int
10main (void)
11{
12 v64u8 x = (a - 1) ^ -a;
13 for (unsigned i = 0; i < sizeof (x); i++)
14 if (x[i] != 0xff)
15 __builtin_abort ();
16 return 0;
17}
18