This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/21409] Attached fortran 95 code generates error
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2005 21:20:24 -0000
- Subject: [Bug fortran/21409] Attached fortran 95 code generates error
- References: <20050506005804.21409.joe@confucius.gnacademy.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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