1 /* { dg-do compile } */
2 extern char *x;
3 extern void foo (void);
f(char * s,char * se,char * mp,char * y)4 void f (char *s, char *se, char *mp, char *y)
5 {
6   while (s != se)
7     {
8       char *p;
9       foo ();
10       p = s + *mp;
11       *y++ = *p;
12       s = p;
13     }
14 
15   x = s;
16 }
17