pgfortran -Mallocatable=03 bug3.f90 PGF90-S-0000-Internal compiler error. transform_call:Array Expression can't be here 168 (bug3.f90: 35) Lowering Error: bad ast optype in expression [ast=163,asttype=12,datatype=0] PGF90-F-0000-Internal compiler error. Errors in Lowering 1 (bug3.f90: 39) PGF90/x86-64 Linux 19.10-0: compilation aborted
Known issue: https://www.pgroup.com/userforum/viewtopic.php?f=4&t=7635 Fixed in 20.1