https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103368
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gcc dot gnu.org --- Comment #7 from anlauf at gcc dot gnu.org --- (In reply to Paul Thomas from comment #6) > Created attachment 58277 [details] > Fix for this PR > > This was substantially fixed on 14-branch by the patch for PR49213. However, > there have been many subsequent changes to gfc_trans_structure_assign and > its subsidiary functions as the attachment demonstrates. > > I haven't attempted to do any weeding of the changes to separate those > responsible for fixing this PR. However, 13-branch regtests successfuly with > the patch applied. > > Should I commit this with a testcase or just close the PR? > > Paul Paul, can you summarize where you gathered the pieces of this patch from? >From a quick glance, r14-870 and r14-2160 (both yours) seem to be involved. Does it also fix any of the issues addressed by the respective PRs?