https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83044
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-11-21 CC| |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Cleaned up testcase: /* PR tree-optimization/83044 */ /* { dg-do compile } */ /* { dg-options "-Wall -std=gnu89 -O2" } */ struct A { int b[0]; }; struct B { struct A c[0]; }; void bar (int *); void foo (void) { struct B d; bar (d.c->b); }