Re: Refactor omp_reduction_init: omp_reduction_init_op

2015-09-23 Thread Bernd Schmidt
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. That looks ok. Bernd

Refactor omp_reduction_init: omp_reduction_init_op (was: [gomp4] ptx reduction simplification)

2015-09-23 Thread Thomas Schwinge
nges. OK for trunk? commit de2726ef46b8d875239ccb445c784c56e1a716dc Author: Thomas Schwinge Date: Tue Sep 22 17:30:40 2015 +0200 Refactor omp_reduction_init: omp_reduction_init_op 2015-09-23 Thomas Schwinge Nathan Sidwell gcc/ * omp-low.h (omp_re