From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47889 invoked by alias); 8 Oct 2015 12:20:08 -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 Received: (qmail 47852 invoked by uid 48); 8 Oct 2015 12:20:04 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/67749] FAIL: gcc.dg/ifcvt-2.c scan-rtl-dump ce1 "3 true changes made" Date: Thu, 08 Oct 2015 12:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ktkachov at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg00585.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67749 --- Comment #3 from Uro=C5=A1 Bizjak --- Please note that with -m32 we have additional testsuite FAIL [1] with ifcvt-3.c: FAIL: gcc.dg/ifcvt-2.c scan-rtl-dump ce1 "3 true changes made" FAIL: gcc.dg/ifcvt-3.c scan-rtl-dump ce1 "3 true changes made" [1] https://gcc.gnu.org/ml/gcc-testresults/2015-10/msg00812.html >>From gcc-bugs-return-499031-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 08 12:21:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 49212 invoked by alias); 8 Oct 2015 12:21:44 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 49174 invoked by uid 48); 8 Oct 2015 12:21:41 -0000 From: "john.donners at surfsara dot nl" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/67894] New: bounds of assumed-rank dummy argument not equal to actual argument Date: Thu, 08 Oct 2015 12:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: john.donners at surfsara dot nl X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg00586.txt.bz2 Content-length: 1629 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67894 Bug ID: 67894 Summary: bounds of assumed-rank dummy argument not equal to actual argument Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: john.donners at surfsara dot nl Target Milestone: --- the draft Fortran 2015 standard reads: An actual argument of any rank may correspond to an assumed-rank dummy argument. The rank and shape of the dummy argument are the rank and shape of the corresponding actual argument. If the rank is nonzero, the lower and upper bounds of the dummy argument are those that would be given by the intrinsic functions LBOUND and UBOUND respectively if applied to the actual argument, except that when the actual argument is assumed-size, the upper bound of the last dimension of the dummy argument is 2 less than the lower bound of that dimension. (section 12.5.2.4, paragraph 15) Here is a small test program: program assumedrank implicit none real,dimension(:,:,:),allocatable :: bb real,dimension(3:9,10:15,16:32) :: c allocate(bb(3:9,10:15,16:32)) print*, 'Actual argument, allocatable, lbound=',lbound(bb) call p(bb) print*, 'Actual argument, lbound=',lbound(c) call p(c) contains subroutine p(a) real,dimension(..) :: a print*,'Dummy argument, lbound=',lbound(a) end subroutine p end gfortran 5.2.0 returns 1 1 1 as the lower bounds, both for the allocatable and the fixed-shape array.