diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2020-11-03 22:06:29 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2020-11-03 22:26:02 +0100 |
commit | fab72592d86d11b89a01f0f3c2c9c329d43466c1 (patch) | |
tree | 445a2dc949c8e911cea9fdd89a841d67e4d2522f /gcc/reload.c | |
parent | 12d05123053359903c2859c72ce29749662b3ab5 (diff) | |
download | gcc-fab72592d86d11b89a01f0f3c2c9c329d43466c1.zip gcc-fab72592d86d11b89a01f0f3c2c9c329d43466c1.tar.gz gcc-fab72592d86d11b89a01f0f3c2c9c329d43466c1.tar.bz2 |
[OpenACC] Use proper location to 'inform' of enclosing parent compute construct
Bug fix for recent commit beddd1762ad2bbe84dd776c54489153f83f21e56 "[OpenACC]
More precise diagnostics for 'gang', 'worker', 'vector' clauses with arguments
on 'loop' only allowed in 'kernels' regions":
> [...], and 'inform' at the location of the enclosing parent
> compute construct/[...].
Now really.
gcc/
* omp-low.c (scan_omp_for) <OpenACC>: Use proper location to
'inform' of enclosing parent compute construct.
gcc/testsuite/
* c-c++-common/goacc/pr92793-1.c: Extend.
* gfortran.dg/goacc/pr92793-1.f90: Likewise.
Diffstat (limited to 'gcc/reload.c')
0 files changed, 0 insertions, 0 deletions