aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-openmp.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2020-10-27 17:13:16 +0100
committerThomas Schwinge <thomas@codesourcery.com>2020-11-03 09:13:07 +0100
commitbeddd1762ad2bbe84dd776c54489153f83f21e56 (patch)
tree286689615ae9379690336505df761459d371cfd4 /gcc/fortran/trans-openmp.c
parentf5e18dd9c7dacc9671044fc669bd5c1b26b6bdba (diff)
downloadgcc-beddd1762ad2bbe84dd776c54489153f83f21e56.zip
gcc-beddd1762ad2bbe84dd776c54489153f83f21e56.tar.gz
gcc-beddd1762ad2bbe84dd776c54489153f83f21e56.tar.bz2
[OpenACC] More precise diagnostics for 'gang', 'worker', 'vector' clauses with arguments on 'loop' only allowed in 'kernels' regions
Instead of at the location of the 'loop' directive, 'error_at' the location of the improper clause, and 'inform' at the location of the enclosing parent compute construct/routine. The Fortran testcases come with some XFAILing, to be resolved later. gcc/ * omp-low.c (scan_omp_for) <OpenACC>: More precise diagnostics for 'gang', 'worker', 'vector' clauses with arguments only allowed in 'kernels' regions. gcc/testsuite/ * c-c++-common/goacc/pr92793-1.c: Extend. * gfortran.dg/goacc/pr92793-1.f90: Likewise.
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions