PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / pr84321.c
blob8f8186b58f217de5b586895d0e925d9c20eb623d
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fwrapv" } */
4 int c;
6 void
7 foo (int *a, int b)
9 int e;
10 if (b == 1)
11 return;
12 for (e = 0; e < (b & ~7); e += 8)
14 for (++e; e < b;)
15 c = a[e];