gfortran.h (gfc_omp_namespace): Add locus where member.
authorCesar Philippidis <cesar@codesourcery.com>
Fri, 30 Oct 2015 22:16:52 +0000 (15:16 -0700)
committerCesar Philippidis <cesar@gcc.gnu.org>
Fri, 30 Oct 2015 22:16:52 +0000 (15:16 -0700)
commit2ac33bca8a98148859c5375663fe93f5046697b0
tree1d368a526c50f0c5afdede93a03f934951145411
parent2631d4eb87db704196d57f53729e596a645e9b6d
gfortran.h (gfc_omp_namespace): Add locus where member.

gcc/fortran/
* gfortran.h (gfc_omp_namespace): Add locus where member.
* openmp.c (gfc_match_omp_variable_list): Set where for each list
item found.
(resolve_omp_clauses): Remove where argument and use the where
gfc_omp_namespace member when reporting errors.
(resolve_omp_do):  Update call to resolve_omp_clauses.
(resolve_oacc_loop): Likewise.
(gfc_resolve_oacc_directive): Likewise.
(gfc_resolve_omp_directive): Likewise.
(gfc_resolve_omp_declare_simd): Likewise.

gcc/testsuite/
* gfortran.dg/gomp/intentin1.f90: Adjust copyprivate warning.

From-SVN: r229609
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/intentin1.f90