gimplify.c (gimplify_omp_ordered): Fix up diagnostics wording.
authorJakub Jelinek <jakub@redhat.com>
Fri, 6 Nov 2015 21:21:16 +0000 (22:21 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 6 Nov 2015 21:21:16 +0000 (22:21 +0100)
commitd9f4ea18ac3bdc770a18d8d513ab62bf45925f40
tree729e652e0957e4c85caef97bcc4ceea8b3ba60e2
parent38101f91e6f6e27ccb8432c1965e6ccb1387c377
gimplify.c (gimplify_omp_ordered): Fix up diagnostics wording.

* gimplify.c (gimplify_omp_ordered): Fix up diagnostics
wording.
* omp-low.c (check_omp_nesting_restrictions): Update for the
various new OpenMP 4.5 nesting restrictions, clarified
nesting glossary, closely nested region relationship clarified
to mean explicit or implicit parallel regions (target/teams),
use %</%> or %qs where appropriate.

* gcc.dg/gomp/ordered-2.c (f1): Expect an extra error.
* g++.dg/gomp/ordered-2.C (f1): Likewise.
* gfortran.dg/goacc/parallel-kernels-regions.f95: Adjust
expected diagnostics for the addition of quotes.
* gfortran.dg/gomp/target3.f90: Likewise.
* c-c++-common/goacc/nesting-fail-1.c: Likewise.
* c-c++-common/goacc-gomp/nesting-fail-1.c: Likewise.
* c-c++-common/gomp/doacross-1.c: Likewise.
* c-c++-common/gomp/nesting-warn-1.c: Likewise.
* c-c++-common/gomp/cancel-1.c (f2): Add some new tests.
Adjust expected diagnostics wording.
* c-c++-common/gomp/clauses-4.c (foo): Likewise.
Don't expect error on ordered threads simd when in for simd.
* c-c++-common/gomp/nesting-2.c: New test.
* c-c++-common/gomp/ordered-3.c (foo): Add some new tests.
* c-c++-common/gomp/ordered-4.c: New test.

From-SVN: r229892
17 files changed:
gcc/ChangeLog
gcc/gimplify.c
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/goacc-gomp/nesting-fail-1.c
gcc/testsuite/c-c++-common/goacc/nesting-fail-1.c
gcc/testsuite/c-c++-common/gomp/cancel-1.c
gcc/testsuite/c-c++-common/gomp/clauses-4.c
gcc/testsuite/c-c++-common/gomp/doacross-1.c
gcc/testsuite/c-c++-common/gomp/nesting-2.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/gomp/nesting-warn-1.c
gcc/testsuite/c-c++-common/gomp/ordered-3.c
gcc/testsuite/c-c++-common/gomp/ordered-4.c [new file with mode: 0644]
gcc/testsuite/g++.dg/gomp/ordered-2.C
gcc/testsuite/gcc.dg/gomp/ordered-2.c
gcc/testsuite/gfortran.dg/goacc/parallel-kernels-regions.f95
gcc/testsuite/gfortran.dg/gomp/target3.f90