omp-expand.c (struct omp_region): Add has_lastprivate_conditional member.
authorJakub Jelinek <jakub@redhat.com>
Wed, 5 Jun 2019 07:52:23 +0000 (09:52 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 5 Jun 2019 07:52:23 +0000 (09:52 +0200)
commit0b887b756ab330b3d37e6831094510c435240b00
treea77bf26a0bc59ac2242d306d5e54f9978c90eeb7
parent28b3a77ca055b31aa20c6d263be42c49be32756b
omp-expand.c (struct omp_region): Add has_lastprivate_conditional member.

* omp-expand.c (struct omp_region): Add has_lastprivate_conditional
member.
(expand_parallel_call): If region->inner->has_lastprivate_conditional,
treat it like explicit monotonic schedule modifier.
(expand_omp_for): Initialize has_lastprivate_conditional.
If fd.lastprivate_conditional != 0, treat it like explicit monotonic
schedule modifier.

From-SVN: r271949
gcc/ChangeLog
gcc/omp-expand.c