------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-24 14:21 ------- Here is a C testcase: struct a { int aa[4]; }; struct b { struct a aa; };
void foo(struct b *bb) { int i; for (i=0; i<4; ++i) { struct a *aa = &bb->aa; struct a *aa1 = aa; struct a *aa2 = aa1; int *d = &aa2->aa[i]; *d = 0; } } I think this is caused by the forwprop changes. (Notice the extra variables to reproduce this bug). -- What |Removed |Added ---------------------------------------------------------------------------- CC| |law at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21734