1 /* PR tree-optimization/94621 */ 2 3 struct S { int c, e[]; }; 4 5 static inline int foo(struct S * m,int r,int c)6foo (struct S *m, int r, int c) 7 { 8 int (*a)[][m->c] = (int (*)[][m->c])&m->e; 9 return (*a)[r][c]; 10 } 11 12 void bar(struct S * a)13bar (struct S *a) 14 { 15 foo (a, 0, 0); 16 } 17