From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E9ECF3858D1E; Sun, 9 Apr 2023 01:46:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E9ECF3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681004806; bh=pA6RHpxbU1JKvtdnyQNPmWjDwYMd8gx4sSiIfmiJe3U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pxC6mfsqiuhZrdBpLA4B6M2nXl9U3B4ffBpCljj4bon94vECh0hAwzGEHFFssjIJ3 I+wSVvPxG8ohNrdCQXfJTvTXbWT/bRxpcZFCnf/kg4qAj7xPnTsGP2BRyRlPcbYepn u+pc7+Y7zDy1odtbzOUGrm2VQcggIPzpFhgXqh8o= From: "jvdelisle at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/109453] [REGRESSION] UBOUND incorrect when used in declartion of another array Date: Sun, 09 Apr 2023 01:46:45 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at gcc dot gnu.org 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: 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=3D109453 --- Comment #5 from Jerry DeLisle --- Correction, this must be a duplicate of something. With gfortran gcc version 12.2.1 20221121 I get the error. With gfortran gcc version 12.2.1 20230327 it is fixed. As far as I can tell it has been fixed back to version 10 recently. I dont have nything farther back. I am not sure which PR resolved it though. The fix has not made it out to Fedora 37 release yet.=