1 /* PR tree-optimization/47265 */ 2 3 struct S 4 { 5 char a[3]; 6 char b[3]; 7 }; 8 9 void bar(char * dst,const char * src,unsigned n)10bar (char *dst, const char *src, unsigned n) 11 { 12 while (n--) 13 *dst++ = *src ? *src++ : ' '; 14 } 15 16 void foo(struct S * s)17foo (struct S *s) 18 { 19 bar (s->a, s->b, 3); 20 } 21