1 /* PR 20994 */ 2 /* { dg-do compile } */ foo(double * p,double * q)3 int foo(double* p, double* q) 4 { 5 int i=0; 6 7 for (; q!=p; ++q) 8 if (*q) 9 ++i; 10 11 return i; 12 } 13