/* PR tree-optimization/43560 */struct S
{int a, b;char c[10];};__attribute__((noinline))voidtest(struct S *x){while(x->b >1&& x->c[x->b -1] =='/'){
x->b--;
x->c[x->b] ='\0';}}const struct S s = {0,0,""};intmain(){struct S *p;asm("":"=r"(p) :"0"(&s));test(p);return0;}