aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-openmp.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2015-12-23 12:01:18 +0100
committerThomas Schwinge <tschwinge@gcc.gnu.org>2015-12-23 12:01:18 +0100
commitc7b48c8ae5a68e227e0e917ce32533b8d571bf9b (patch)
tree35d28c7390d3ab361c0b04f4531b9f00b23c98a4 /gcc/fortran/trans-openmp.c
parente013d90cf66c85f64106cf0a4a3398cadb4812e1 (diff)
downloadgcc-c7b48c8ae5a68e227e0e917ce32533b8d571bf9b.zip
gcc-c7b48c8ae5a68e227e0e917ce32533b8d571bf9b.tar.gz
gcc-c7b48c8ae5a68e227e0e917ce32533b8d571bf9b.tar.bz2
Merge OMP_CLAUSE_USE_DEVICE into OMP_CLAUSE_USE_DEVICE_PTR
gcc/c/ * c-parser.c (c_parser_oacc_clause_use_device): Merge function into... (c_parser_omp_clause_use_device_ptr): ... this function. Adjust all users. gcc/ * tree-core.h (enum omp_clause_code): Merge OMP_CLAUSE_USE_DEVICE into OMP_CLAUSE_USE_DEVICE_PTR. Adjust all users. From-SVN: r231926
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
-rw-r--r--gcc/fortran/trans-openmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans-openmp.c b/gcc/fortran/trans-openmp.c
index 227964c..70a7722 100644
--- a/gcc/fortran/trans-openmp.c
+++ b/gcc/fortran/trans-openmp.c
@@ -1771,7 +1771,7 @@ gfc_trans_omp_clauses (stmtblock_t *block, gfc_omp_clauses *clauses,
clause_code = OMP_CLAUSE_UNIFORM;
goto add_clause;
case OMP_LIST_USE_DEVICE:
- clause_code = OMP_CLAUSE_USE_DEVICE;
+ clause_code = OMP_CLAUSE_USE_DEVICE_PTR;
goto add_clause;
case OMP_LIST_DEVICE_RESIDENT:
clause_code = OMP_CLAUSE_DEVICE_RESIDENT;