diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2020-07-23 17:36:41 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2020-07-23 17:37:35 +0200 |
commit | 084dc63a0200e60e0fbb7c36b412a158d234f5c0 (patch) | |
tree | 1784a06569c8d7ca9735980ef56f4d233ec25cb1 /contrib/vimrc | |
parent | ad1bea3a4b30482686be9245af78f994722f2fec (diff) | |
download | gcc-084dc63a0200e60e0fbb7c36b412a158d234f5c0.zip gcc-084dc63a0200e60e0fbb7c36b412a158d234f5c0.tar.gz gcc-084dc63a0200e60e0fbb7c36b412a158d234f5c0.tar.bz2 |
OpenMP: Support 'lastprivate (conditional:' in Fortran
gcc/fortran/ChangeLog:
* gfortran.h (gfc_omp_namelist): Add lastprivate_conditional.
* openmp.c (gfc_match_omp_clauses): Handle 'conditional:'
modifier of 'lastprivate'.
* trans-openmp.c (gfc_omp_clause_default_ctor): Don't assert
on OMP_CLAUSE__CONDTEMP_ and other OMP_*TEMP_.
(gfc_trans_omp_variable_list): Handle lastprivate_conditional.
gcc/testsuite/ChangeLog:
* gfortran.dg/gomp/lastprivate-conditional-1.f90: New test.
* gfortran.dg/gomp/lastprivate-conditional-2.f90: New test.
* gfortran.dg/gomp/lastprivate-conditional-3.f90: New test.
* gfortran.dg/gomp/lastprivate-conditional-4.f90: New test.
* gfortran.dg/gomp/lastprivate-conditional-5.f90: New test.
Diffstat (limited to 'contrib/vimrc')
0 files changed, 0 insertions, 0 deletions