OpenACC reductions: Don't skip the reduction variable's original value.
commit75e2a58b8ef7d20be2239ff029493986542ee7e3
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Oct 2014 07:26:40 +0000 (23 07:26 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Oct 2014 07:26:40 +0000 (23 07:26 +0000)
treed07cd70636ec642ebe66c53b2851af42e83fab49
parentbdbd24c85b4377a78c3959cf2d8de4ed38ef9753
OpenACC reductions: Don't skip the reduction variable's original value.

gcc/
* omp-low.c (finalize_reduction_data): Don't skip the reduction
variable's original value.
libgomp/
* testsuite/libgomp.oacc-c/reduction-initial-1.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@216574 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.gomp
gcc/omp-low.c
libgomp/ChangeLog.gomp
libgomp/testsuite/libgomp.oacc-c/reduction-initial-1.c [new file with mode: 0644]