diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog.omp | 4 | ||||
-rw-r--r-- | gcc/gimplify.cc | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog.omp b/gcc/ChangeLog.omp index 8cd46a7..fd91f87 100644 --- a/gcc/ChangeLog.omp +++ b/gcc/ChangeLog.omp @@ -1,3 +1,7 @@ +2019-09-17 Tobias Burnus <tobias@codesourcery.com> + + * gimplify.cc (gomp_oacc_needs_data_present): Remove unused variable. + 2019-09-06 Julian Brown <julian@codesourcery.com> * gimplify.cc (gimplify_omp_for): Use for_stmt in call to diff --git a/gcc/gimplify.cc b/gcc/gimplify.cc index 90e74b5..76564c6 100644 --- a/gcc/gimplify.cc +++ b/gcc/gimplify.cc @@ -11171,7 +11171,6 @@ static oacc_array_mapping_info * gomp_oacc_needs_data_present (tree decl) { gimplify_omp_ctx *ctx = NULL; - bool ref_p = TREE_CODE (TREE_TYPE (decl)) == REFERENCE_TYPE; if (gimplify_omp_ctxp->region_type != ORT_ACC_PARALLEL && gimplify_omp_ctxp->region_type != ORT_ACC_KERNELS) |