Jaysukh Makvana
Jaysukh Makvana
The same code with minor modification for integer array is working fine with both LFortran and GFortran. ```fortran program main implicit none integer, parameter :: int_size = selected_int_kind(8) integer(int_size), allocatable...
@manidhar2006 Changing indexing from 0-based indexing to 1-based indexing also giving same output. So, I think it's not the issue.
Further MRE: ```fortran program main implicit none integer, parameter :: int_size = selected_int_kind(8) character(len=4), allocatable :: array(:) integer(int_size) :: i, j character(len=4) :: key array = ['zulu', 'echo', 'brav', 'alph',...
If I do the same thing without subroutine then it works fine. ```fortran program main use iso_fortran_env, only: int8, int64 implicit none integer, parameter :: int_size = int64 integer(int8), allocatable...
I am closing this issue as it is working fine now.