Refactor omp_reduction_init: omp_reduction_init_op
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 23 Sep 2015 14:46:55 +0000 (16:46 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Wed, 23 Sep 2015 14:46:55 +0000 (16:46 +0200)
commitf2c9f71da9fd748bb452e69e7825e5f28e7c741d
treeee3493395b810e3e0800b948507eda00f9269e2e
parentef537cc859dd149230454398078da6d3128cfd9a
Refactor omp_reduction_init: omp_reduction_init_op

gcc/
* omp-low.h (omp_reduction_init_op): Declare.
* omp-low.c (omp_reduction_init_op): New, broken out of ...
(omp_reduction_init): ... here.  Call it.
* tree-parloops.c (initialize_reductions): Use
omp_reduction_init_op.

Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
From-SVN: r228052
gcc/ChangeLog
gcc/omp-low.c
gcc/omp-low.h
gcc/tree-parloops.c