diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2015-12-23 12:01:18 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2015-12-23 12:01:18 +0100 |
commit | c7b48c8ae5a68e227e0e917ce32533b8d571bf9b (patch) | |
tree | 35d28c7390d3ab361c0b04f4531b9f00b23c98a4 /gcc/tree.c | |
parent | e013d90cf66c85f64106cf0a4a3398cadb4812e1 (diff) | |
download | gcc-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.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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: |