Mat,
Thanks, done. After some experimentation it appears it’s an issue with -i8 flag; we only use this on 64-bit systems so that explains why we didn’t see it on 32-bit. For completeness the example is:
SUBROUTINE test(n)
IMPLICIT NONE
INTEGER, INTENT(in) :: n
TYPE my_type
CHARACTER(len=80) :: cname
END TYPE my_type
TYPE(my_type), DIMENSION(n) :: p
TYPE(my_type), DIMENSION(SIZE(p,1),5) :: t
END SUBROUTINE test
and the result of compiling it without and with -i8 flag is
> pgf90 -c test.f90
> pgf90 -c -i8 test.f90
PGF90-S-0310-Adjustable array can not have automatic bounds specifiers - t (test.f90)
0 inform, 0 warnings, 1 severes, 0 fatal for test
Thanks,
Andy