https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97782

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Tobias Burnus
<bur...@gcc.gnu.org>:

https://gcc.gnu.org/g:5eebaff9f992814a2f8f915e436716b1b2c983df

commit r10-9018-g5eebaff9f992814a2f8f915e436716b1b2c983df
Author: Tobias Burnus <tob...@codesourcery.com>
Date:   Thu Nov 12 14:16:53 2020 +0100

    Fortran: improve location data for OpenACC/OpenMP directives [PR97782]

    gcc/fortran/ChangeLog:

            PR fortran/97782
            * trans-openmp.c (gfc_trans_oacc_construct,
gfc_trans_omp_parallel_do,
            gfc_trans_omp_parallel_do_simd, gfc_trans_omp_parallel_sections,
            gfc_trans_omp_parallel_workshare, gfc_trans_omp_sections
            gfc_trans_omp_single, gfc_trans_omp_task, gfc_trans_omp_teams
            gfc_trans_omp_target, gfc_trans_omp_target_data,
            gfc_trans_omp_workshare): Use code->loc instead of input_location
            when building the OMP_/OACC_ construct.

    gcc/testsuite/ChangeLog:

            PR fortran/97782
            * gfortran.dg/goacc/classify-kernels-unparallelized.f95: Move
dg-message
            one line up.
            * gfortran.dg/goacc/classify-kernels.f95: Likewise.

    Reviewed-by: Thomas Schwinge <tho...@codesourcery.com>

    (cherry picked from commit b71ff8c15f5a7d6b1cc1524b4d27843f0d88dbda)

Reply via email to