PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / pr50827.c
blob5d258bfcf0a133e0d29b0e4ef5de23a3a7194203
1 /* PR debug/50827 */
2 /* { dg-do compile } */
3 /* { dg-options "-g -O2 -funroll-loops" } */
5 void
6 foo (int w, int x, int *y, int *z)
8 float f;
9 while (w--)
11 f = x;
12 if (y)
13 *y = (__INTPTR_TYPE__) y + w;
14 if (z)
15 *z = w;