omp-low.c (scan_sharing_clauses): Accept INDEPENDENT, AUTO & SEQ.
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 13 Nov 2015 21:51:32 +0000 (21:51 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 13 Nov 2015 21:51:32 +0000 (21:51 +0000)
commitc5a64cfec7388ddb685071d99dc7b23c918af16c
tree9bc316e20fe71f3245e275f4fa8f8192ebe85381
parent7bcc3c8608f201d618b27dc6fbf3aaf176599033
omp-low.c (scan_sharing_clauses): Accept INDEPENDENT, AUTO & SEQ.

gcc/
* gcc/omp-low.c (scan_sharing_clauses): Accept INDEPENDENT, AUTO &
SEQ.
(oacc_loop_fixed_partitions): Correct return type to bool.
(oacc_loop_auto_partitions): New.
(oacc_loop_partition): Take mask argument, call
oacc_loop_auto_partitions.
(execute_oacc_device_lower): Provide mask to oacc_loop_partition.

gcc/testsuite/
* c-c++-common/goacc/loop-auto-1.c: New.

libgomp/
* testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: New.

From-SVN: r230354
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/goacc/loop-auto-1.c [new file with mode: 0644]
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c [new file with mode: 0644]