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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andre Vehreschild <ve...@gcc.gnu.org>:

https://gcc.gnu.org/g:cc2716a3f521bba81e9eb39705b30504e62ee6fe

commit r16-94-gcc2716a3f521bba81e9eb39705b30504e62ee6fe
Author: Andre Vehreschild <ve...@gcc.gnu.org>
Date:   Tue Apr 22 10:11:52 2025 +0200

    Fortran: Use correct location in check of coarray functions [PR119200]

    Use gfc_current_intrinsic_where during check(), because
    gfc_current_locus is not set to correct location or at all.

            PR fortran/119200

    gcc/fortran/ChangeLog:

            * check.cc (gfc_check_lcobound): Use locus from intrinsic_where.
            (gfc_check_image_index): Same.
            (gfc_check_num_images): Same.
            (gfc_check_team_number): Same.
            (gfc_check_this_image): Same.
            (gfc_check_ucobound): Same.

Reply via email to