[Bug fortran/29397] Constant logical expression with parameter array
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Apr 13 21:26:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list