From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CBF303858D35; Mon, 8 May 2023 15:51:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CBF303858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683561105; bh=HKGHDkUrRPgJC8GXrhIOZ5nNKtW+Ha11GPiIutjzwcc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=T2bcMpPDrJEtMJcc1M1jEyjPrllh7pO8X6lCZxNFst7fRF4Cgx6hNs6Z3IoNnrDbv fNc05e/qO0vcKSOKewpLmWTR+yMUoVmlViYthiiZEU4uXoUAs2WUJ3D+1p3K3DnHnN B7HTbnVxODzua3VRXMGX1u8l+6HUsJ+oXYoxr39E= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/109767] [OpenMP][5.2] Missing loop-variable privatization inside 'teams' Date: Mon, 08 May 2023 15:51:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: openmp, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109767 --- Comment #5 from Jakub Jelinek --- Or even #pragma omp teams { int i, j; #pragma omp loop bind(teams) for (i =3D 0; i < 16; ++i) for (j =3D 0; j < 16; ++j) ; }=