--- Additional Comments From tobi at gcc dot gnu dot org 2005-05-11 21:20
---
The code is meaningless, and it is forbidden by the many-to-one rule in 5.4.4
(of the draft Fortran 95 standard), the indices on the left-hand side are
constant throughout the execution of the FORALL, so every
--- Additional Comments From eedelman at acclab dot helsinki dot fi
2005-05-06 16:59 ---
(In reply to comment #2)
Reduced testcase (I tried not to reduce it too much):
subroutine difq3 (jmax, ngmax, ams)
implicit none
integer*4 :: jmax, ngmax
real*8,
--- Additional Comments From kargl at gcc dot gnu dot org 2005-05-07 03:33
---
(In reply to comment #2)
But note I get a warning with ICC:
fortcom: Warning: t.f, line 8: All active combinations of index-names are not
used within the variable
being defined (i.e., leftside) of this
--- Additional Comments From joe at confucius dot gnacademy dot org
2005-05-06 00:59 ---
Created an attachment (id=8826)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8826action=view)
Sample fortran file which generates error
--
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-06
01:24 ---
Reduced testcase (I tried not to reduce it too much):
subroutine difq3 (jmax, ngmax, ams)
implicit none
integer*4 :: jmax, ngmax
real*8, dimension(32) :: ams
real*8,