re PR middle-end/36506 (Broken #pragma omp sections reduction (+:x))
authorJakub Jelinek <jakub@redhat.com>
Thu, 12 Jun 2008 11:03:50 +0000 (13:03 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 12 Jun 2008 11:03:50 +0000 (13:03 +0200)
commitc34938a8aa48af61df1835c2c0dab95d4ef6ca1a
tree8845c75445d9484761a9f34010411ff92b5aefca
parentb377855627f22cdef5712621e89e68048a94a164
re PR middle-end/36506 (Broken #pragma omp sections reduction (+:x))

PR middle-end/36506
* omp-low.c (expand_omp_sections): Handle #pragma omp sections with
reductions.

* testsuite/libgomp.c/reduction-5.c: New test.

From-SVN: r136696
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/reduction-5.c [new file with mode: 0644]