------- Comment #5 from pault at gcc dot gnu dot org 2007-04-13 22:26 ------- INTEGER :: K(3)=1 INTEGER, PARAMETER :: J(3)=(/1,2,0/) write(6,*) MAXLOC(K,J<1) END
works just fine. I would say that the problem is that the initializtion expression is never getting turned into an EXPR_ARRAY. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29397