From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5195 invoked by alias); 9 Jul 2011 15:59:25 -0000 Received: (qmail 5184 invoked by uid 22791); 9 Jul 2011 15:59:24 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_ZJ X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 09 Jul 2011 15:59:10 +0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/48926] gfortran.dg/coarray/image_index_1.f90 -fcoarray=single -O2 (test for excess errors) X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sat, 09 Jul 2011 15:59:00 -0000 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: 2011-07/txt/msg00704.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48926 --- Comment #9 from Uros Bizjak 2011-07-09 15:59:07 UTC --- [uros@localhost coarray]$ ~/gcc-build/gcc/f951 -O2 -fcoarray=single -quiet image_index_1.f90 image_index_1.f90:84.26: index1 = image_index(a, [3, -4, 88] ) 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 3 image_index_1.f90:85.26: index2 = image_index(b, [-1, 0] ) 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 2 image_index_1.f90:90.26: index1 = image_index(a, [3, -3, 88] ) 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 3 image_index_1.f90:91.26: index2 = image_index(b, [0, 0] ) 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 2 image_index_1.f90:29.24: index1 = image_index(a, [3, -4, 88] ) 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 3 image_index_1.f90:30.24: index2 = image_index(b, [-1, 0] ) 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 2 image_index_1.f90:35.24: index1 = image_index(a, [3, -3, 88] ) 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 3 image_index_1.f90:36.24: index2 = image_index(b, [0, 0] ) 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 2 image_index_1.f90:45.24: index1 = image_index(d, [-1, 1] ) 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 2 image_index_1.f90:46.24: index2 = image_index(d, [0, 1] ) 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 2 image_index_1.f90:53.24: index1 = image_index(e, [-1, 3] ) 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 2 image_index_1.f90:54.24: index2 = image_index(e, [-1, 4] ) 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 2 image_index_1.f90:67.24: index1 = image_index(a, [1, 0, 0] ) 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 3 image_index_1.f90:68.24: index2 = image_index(a, [3, 1, 2] ) ! = 213, yeah! 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 3 image_index_1.f90:69.24: index3 = image_index(a, [3, 1, 0] ) ! = 13 1 Error: The number of array elements of the SUB argument to IMAGE_INDEX at (1) shall be 1 (corank) not 3