aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorJulian Brown <julian@codesourcery.com>2019-05-19 10:42:20 -0700
committerThomas Schwinge <thomas@codesourcery.com>2020-03-03 12:17:49 +0100
commitb0e35852e8603f1edbee0fe3e9a035a2841f11f5 (patch)
treed36bd4071fcba52d568d3c91c66212d63172e9e9 /libgomp
parentf6ddcaeddf0bcb7999ac81c384707c06b1cb49af (diff)
downloadgcc-b0e35852e8603f1edbee0fe3e9a035a2841f11f5.zip
gcc-b0e35852e8603f1edbee0fe3e9a035a2841f11f5.tar.gz
gcc-b0e35852e8603f1edbee0fe3e9a035a2841f11f5.tar.bz2
Fix references declared in lexically-enclosing OpenACC data region
gcc/fortran/ * trans-openmp.c (gfc_omp_finish_clause): Guard addition of clauses for pointers with DECL_P. gcc/ * gimplify.c (oacc_array_mapping_info): Add REF field. (gimplify_scan_omp_clauses): Initialise above field for data blocks passed by reference. (gomp_oacc_needs_data_present): Handle references. (gimplify_adjust_omp_clauses_1): Handle references and optional arguments for variables declared in lexically-enclosing OpenACC data region. (cherry picked from openacc-gcc-9-branch commit a2ed98fb31686fcdbaa7bd1396de5c31567b3729)
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions