From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 192D23945C38; Tue, 8 Jun 2021 07:52:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 192D23945C38 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/99928] [OpenMP] reduction variable in combined target construct wrongly mapped as firstprivate Date: Tue, 08 Jun 2021 07:52:24 +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: 11.0 X-Bugzilla-Keywords: openmp, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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, 08 Jun 2021 07:52:25 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99928 --- Comment #21 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:245517470d6948a40cead9f5c312b8d79ac5c491 commit r12-1278-g245517470d6948a40cead9f5c312b8d79ac5c491 Author: Tobias Burnus Date: Tue Jun 8 09:51:09 2021 +0200 Fortran/OpenMP: Fix clause splitting for target/parallel/teams [PR99928] PR middle-end/99928 gcc/fortran/ChangeLog: * trans-openmp.c (gfc_add_clause_implicitly): New. (gfc_split_omp_clauses): Use it. (gfc_free_split_omp_clauses): New. (gfc_trans_omp_do_simd, gfc_trans_omp_parallel_do, gfc_trans_omp_parallel_do_simd, gfc_trans_omp_distribute, gfc_trans_omp_teams, gfc_trans_omp_target, gfc_trans_omp_tasklo= op, gfc_trans_omp_master_taskloop, gfc_trans_omp_parallel_master): = Use it. gcc/testsuite/ChangeLog: * gfortran.dg/gomp/openmp-simd-6.f90: Update scan-tree-dump. * gfortran.dg/gomp/scan-5.f90: Likewise. * gfortran.dg/gomp/loop-1.f90: Likewise; remove xfail. * gfortran.dg/gomp/pr99928-1.f90: Remove xfail. * gfortran.dg/gomp/pr99928-2.f90: Likewise. * gfortran.dg/gomp/pr99928-3.f90: Likewise. * gfortran.dg/gomp/pr99928-8.f90: Likewise.=