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/21409] Attached fortran 95 code generates error


------- 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 element of the LHS
would get assigned the elements that are looped through on the RHS in an
unspecified order.

Closing as INVALID. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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