Commit bab0485
committed
[flang][runtime] Accommodate change of type in assignment to allocatable
When an assignment to a derived type allocatable requires (re)allocation,
its type may change to that of the right-hand side. The code didn't
update its derived type pointer, leading to the wrong type being
put into the descriptors created for elemental defined assignment
subroutine calls.
Fixes #141835.1 parent f20423f commit bab0485
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
| 333 | + | |
333 | 334 | | |
334 | 335 | | |
335 | 336 | | |
| |||
0 commit comments