aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/parse.c
diff options
context:
space:
mode:
authorJulian Brown <julian@codesourcery.com>2020-01-03 10:06:15 -0800
committerJulian Brown <julian@codesourcery.com>2020-01-28 06:00:29 -0800
commit278c3214b344ac7c5daf974196fbebc531bff058 (patch)
tree5fb64b46ceb10ceee9647519ec7b68320c82abc8 /gcc/fortran/parse.c
parent99b9f5b4067a8c5c5a706694b9a23516126984de (diff)
downloadgcc-278c3214b344ac7c5daf974196fbebc531bff058.zip
gcc-278c3214b344ac7c5daf974196fbebc531bff058.tar.gz
gcc-278c3214b344ac7c5daf974196fbebc531bff058.tar.bz2
Don't allow mixed component and non-component accesses for OpenACC/Fortran
gcc/fortran/ * gfortran.h (gfc_symbol): Add comp_mark bitfield. * openmp.c (resolve_omp_clauses): Disallow mixed component and full-derived-type accesses to the same variable within a single directive. libgomp/ * testsuite/libgomp.oacc-fortran/deep-copy-2.f90: Remove test from here. * testsuite/libgomp.oacc-fortran/deep-copy-3.f90: Don't use mixed component/non-component variable refs in a single directive. * testsuite/libgomp.oacc-fortran/classtypes-1.f95: Likewise. gcc/testsuite/ * gfortran.dg/goacc/deep-copy-2.f90: Move test here (from libgomp testsuite). Make a compilation test, and expect rejection of mixed component/non-component accesses. * gfortran.dg/goacc/mapping-tests-1.f90: New test.
Diffstat (limited to 'gcc/fortran/parse.c')
0 files changed, 0 insertions, 0 deletions