PR target/55146
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr46052.c
blobc32a93d07d812a8a03fe0c5184035ce8b70d8375
1 /* { dg-do compile } */
3 int i;
4 int a[2];
6 static inline char bar (void)
8 return i ? i : 1;
11 void foo (int n)
13 while (n--)
15 a[0] ^= bar ();
16 a[1] ^= bar ();
20 static inline char bar1 (void)
24 void foo1 (int n)
26 while (n--)
28 a[0] ^= bar1 ();
29 a[1] ^= bar1 ();
33 /* { dg-final { cleanup-tree-dump "vect" } } */