This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33686] FORALL loop gives wrong result
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Oct 2007 19:03:22 -0000
- Subject: [Bug fortran/33686] FORALL loop gives wrong result
- References: <bug-33686-7816@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pault at gcc dot gnu dot org 2007-10-08 19:03 -------
(In reply to comment #5)
> > Now we need only to find out which compiler is right and whether the program
> > itself is valid.
> After some contemplating, I agree that the program is valid (let's see whether
> NAG's support agrees as well).
>
Dick Hendrickson was quite right. The standard is unequivocal that not only is
this valid code but the dependency has to be resolved.
Cheers
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33686