https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88735
Ev Drikos <drikosev at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #50129|0 |1 is obsolete| | --- Comment #4 from Ev Drikos <drikosev at gmail dot com> --- Created attachment 50137 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50137&action=edit Also a test case without allocatable components (In reply to martin from comment #0) Hello Martin, I'm also interest in seeing this bug fixed. The attached test case contains more fields in structure 's'. Yet, it's still a simple reproducer in the sense that a solution may also be relative simple in 'trans_scalar_assign'. If however the structure 's' contained allocatable components the solution would be more complex (again in trans_scalar_assign) and may have many side effects, as happens also with a general solution for the PR/64290. IMHO, there is a piece of code in assignments that perhaps needs redesign. Let's see if a prime maintainer will join the discussion here (or fix the bug). Hope this helps, Ev. Drikos