https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66851

--- Comment #4 from vries at gcc dot gnu.org ---
https://gcc.gnu.org/ml/gcc-cvs/2015-07/msg01090.html

Author: vries
Date: Tue Jul 28 07:54:04 2015
New Revision: 226300

URL: https://gcc.gnu.org/viewcvs?rev=226300&root=gcc&view=rev
Log:
Handle double reduction in parloops

2015-07-28  Tom de Vries  <t...@codesourcery.com>

        * tree-parloops.c (reduc_stmt_res): New function.
        (initialize_reductions, add_field_for_reduction)
        (create_phi_for_local_result, create_loads_for_reductions)
        (create_stores_for_reduction, build_new_reduction): Handle case that
        reduc_stmt is a phi.
        (gather_scalar_reductions): Allow double_reduc reductions.

        * gcc.dg/autopar/uns-outer-4.c: Remove xfail on scan for parallelizing
        outer loop.

        * testsuite/libgomp.c/uns-outer-4.c: New test.

Added:
    trunk/libgomp/testsuite/libgomp.c/uns-outer-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/autopar/uns-outer-4.c
    trunk/gcc/tree-parloops.c
    trunk/libgomp/ChangeLog

Reply via email to