2018-03-26 Tom de Vries <tom@codesourcery.com> PR tree-optimization/85063 * omp-general.c (offloading_function_p): New function. Factor out of ... * omp-offload.c (pass_omp_target_link::gate): ... here. * omp-general.h (offloading_function_p): Declare. * tree-switch-conversion.c (build_one_array): Mark CSWTCH.x variable with attribute omp declare target for offloading functions. * testsuite/libgomp.c/switch-conversion-2.c: New test. * testsuite/libgomp.c/switch-conversion.c: New test. * testsuite/libgomp.oacc-c-c++-common/switch-conversion-2.c: New test. * testsuite/libgomp.oacc-c-c++-common/switch-conversion.c: New test. From-SVN: r258852
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| config | Loading commit data... | |
| lib | Loading commit data... | |
| libgomp.c | Loading commit data... | |
| libgomp.c++ | Loading commit data... | |
| libgomp.c-c++-common | Loading commit data... | |
| libgomp.fortran | Loading commit data... | |
| libgomp.graphite | Loading commit data... | |
| libgomp.hsa.c | Loading commit data... | |
| libgomp.oacc-c | Loading commit data... | |
| libgomp.oacc-c++ | Loading commit data... | |
| libgomp.oacc-c-c++-common | Loading commit data... | |
| libgomp.oacc-fortran | Loading commit data... | |
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| libgomp-test-support.exp.in | Loading commit data... |