0cab70604c
This has been broken forever, whoops... gcc/cp/ * pt.c (tsubst_omp_clauses): Handle 'OMP_CLAUSE__CACHE_'. (tsubst_expr): Handle 'OACC_CACHE'. gcc/testsuite/ * c-c++-common/goacc/cache-1.c: Update. * c-c++-common/goacc/cache-2.c: Likewise. * g++.dg/goacc/cache-1.C: New. * g++.dg/goacc/cache-2.C: Likewise. libgomp/ * testsuite/libgomp.oacc-c++/cache-1.C: New. * testsuite/libgomp.oacc-c-c++-common/cache-1.c: Update.
14 lines
245 B
C
14 lines
245 B
C
/* OpenACC 'cache' directive. */
|
|
|
|
/* See also corresponding C/C++ variant '../libgomp.oacc-c-c++-common/cache-1.c'. */
|
|
|
|
#include "../../../gcc/testsuite/g++.dg/goacc/cache-1.C"
|
|
|
|
int
|
|
main (int argc, char *argv[])
|
|
{
|
|
test<0> ();
|
|
|
|
return 0;
|
|
}
|