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

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

https://gcc.gnu.org/g:2d59593105d3b1e38e49f96b74fd81e4e5038c7f

commit r11-4866-g2d59593105d3b1e38e49f96b74fd81e4e5038c7f
Author: Tobias Burnus <tob...@codesourcery.com>
Date:   Tue Nov 10 10:31:33 2020 +0100

    Fortran: Fix function decl's location [PR95847]

    gcc/fortran/ChangeLog:

            PR fortran/95847
            * trans-decl.c (gfc_get_symbol_decl): Do not (re)set the location
            of an external procedure.
            (build_entry_thunks, generate_coarray_init, create_main_function,
            gfc_generate_function_code): Use fndecl's location in BIND_EXPR.

    gcc/testsuite/ChangeLog:

            PR fortran/95847
            * gfortran.dg/coverage.f90: New test.

Reply via email to