diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2019-09-18 08:44:20 +0200 |
---|---|---|
committer | Kwok Cheung Yeung <kcy@codesourcery.com> | 2022-06-21 14:11:19 +0100 |
commit | cfa16d11d940f976fd0c22c62f4fbe0639780916 (patch) | |
tree | c3e1081544e9c769ab7a7014bb688ef2b34fc870 /gcc | |
parent | 719f93c8618a134f90b5b661ab70c918d659ad05 (diff) | |
download | gcc-cfa16d11d940f976fd0c22c62f4fbe0639780916.zip gcc-cfa16d11d940f976fd0c22c62f4fbe0639780916.tar.gz gcc-cfa16d11d940f976fd0c22c62f4fbe0639780916.tar.bz2 |
Silence compiler warnings
gcc/
2019-09-17 Tobias Burnus <tobias@codesourcery.com>
* gimplify.cc (gomp_oacc_needs_data_present): Remove unused variable.
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) |