1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/* { dg-do compile } */ void foo (int *, int *); int bar () { int a = 0; int b = 0; if (b != 0) { int ax = a; int bx = b; while (bx != 0) { int tem = ax % bx; ax = bx; bx = tem; } } foo (&a, &b); }