aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.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/tree.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/tree.c')
-rw-r--r--gcc/tree.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 2190cae..d837609 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -282,7 +282,6 @@ unsigned const char omp_clause_num_ops[] =
1, /* OMP_CLAUSE_IS_DEVICE_PTR */
2, /* OMP_CLAUSE__CACHE_ */
1, /* OMP_CLAUSE_DEVICE_RESIDENT */
- 1, /* OMP_CLAUSE_USE_DEVICE */
2, /* OMP_CLAUSE_GANG */
1, /* OMP_CLAUSE_ASYNC */
1, /* OMP_CLAUSE_WAIT */
@@ -354,7 +353,6 @@ const char * const omp_clause_code_name[] =
"is_device_ptr",
"_cache_",
"device_resident",
- "use_device",
"gang",
"async",
"wait",
@@ -11612,7 +11610,6 @@ walk_tree_1 (tree *tp, walk_tree_fn func, void *data,
/* FALLTHRU */
case OMP_CLAUSE_DEVICE_RESIDENT:
- case OMP_CLAUSE_USE_DEVICE:
case OMP_CLAUSE_ASYNC:
case OMP_CLAUSE_WAIT:
case OMP_CLAUSE_WORKER: