Use clause locations in OpenACC nested reduction warnings
authorFrederik Harwath <frederik@codesourcery.com>
Tue, 10 Dec 2019 16:06:12 +0000 (16:06 +0000)
committerFrederik Harwath <frederik@gcc.gnu.org>
Tue, 10 Dec 2019 16:06:12 +0000 (16:06 +0000)
commit64c5157f6dcf3ed4595d521ac6b75f595a82e29e
tree98bff53b6065cbd35bbf1858a1ee4545748b8d52
parent53eb0cb3a12978cea36a3d37e2c86d8554eab61b
Use clause locations in OpenACC nested reduction warnings

Since the Fortran front-end now sets the clause locations correctly, we can
emit warnings with more precise locations if we encounter conflicting
operations for a variable in reduction clauses.

2019-12-10  Frederik Harwath  <frederik@codesourcery.com>

gcc/
* omp-low.c (scan_omp_for): Use clause location in warning.

From-SVN: r279168
gcc/ChangeLog
gcc/omp-low.c