PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pr84899.c
blob0706fecada391b652acbd7f5ff9a2109f9690cab
1 /* PR target/84899 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -funroll-all-loops -fno-move-loop-invariants" } */
5 void
6 foo (int x)
8 int a = 1 / x, b = 0;
10 while ((a + b + 1) < x)
11 b = __INT_MAX__;