PR fortran/35423 * trans.h (OMPWS_WORKSHARE_FLAG, OMPWS_CURR_SINGLEUNIT, OMPWS_SCALARIZER_WS, OMPWS_NOWAIT): Define. (ompws_flags): New extern decl. * trans-array.c (gfc_trans_scalarized_loop_end): Build OMP_FOR for the outer dimension if ompws_flags allow it. * trans.c (gfc_generate_code): Clear ompws_flags. * trans-expr.c (gfc_trans_assignment_1): Allow worksharing array assignments inside of !$omp workshare. * trans-stmt.c (gfc_trans_where_3): Similarly for where statements and constructs. * trans-openmp.c (ompws_flags): New variable. (gfc_trans_omp_workshare): Rewritten. * testsuite/libgomp.fortran/workshare2.f90: New test. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r146397
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| config | Loading commit data... | |
| testsuite | Loading commit data... | |
| ChangeLog | Loading commit data... | |
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| acinclude.m4 | Loading commit data... | |
| aclocal.m4 | Loading commit data... | |
| alloc.c | Loading commit data... | |
| barrier.c | Loading commit data... | |
| config.h.in | Loading commit data... | |
| configure | Loading commit data... | |
| configure.ac | Loading commit data... | |
| configure.tgt | Loading commit data... | |
| critical.c | Loading commit data... | |
| env.c | Loading commit data... | |
| error.c | Loading commit data... | |
| fortran.c | Loading commit data... | |
| iter.c | Loading commit data... | |
| iter_ull.c | Loading commit data... | |
| libgomp.h | Loading commit data... | |
| libgomp.map | Loading commit data... | |
| libgomp.spec.in | Loading commit data... | |
| libgomp.texi | Loading commit data... | |
| libgomp_f.h.in | Loading commit data... | |
| libgomp_g.h | Loading commit data... | |
| loop.c | Loading commit data... | |
| loop_ull.c | Loading commit data... | |
| omp.h.in | Loading commit data... | |
| omp_lib.f90.in | Loading commit data... | |
| omp_lib.h.in | Loading commit data... | |
| ordered.c | Loading commit data... | |
| parallel.c | Loading commit data... | |
| sections.c | Loading commit data... | |
| single.c | Loading commit data... | |
| task.c | Loading commit data... | |
| team.c | Loading commit data... | |
| work.c | Loading commit data... |