This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29400] ANY and COUNT used on parameter arrays
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2006 12:44:16 -0000
- Subject: [Bug fortran/29400] ANY and COUNT used on parameter arrays
- References: <bug-29400-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-10-09 12:44 -------
And while I'm there, a few possibly related bugs:
$ cat pr29400-2.f90
integer,parameter :: i(1,1) = 0
logical :: l(2)
l = any(i==1,2)
end
$ gfortran pr29400-2.f90 && ./a.out
Fortran runtime error: rank of return array incorrect
$ cat pr29400-3.f90
integer,parameter :: i(1,1) = 0
logical :: l
l = any(i==1)
end
$ gfortran pr29400-3.f90 && ./a.out
pr29400-3.f90: In function ?MAIN__?:
pr29400-3.f90:1: internal compiler error: in gfc_conv_intrinsic_anyall, at
fortran/trans-intrinsic.c:1339
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.1.2 4.2.0
Last reconfirmed|2006-10-09 12:36:31 |2006-10-09 12:44:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29400