From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27447 invoked by alias); 8 Oct 2007 19:03:45 -0000 Received: (qmail 27334 invoked by uid 48); 8 Oct 2007 19:03:22 -0000 Date: Mon, 08 Oct 2007 19:03:00 -0000 Message-ID: <20071008190322.27333.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/33686] FORALL loop gives wrong result In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pault at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-10/txt/msg00686.txt.bz2 ------- 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