omp-low.c (omp_find_scan): Make static.
authorJakub Jelinek <jakub@redhat.com>
Sat, 6 Jul 2019 07:49:59 +0000 (09:49 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 6 Jul 2019 07:49:59 +0000 (09:49 +0200)
commit2dcb0d5b59e05b18694173c4c194bcedc1956ff8
tree4f662dd6db39933965bdc6ba46309c61d4901739
parente954337f3ce8e458ffbd7d1539a35413a24c73bf
omp-low.c (omp_find_scan): Make static.

* omp-low.c (omp_find_scan): Make static.
(lower_omp_for_scan): Fix order of merge arguments in input phase of
the second loop, var2 represents the first partial sum and so needs
to go before rprivb[ivar].

From-SVN: r273155
gcc/ChangeLog
gcc/omp-low.c