Hello,
it seems that Fortran repeat intrinsic function fails when applied to allocatable characters. Tested with nvfortran 20.7. A minimal reproduction example follows:
program test
character(:), allocatable :: allocatable_string
character(5) :: non_allocatable_string
non_allocatable_string = ‘testa’
allocatable_string = non_allocatable_string
print*, repeat(non_allocatable_string, 2) ! it works
print*, repeat(allocatable_string, 2) ! it does not work
endprogram test
Thanks
Francesco