[Bug tree-optimization/93776] [10 Regression] ICE in verify_sra_access_forest, at tree-sra.c:2326
jamborm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 18 12:49:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93776
--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> ---
x86_64 testcase (reproduces at -O1):
struct empty {};
struct s { int i; };
struct z
{
int j;
struct empty e;
struct s s;
};
void bar (struct z);
void foo (void)
{
struct z z, z2;
z2.s.i = 1;
z = z2;
bar (z);
z.e = (struct empty) {};
}
More information about the Gcc-bugs
mailing list