[Bug tree-optimization/83044] [8 Regression] ice in contains_struct_check
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 21 12:28:00 GMT 2017
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);
}
More information about the Gcc-bugs
mailing list