module my_mod
...
contains
subroutine my_sub(...)
use realtype, only: my_real
real(kind = my_real), allocatable, dimension(:,:) :: my_array
end subroutine
end module
When the my_array is hoisted to the module in the transformation scripts (using HoistLocalArraysTrans) the my_real declaration isn't hoisted into the module, so the code doesn't compile.
In this code
When the
my_array
is hoisted to the module in the transformation scripts (usingHoistLocalArraysTrans
) themy_real
declaration isn't hoisted into the module, so the code doesn't compile.