This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/12366] array assignment fails
- From: "paulthomas2 at wanadoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Dec 2004 09:54:52 -0000
- Subject: [Bug fortran/12366] array assignment fails
- References: <20030922131506.12366.tcc@sentex.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From paulthomas2 at wanadoo dot fr 2004-12-10 09:54 -------
For what it is worth:
program testg
real, dimension(5) :: a=(/ 1.5,2.1,3.2,4.6,5.3 /)
integer,dimension(3) :: i
i=(/ 2,3,1 /)
print *, a((/ 2,3,1 /)) ! ICEs
! print *, a(i) !works fine
end
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12366