c-parser.c (c_parser_oacc_shape_clause): New.
authorCesar Philippidis <cesar@codesourcery.com>
Tue, 27 Oct 2015 20:21:31 +0000 (13:21 -0700)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 27 Oct 2015 20:21:31 +0000 (20:21 +0000)
commit765dd3918b6b52d766a5034080515acbdda738f0
treec425a9799c18e15ab8cc82ca6850ec854f66888d
parent0d0774412e77ac167e73bdd1ef86ea7ccad9ee8d
c-parser.c (c_parser_oacc_shape_clause): New.

gcc/c/
* c-parser.c (c_parser_oacc_shape_clause): New.
(c_parser_oacc_simple_clause): New.
(c_parser_oacc_all_clauses): Add auto, gang, seq, vector, worker.
(OACC_LOOP_CLAUSE_MASK): Add gang, worker, vector, auto, seq.

gcc/testsuite/
* c-c++-common/goacc/loop-shape.c: New test.

Co-Authored-By: Bernd Schmidt <bernds@redhat.com>
Co-Authored-By: James Norris <jnorris@codesourcery.com>
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
Co-Authored-By: Julian Brown <julian@codesourcery.com>
Co-Authored-By: Thomas Schwinge <thomas@codesourcery.com>
From-SVN: r229461
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/goacc/loop-shape.c [new file with mode: 0644]