https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89567
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-03-04 CC| |marxin at gcc dot gnu.org, | |mjambor at suse dot cz Component|tree-optimization |ipa Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- You are looking for IPA DSE - by marshalling through a struct you make GCCs job a lot harder... "pro-active" IPA-SRA might help here, or making its analysis stronger by looking for (partial) aggregate argument usage... Don't hold your breath.