From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9E58638708B9; Thu, 20 Aug 2020 17:18:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9E58638708B9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597943892; bh=mNTuQ0s7bPcigkCWfCliM4VOpa57eeQglT0ji5AQDcU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tqIX25LeG3SSZRrAAPfYCB5Yxo2ZhtMdCrw8FngMxgCH9MXY90GtmDk8naXa4X0aR SheJ5oT2ZVTLvse0LXudZ2An80B1dCfnhJM7/BTW5MFjPh2w5QqtvTxfPE4bNkIVh+ MwSsGdNM0dOhP/hcasFVtosKOIgqFFDmzktLtqwE= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/96100] [9/10/11 Regression] ICE in gimplify_expr, at gimplify.c:14638 Date: Thu, 20 Aug 2020 17:18:12 +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: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.4 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2020 17:18:12 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96100 --- Comment #3 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:300ef2fcc10e98359d14654be23bbb84a5d141e1 commit r11-2785-g300ef2fcc10e98359d14654be23bbb84a5d141e1 Author: Paul Thomas Date: Thu Aug 20 18:17:59 2020 +0100 This patch fixes PRs 96100 and 96101. 2020-08-20 Paul Thomas gcc/fortran PR fortran/96100 PR fortran/96101 * trans-array.c (get_array_charlen): Tidy up the evaluation of the string length for array constructors. Avoid trailing array references. Ensure string lengths of deferred length components are set. For parentheses operator apply string length to both the primary expression and the enclosed expression. gcc/testsuite/ PR fortran/96100 PR fortran/96101 * gfortran.dg/char_length_23.f90: New test.=