]> git.ipfire.org Git - thirdparty/gcc.git/commit
[og10] Fortran: OpenMP/OpenACC diagnose substring rejections better
authorTobias Burnus <tobias@codesourcery.com>
Thu, 4 Feb 2021 11:32:59 +0000 (12:32 +0100)
committerJulian Brown <julian@codesourcery.com>
Wed, 24 Feb 2021 14:36:37 +0000 (06:36 -0800)
commit26904e20cef034805fb927d9e1cf143ecb067d33
treedfade596fea88faaca5d58fa65680966a72e409f
parent59366d6941726c8bee7cc58be493b2515660c442
[og10] Fortran: OpenMP/OpenACC diagnose substring rejections better

gcc/fortran/ChangeLog:

* openmp.c (resolve_omp_clauses): Explicitly diagnose
substrings as not permitted.

gcc/testsuite/ChangeLog:

* gfortran.dg/goacc/substring.f90: New test.
* gfortran.dg/gomp/substring.f90: New test.

(cherry picked from commit f0e618faeb619ec02dabbef203a5575fca44a7f7)
gcc/fortran/ChangeLog.omp
gcc/fortran/openmp.c
gcc/testsuite/ChangeLog.omp
gcc/testsuite/gfortran.dg/goacc/substring.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/gomp/substring.f90 [new file with mode: 0644]