https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71872
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Will change.
While:
/* PR tree-optimization/71872 */
struct __attribute__((may_alias)) S { int *a; };
int b;
void
foo (int *x, struct S *y)
{
int i;
for (i = 0; i < 16; i++)
{
int *a = &b;
if (*x)
*(struct S *) y = *(struct S *) &a;
}
}
doesn't ICE, it has:
*y_7(D) = VIEW_CONVERT_EXPR<struct S>(&b);
in the IL.
