omp-low.c (expand_omp_sections): Always pass len - 1 to GOMP_sections_start, even...
authorJakub Jelinek <jakub@redhat.com>
Thu, 19 Sep 2013 11:52:52 +0000 (13:52 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 19 Sep 2013 11:52:52 +0000 (13:52 +0200)
commit4befd127ca7e68a5b418e54e3e9eb9e5eef5a193
tree0dbed3235787eea739fbf3239ef57ffa3982bdcc
parent0e1a966a86cae30717df3d1951e15dcba6d9fc98
omp-low.c (expand_omp_sections): Always pass len - 1 to GOMP_sections_start, even if !exit_reachable.

* omp-low.c (expand_omp_sections): Always pass len - 1 to
GOMP_sections_start, even if !exit_reachable.
libgomp/
* testsuite/libgomp.c/sections-2.c: New test.

From-SVN: r202738
gcc/ChangeLog
gcc/omp-low.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/sections-2.c [new file with mode: 0644]