OpenACC C front end maintenance: c_parser_oacc_single_int_clause
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 12 May 2017 09:33:18 +0000 (11:33 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Fri, 12 May 2017 09:33:18 +0000 (11:33 +0200)
commit1e47f02b6390db82d2e7dcc7eec3bb888c78318a
tree0cc51c36b180d9add1a3f320701f67c275ab7b12
parent62ffe9207c7568fe9d28891caa2bf3aa18664375
OpenACC C front end maintenance: c_parser_oacc_single_int_clause

gcc/c/
* c-parser.c (c_parser_omp_clause_num_gangs)
(c_parser_omp_clause_num_workers)
(c_parser_omp_clause_vector_length): Merge functions into...
(c_parser_oacc_single_int_clause): ... this new function.  Adjust
all users.
gcc/testsuite/
* c-c++-common/goacc/parallel-dims-1.c: New file.
* c-c++-common/goacc/parallel-dims-2.c: Likewise.

From-SVN: r247960
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/goacc/parallel-dims-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/goacc/parallel-dims-2.c [new file with mode: 0644]