From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6741B385840E; Wed, 28 Feb 2024 19:38:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6741B385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709149099; bh=vuw9dKsjyRS42Av5LsesaykpgQNx8UKfliwoz5BYeWY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VnR5H9MXijqa2YhOItjoRXnfBqJCBHcKHjWaiAK+SxONy+dZk/nFj7jpe1k4hVGax hT9CQLNUr0cyYOWZfIAVOcB29nUCSFWerCxfiQ9iU9R+LR4SyRUlgsqeOHU7Vnd9NI M36aR3eCtZC4RAKpzlywFFMoX6cPz9YS0hDjhaC8= 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: Wed, 28 Feb 2024 19:38:18 +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: attachments.created 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 #6 from Mikael Morin --- Created attachment 57571 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57571&action=3Dedit Tentative patch (In reply to anlauf from comment #5) > (In reply to anlauf from comment #4) > > Thus I suggest to fix the testcase by one of the options suggested abov= e. >=20 > Testcase gfortran.dg/pr101026.f is corrected at r14-9220. Ah, yes, thanks. I attach above the tentative patch that I tried before. I need to reevaluate it; there were other regressions if I remember correct= ly.=