From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B97A23858D33; Sun, 9 Apr 2023 01:42:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B97A23858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681004527; bh=lk0r0pGOnSGT0GrV6dEoPFbjfLSP6jSOXbb6/Eyr4ZU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AabSZCibDNKYn9MM6+sPSxRZWrC5J/u+d3ZgrYuMINNF3h77FzmvZQfXq8PzxtU+Q E6WYVRqnDyjZspa385i+RuK9MPG78x1DHEL8Q3Jj64ODR+o4OE/Gpvp0hploy7QEvw 8dIVhzQn1+zGsKGymE42UlJRnEBNL2cjLkkb6eRY= From: "sgk at troutmask dot apl.washington.edu" 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:42:06 +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: sgk at troutmask dot apl.washington.edu 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 #4 from Steve Kargl -= -- On Sun, Apr 09, 2023 at 01:25:16AM +0000, jvdelisle at gcc dot gnu.org wrot= e: > $ gfc -v > Using built-in specs. > COLLECT_GCC=3Dgfc > COLLECT_LTO_WRAPPER=3D/home/jerry/dev/usr/libexec/gcc/x86_64-pc-linux-gnu= /13.0.1/lto-wrapper > Target: x86_64-pc-linux-gnu > Configured with: ../trunk/configure --prefix=3D/home/jerry/dev/usr > --enable-languages=3Dc,c++,fortran --enable-libgomp --disable-bootstrap > Thread model: posix > Supported LTO compression algorithms: zlib > gcc version 13.0.1 20230407 (experimental) (GCC)=20 >=20 > So that makes this a regression I believe. I get the expected output with=20 GNU Fortran (GCC) 13.0.1 20230408 (experimental) that I built this morning with Paul's large patch. It definitely fails with=20 GNU Fortran (FreeBSD Ports Collection) 11.3.0 I don't have 12.x installed to test.=