[Bug fortran/12840] Unable to find scalarization loop specifier

c dot lemmen at fz-juelich dot de gcc-bugzilla@gcc.gnu.org
Mon Jul 19 09:05:00 GMT 2004


------- Additional Comments From c dot lemmen at fz-juelich dot de  2004-07-19 09:05 -------
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


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |c dot lemmen at fz-juelich
                   |                            |dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12840



More information about the Gcc-bugs mailing list