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/12840] Unable to find scalarization loop specifier


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


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