Commit 4a9150d0 by Tobias Burnus Committed by Tobias Burnus

[Fortran, OpenMP] Actually pass use_device_addr on to the middle end

        * trans-openmp.c (gfc_trans_omp_clauses): Actually pass
        use_device_addr on to the middle end.

From-SVN: r276791
parent 051fb43f
2019-10-10 Tobias Burnus <tobias@codesourcery.com>
* trans-openmp.c (gfc_trans_omp_clauses): Actually pass use_device_addr
on to the middle end.
2019-10-08 Steven G. Kargl <kargl@gcc.gnu.org> 2019-10-08 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91801 PR fortran/91801
......
...@@ -1887,6 +1887,9 @@ gfc_trans_omp_clauses (stmtblock_t *block, gfc_omp_clauses *clauses, ...@@ -1887,6 +1887,9 @@ gfc_trans_omp_clauses (stmtblock_t *block, gfc_omp_clauses *clauses,
case OMP_LIST_USE_DEVICE_PTR: case OMP_LIST_USE_DEVICE_PTR:
clause_code = OMP_CLAUSE_USE_DEVICE_PTR; clause_code = OMP_CLAUSE_USE_DEVICE_PTR;
goto add_clause; goto add_clause;
case OMP_LIST_USE_DEVICE_ADDR:
clause_code = OMP_CLAUSE_USE_DEVICE_ADDR;
goto add_clause;
case OMP_LIST_IS_DEVICE_PTR: case OMP_LIST_IS_DEVICE_PTR:
clause_code = OMP_CLAUSE_IS_DEVICE_PTR; clause_code = OMP_CLAUSE_IS_DEVICE_PTR;
goto add_clause; goto add_clause;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment