https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58416
--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Richard Biener from comment #13) > Created attachment 58718 [details] > patch I am testing > > Paul - can you test if this patch resolves the emacs issue? Using root->grp_same_access_path doesn't seem to be a perfect fit. For gcc.dg/tree-ssa/sra-6.c we're now doing Changing the type of a replacement for b offset: 0, size: 64 to an integer. But maybe that's OK or we need a different flag to tell whether the access paths are the same or just the tail of the access path, so 's' and 's.a' would be OK for a root 's.a.f', allowing aggregate (sub-)copies but that would assume we copy field-wise which we don't do - we RTL expand to (inlined) memcpy which is also not semantically the same for x87 float fields (but would it have to be?)