PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pr80500.c
blobae3ac0184be1044a48748bf68083cb1dfc16c56b
1 /* PR rtl-optimization/80500 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -funroll-loops -ftree-loop-if-convert -fvariable-expansion-in-unroller" } */
5 signed char v;
7 void
8 foo (int x)
10 while (x != 0)
12 v = (x >= 0) + 1;
13 ++x;