From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 320DF385782D; Tue, 15 Sep 2020 07:39:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 320DF385782D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1600155541; bh=otJf9aUBPTwyhq/79kf2Cb0P46RJ+1VPwdyy0GEmOWA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lgY2CRQvN2enS5otxI8h10ATh1BlxURHFBaW2YxHuvoDpMrkrsbJRbO0dokuZY9vc iYkhQURBXeWXrWsErW4ld/KD+YH5bsUhn489f8voY3ij+CtYbJpMXcewC/uVmWk9yw nJUzYB1YY8h4DYzU0VQeIZtvblFg7rdT5D20DOMI= From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/96668] [OpenMP] Re-mapping allocated but previously unallocated allocatable does not work Date: Tue, 15 Sep 2020 07:39:01 +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: openmp, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org 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 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: Tue, 15 Sep 2020 07:39:01 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96668 --- Comment #6 from Tobias Burnus --- Fixed for pointer/allocatable arrays. Still to be done: scalar pointers/allocatable; here, one needs to be carefu= l as pointer/always pointer is already used for, e.g., struct mapping =E2=80=93 = and always pointer currently assumes that the pointer is already present (assert; change?). Plus: ensure the refcounting works correctly.=