This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/29397] Constant logical expression with parameter array



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]