gcc/fortran/ * trans-openmp.c (gfc_omp_is_optional_argument, gfc_omp_check_optional_argument): Handle type(c_ptr),value which uses a hidden argument for the is-present check. gcc/ * omp-low.c (lower_omp_target): For use_device_ptr/use_derice_addr and Fortran's optional arguments, unconditionally add the is-present condition before the libgomp call. libgomp/ * testsuite/libgomp.fortran/use_device_ptr-optional-2.f90: Add 'type(c_ptr), value' test case. Conditionally map the per-value passed arguments. From-SVN: r279004
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... |