aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/openmp.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2018-12-09 13:47:35 +0100
committerThomas Schwinge <tschwinge@gcc.gnu.org>2018-12-09 13:47:35 +0100
commitb22b7d462ee469da57e7c17ffbf0686076b7af65 (patch)
tree21d9601441ac0433e6c688e8ac9255343fdf307c /gcc/fortran/openmp.c
parent84ca08d2d57034d6b5dfe818d7cdcef10316d902 (diff)
downloadgcc-b22b7d462ee469da57e7c17ffbf0686076b7af65.zip
gcc-b22b7d462ee469da57e7c17ffbf0686076b7af65.tar.gz
gcc-b22b7d462ee469da57e7c17ffbf0686076b7af65.tar.bz2
[PR88420] Fortran OpenACC "Clause SEQ conflicts with INDEPENDENT"
The Fortran front end declares that the OpenACC "Clause SEQ conflicts with INDEPENDENT". While that combination doesn't make too much sense indeed, it's still valid; these are orthogonal concepts. gcc/fortran/ PR fortran/88420 * openmp.c (resolve_oacc_loop_blocks): Remove "Clause SEQ conflicts with INDEPENDENT" diagnostic. gcc/testsuite/ PR fortran/88420 * gfortran.dg/goacc/loop-1-2.f95: Update. * gfortran.dg/goacc/loop-1.f95: Likewise. From-SVN: r266920
Diffstat (limited to 'gcc/fortran/openmp.c')
-rw-r--r--gcc/fortran/openmp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/fortran/openmp.c b/gcc/fortran/openmp.c
index fb9c073..d97b8bf 100644
--- a/gcc/fortran/openmp.c
+++ b/gcc/fortran/openmp.c
@@ -5895,8 +5895,6 @@ resolve_oacc_loop_blocks (gfc_code *code)
if (code->ext.omp_clauses->seq)
{
- if (code->ext.omp_clauses->independent)
- gfc_error ("Clause SEQ conflicts with INDEPENDENT at %L", &code->loc);
if (code->ext.omp_clauses->gang)
gfc_error ("Clause SEQ conflicts with GANG at %L", &code->loc);
if (code->ext.omp_clauses->worker)