From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B2253385E445; Fri, 15 Mar 2024 19:37:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B2253385E445 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710531449; bh=w1iGOMlvnNIzilsRQZTEn/rK/qrs6QhmUcvrQSI4ags=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mIw0wr2h/yg/DpQHmbp/uJRz2Qep0EFdHAuVhEwjhoEg/RWst6K6T8Ltqxefw9kFt uJlKoFHv4DbPWc06Iq6avCi/N6aXmk7mNtyp291eZSwqmdfYZ/6KHdyKy1RcIeyZr+ 8nEpkPg6O1leEe14tdzzlC4jbK05kqfDSWEhwzOY= From: "mikael at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/111781] Fortran compiler complains about variable bound in array dummy argument Date: Fri, 15 Mar 2024 19:37:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: patch X-Bugzilla-Severity: normal X-Bugzilla-Who: mikael at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mikael 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111781 --- Comment #7 from Mikael Morin --- (In reply to Mikael Morin from comment #6) > I need to reevaluate it; there were other regressions if I remember > correctly. The changes are these: PASS->FAIL: gfortran.dg/graphite/pr107865.f90 -O (test for excess errors) PASS->FAIL: gfortran.dg/pr101267.f90 -O (test for excess errors) PASS->FAIL: gfortran.dg/pr112404.f90 -O (test for excess errors) PASS->FAIL: gfortran.dg/pr78061.f -O (test for excess errors) PASS->FAIL: gfortran.dg/pr79315.f90 -O (test for excess errors) PASS->FAIL: gfortran.dg/pr98016.f90 -O (test for excess errors) PASS->FAIL: gfortran.dg/vect/pr90681.f -O (test for excess errors) PASS->FAIL: gfortran.dg/vect/pr97761.f90 -O (test for excess errors) PASS->FAIL: gfortran.dg/vect/pr99746.f90 -O (test for excess errors) FAIL: gfortran.dg/pr79315.f90 -O (test for excess errors) Excess errors: /home/mik/gcc/gccx/src/gcc/testsuite/gfortran.dg/pr79315.f90:18:18: Error: Variable 'ims' cannot appear in the expression at (1) FAIL: gfortran.dg/pr101267.f90 -O (test for excess errors) Excess errors: /home/mik/gcc/gccx/src/gcc/testsuite/gfortran.dg/pr101267.f90:5:19: Error: Variable 'ime' cannot appear in the expression at (1) /home/mik/gcc/gccx/src/gcc/testsuite/gfortran.dg/pr101267.f90:5:24: Error: Variable 'in' cannot appear in the expression at (1) FAIL: gfortran.dg/pr112404.f90 -O (test for excess errors) Excess errors: /home/mik/gcc/gccx/src/gcc/testsuite/gfortran.dg/pr112404.f90:5:19: Error: Variable 'ime' cannot appear in the expression at (1) /home/mik/gcc/gccx/src/gcc/testsuite/gfortran.dg/pr112404.f90:5:24: Error: Variable 'in' cannot appear in the expression at (1) FAIL: gfortran.dg/pr78061.f -O (test for excess errors) Excess errors: /home/mik/gcc/gccx/src/gcc/testsuite/gfortran.dg/pr78061.f:4:13: Error: Variable 'ldc' cannot appear in the expression at (1) FAIL: gfortran.dg/pr98016.f90 -O (test for excess errors) Excess errors: /home/mik/gcc/gccx/src/gcc/testsuite/gfortran.dg/pr98016.f90:16:16: Error: Variable 'n' cannot appear in the expression at (1) FAIL: gfortran.dg/graphite/pr107865.f90 -O (test for excess errors) Excess errors: /home/mik/gcc/gccx/src/gcc/testsuite/gfortran.dg/graphite/pr107865.f90:7:18: Error: Variable 'n' cannot appear in the expression at (1) FAIL: gfortran.dg/vect/pr90681.f -O (test for excess errors) Excess errors: /home/mik/gcc/gccx/src/gcc/testsuite/gfortran.dg/vect/pr90681.f:5:19: Error: Variable 'norbs' cannot appear in the expression at (1) FAIL: gfortran.dg/vect/pr97761.f90 -O (test for excess errors) Excess errors: /home/mik/gcc/gccx/src/gcc/testsuite/gfortran.dg/vect/pr97761.f90:11:36: Er= ror: Variable 'inout' cannot appear in the expression at (1) FAIL: gfortran.dg/vect/pr99746.f90 -O (test for excess errors) Excess errors: /home/mik/gcc/gccx/src/gcc/testsuite/gfortran.dg/vect/pr99746.f90:6:21: Err= or: Variable 'lda' cannot appear in the expression at (1)=