From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F10923858D36; Mon, 20 Apr 2020 05:26:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F10923858D36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587360371; bh=D6BMWoFria2VURK+B+Cq2o3Z+AiBzUJyh18vEhHxiL0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lGUXMTZJxmOQJYf4HqTKsnk8PXf+pTYyihZ6DXOMHK3UycT+0Wk8owJ51qAXlhR7t ygDVC7bKsmi4dTS4DlVHxWfkOGdj0EpkxxEG204Bqmgm48HJJU8wnhfkqeTnHz6AQt 2EvQQROl3Ka8Pe20X/0YARzWD5kpjsNgAhaNxtaA= From: "mscfd at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component Date: Mon, 20 Apr 2020 05:26:11 +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: 9.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mscfd at gmx dot net X-Bugzilla-Status: NEW 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 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: Mon, 20 Apr 2020 05:26:12 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D93956 --- Comment #3 from martin --- Sorry, indeed the line 'n=3D10000' is missing. Not sure how that single lin= e got lost. There are a few possibilities as a work around for this simple case, but the context where I came upon this bug is (as often) more involved. There the g= et routine has an additional argument selecting the component of the type and = the aim was to put this selection process into a separate subroutine or functio= n.=