From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DAE8B3856DE0; Wed, 12 Oct 2022 08:03:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAE8B3856DE0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665561803; bh=oqfbX9jtwADAJ0Vpmt1wHSVMzO3dQMOScXPAayVa5e8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Mrek5vUhysbYSQST9BPsC/4Lr+CeddUTRX7Xfgn9fOkPFcveC16QOIuLgELgkYHnZ d+wl/o9ZNHvg16mI+MJ0JJcOHMmw5IDq/bnJnXB8xqLiE8y+v+aZ2DOFizYirW/flH 675d5XHxUgaDeD714x4Je6RcPnOARS0RJ2gGeOio= From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/107227] Compiler bug in private allocatable array in OpenACC compute statement Date: Wed, 12 Oct 2022 08:03:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code, openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107227 --- Comment #2 from Thomas Schwinge --- (In reply to Spencer Bryngelson from comment #0) > 5 | !$acc parallel loop private(arr(1:10)) > | 1 > Error: Syntax error in OpenMP variable list at (1) That's because, at this time, OpenACC subarray specifications do not apply = to 'private' clauses, but only to data clauses. This is being discussed in "private clause with subarrays" (only available to members of the GitHub OpenACC organization).=