]> git.ipfire.org Git - thirdparty/gcc.git/commit
openacc: Revert erroneous gang reduction changes
authorMarcel Vollweiler <marcel@codesourcery.com>
Thu, 27 Oct 2022 12:43:00 +0000 (12:43 +0000)
committerMarcel Vollweiler <marcel@codesourcery.com>
Thu, 27 Oct 2022 13:49:28 +0000 (06:49 -0700)
commit5eb6cbcf3eb3d44f7329850452d268929d3ad8d8
tree42bffff630a33da9198ba2d9a202d180d5ecc44d
parent4782e0ab95390f6035ecd0f39abd52ec836f3543
openacc: Revert erroneous gang reduction changes

This patch reverts some changes related to "gang reduction on an orphan loop"
of commit 3a5e525489f2f808093ae1f12b5d2b406f571ec7 "Various OpenACC reduction
enhancements - FE change" similar to the mainline commit
77d24d43644909852998043335b5a0e09d1e8f02.

gcc/c/ChangeLog:

* c-typeck.cc (c_finish_omp_clauses): Remove "gang reduction on an
orphan loop" checking.

gcc/cp/ChangeLog:

* semantics.cc (finish_omp_clauses): Remove "gang reduction on an
orphan loop" checking.

gcc/fortran/ChangeLog:

* openmp.cc (oacc_is_parallel): Remove.
(resolve_oacc_loop_blocks): Remove "gang reduction on an orphan loop"
checking.
gcc/c/ChangeLog.omp
gcc/c/c-typeck.cc
gcc/cp/ChangeLog.omp
gcc/cp/semantics.cc
gcc/fortran/ChangeLog.omp
gcc/fortran/openmp.cc