https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86042
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|UNCONFIRMED |NEW Last reconfirmed| |2018-06-05 CC| |jakub at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Target Milestone|--- |8.2 Ever confirmed|0 |1 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. Note this was a correctness fix so we properly copy padding given aggregate assignment in GIMPLE is not a block copy if done for a structure type. For this case in question it shouldn't have made a difference though. We seem to invalidate the string info for some reason after visiting the second store.