We were failing tests where an ALLOCATE statement that allocated an
array had a non-character scalar MOLD argument.
I fixed this be merging the code for ALLOCATE statements with MOLD
and SOURCE arguments.
Differential D145418
[Flang] Fix ALLOCATE with MOLD where MOLD is a scalar PeteSteinfeld on Mar 6 2023, 1:24 PM. Authored by
Details We were failing tests where an ALLOCATE statement that allocated an I fixed this be merging the code for ALLOCATE statements with MOLD
Diff Detail
Event Timeline
|
I do not think you should reverse this. Even if unused by this test, this is still broken code. You could probably still expose the issue with a mold allocation to a character scalar allocatable.