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
237 B
C
14 lines
237 B
C
/* OpenACC 'cache' directive. */
|
|
|
|
/* See also corresponding C++ variant '../libgomp.oacc-c++/cache-1.C'. */
|
|
|
|
#include "../../../gcc/testsuite/c-c++-common/goacc/cache-1.c"
|
|
|
|
int
|
|
main (int argc, char *argv[])
|
|
{
|
|
test ();
|
|
|
|
return 0;
|
|
}
|