https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115210
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |jamborm at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Last reconfirmed| |2024-05-24 Ever confirmed|0 |1 Keywords| |missed-optimization --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- SRA has a limit on the size of structures decomposed and GCC does not have a aggregate copy propagation pass but relies on SRA. There's --param sra-max-scalarization-size-{Osize,Ospeed} Being able to perform copy coalescing(!) for A = B when B dies at the assignment and A becomes live without this limit and without decomposing but from SRA analysis would be nice.