From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C079E3858408; Fri, 1 Sep 2023 20:42:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C079E3858408 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1693600950; bh=vKlEDacMCovfc4rxPbHDNzbG9hQujfNqSE5u4huq5CM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=K0MzkAPysJEW3cxdOxu4d8ApCZwpIPWfL9pI7CYE2PVUgGdiSm7bMa6uSz+EhczDp f3LNdkjmwUkyTu/Dlx5DHHDm+KPTCzW4uVmHE8brlPHg63xCjp4KPjo0n/Dc9wWG/i IwqTm5Zw56alngT346e6NmsQvNuKgfd3wgJ2TwAo= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/31059] bounds-check does not detect nonconforming assignment arrays Date: Fri, 01 Sep 2023 20:42: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: 4.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: anlauf 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=3D31059 --- Comment #12 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:6f06152541d62ae7c8579b7d7bf552be19e15b05 commit r14-3633-g6f06152541d62ae7c8579b7d7bf552be19e15b05 Author: Harald Anlauf Date: Thu Aug 31 22:19:58 2023 +0200 Fortran: runtime bounds-checking in presence of array constructors [PR31059] gcc/fortran/ChangeLog: PR fortran/31059 * trans-array.cc (gfc_conv_ss_startstride): For array bounds checking, consider also array constructors in expressions, and use their shape. gcc/testsuite/ChangeLog: PR fortran/31059 * gfortran.dg/bounds_check_fail_5.f90: New test.=