http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58756

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Dec 16 10:34:28 2013
New Revision: 206011

URL: http://gcc.gnu.org/viewcvs?rev=206011&root=gcc&view=rev
Log:
    PR libgomp/58756
    * omp-low.c (lower_rec_input_clauses) <case OMP_CLAUSE_REDUCTION>: For
    reductions without placeholder if is_simd, but when not using
    GOMP_SIMD* internal calls, also perform the reduction operation
    on the outer var rather than simple assignment.

    * testsuite/libgomp.c/pr58756.c: New test.

Added:
    trunk/libgomp/testsuite/libgomp.c/pr58756.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/libgomp/ChangeLog

Reply via email to