This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/58482] gomp4: user defined reduction produce wrong result


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep 26 07:58:02 2013
New Revision: 202937

URL: http://gcc.gnu.org/viewcvs?rev=202937&root=gcc&view=rev
Log:
    PR libgomp/58482
    * c-omp.c (c_omp_split_clauses) <case OMP_CLAUSE_REDUCTION>: Copy
    also OMP_CLAUSE_REDUCTION_PLACEHOLDER.

    * testsuite/libgomp.c/simd-6.c: New test.
    * testsuite/libgomp.c++/simd-8.C: New test.

Added:
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.c++/simd-8.C
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.c/simd-6.c
Modified:
    branches/gomp-4_0-branch/gcc/c-family/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/c-family/c-omp.c
    branches/gomp-4_0-branch/libgomp/ChangeLog.gomp


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]