This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/12840] Unable to find scalarization loop specifier
- From: "c dot lemmen at fz-juelich dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2004 08:15:44 -0000
- Subject: [Bug fortran/12840] Unable to find scalarization loop specifier
- References: <20031030122848.12840.jv244@cam.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From c dot lemmen at fz-juelich dot de 2004-07-19 08:15 -------
Same problem with this code snippet
(compiled gcc-3.5.0 20040719 / i486-suse-linux)
SUBROUTINE test_spread(nlats,nlons)
IMPLICIT NONE
INTEGER, intent(in) :: nlats, nlons
INTEGER :: npoints,i
INTEGER, dimension(nlats*nlons) :: index
npoints=nlats*nlons
index=reshape(spread((/(i,i=1,nlats)/),dim=2,ncopies=nlons),(/npoints/))
return
END subroutine test_spread
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12840