https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92706
Bug ID: 92706
Summary: SRA confuses FRE
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
Reduced from one of the issues in PR92645
struct S { int i[4]; } __attribute__((aligned(128)));
typedef __int128_t my_int128 __attribute__((may_alias));
__int128_t load (void *p)
{
struct S v;
__builtin_memcpy (&v, p, sizeof (struct S));
struct S u;
u = v;
struct S w;
w = u;
return *(my_int128 *)&w;
}