From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 48B473848420; Fri, 4 Jun 2021 12:04:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 48B473848420 From: "burnus 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: Fri, 04 Jun 2021 12:04:02 +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: 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: Fri, 04 Jun 2021 12:04:02 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99928 --- Comment #20 from Tobias Burnus --- (In reply to CVS Commits from comment #19) > The master branch has been updated by Tobias Burnus : > commit r12-1207-g848a36032c8876ee45d5c81efeddb1bc657ac95c > Fortran/OpenMP: omp loop's BIND clause - fix typo ... and additionally: commit r12-1211-gad3f0ad4bafe377072a53ded468fd9948e659f46 gfortran.dg/gomp/pr99928-5.f90: Use proper iteration var Missing / TODO on the *Fortran* side: * gcc/testsuite/gfortran.dg/gomp/pr99928-9.f90 gcc/testsuite/gfortran.dg/gomp/pr99928-10.f90 i.e. Fortran version of those C/C++ test case (=E2=86=92 attachment 50810) * reduction(+: arr(1:2)) ! Array slice support * defaultmap(none) ! =E2=86=92 PR90742 * xfails: - $omp parallel master taskloop (simd) parallel misses shared(...) for firstprivate/lastprivate/reduction variable=20 - 'omp target ... ' misses map(tofrom:) for firstprivate/lastprivate/reduction variable=