[Bug fortran/108382] [12/13 Regression] Incorrect parsing when acc and omp coexist and -fopenmp -fopenacc is used.
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 20 17:08:30 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108382
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
Last reconfirmed| |2023-01-20
Status|UNCONFIRMED |NEW
Target Milestone|--- |12.4
Summary|Incorrect parsing when acc |[12/13 Regression]
|and omp coexist and |Incorrect parsing when acc
|-fopenmp -fopenacc is used. |and omp coexist and
| |-fopenmp -fopenacc is used.
Ever confirmed|0 |1
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
It seems as if for
!$acc enter &
!$acc data
!$omp flush &
!$omp RELEASE
a flag is wrong after parsing the second line; I think either the
'openacc_flag' needs to be (re)set to 0 or continue_flag needs to be set to 0.
(likewise for swapping omp and acc lines)
Possibly be caused by the following commit as it works with GCC 11 but fails
with GCC 12:
r12-1216-g4facf2bf5b7b32f444da864306b5c11e14c15bcf
More information about the Gcc-bugs
mailing list