From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 60F99395C027; Sun, 14 Jun 2020 13:04:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 60F99395C027 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1592139870; bh=nU3Wnu6532lFzFS0BTFLidZxQllcpFarZx59XobguZ8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hcTSLXKOEIGHWjpmNsBdgzqEELW5T0jdrf/eVDKTy/jSYSXlE9BvPiRWzrxAxvMCQ QDj0AxnvYxkeM8PudrsnX6OVCJnNjwYkCXt4f3uufF1sfwx9JLN4A3Pz0dMrbaMy6O 8/vZNEFoyIs6nkD3TthGKC9GP0/L/dBsKCKfSZvY= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95503] [9/10/11 Regression] ICE in gfc_is_simply_contiguous, at fortran/expr.c:5844 Date: Sun, 14 Jun 2020 13:04:30 +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-invalid-code X-Bugzilla-Severity: normal 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: 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: Sun, 14 Jun 2020 13:04:30 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95503 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:152aaef6feb909689132c74bebb01420dc7776e3 commit r9-8677-g152aaef6feb909689132c74bebb01420dc7776e3 Author: Harald Anlauf Date: Thu Jun 11 15:48:56 2020 +0200 PR fortran/95503 - Fix ICE in gfc_is_simply_contiguous, at fortran/expr.c:5844 The check for assigning a pointer that cannot be determined to be simply contiguous at compile time to a contiguous pointer does not need to be invoked if the lhs of the assignment is known to have conflicting attributes. 2020-06-11 Harald Anlauf gcc/fortran/ PR fortran/95503 * expr.c (gfc_check_pointer_assign): Skip contiguity check of r= hs of pointer assignment if lhs cannot be simply contiguous. gcc/testsuite/ PR fortran/95503 * gfortran.dg/pr95503.f90: New test. (cherry picked from commit 87af4f40453a9c84363bde5d9a58466de7fbee2e)=