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

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>:

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

commit r14-5859-gc9d029ba2ceb435e31492c1f3f0fd3edf0e386be
Author: Harald Anlauf <anl...@gmx.de>
Date:   Thu Nov 23 22:48:38 2023 +0100

    Fortran: avoid obsolescence warning for COMMON with submodule [PR111880]

    gcc/fortran/ChangeLog:

            PR fortran/111880
            * resolve.cc (resolve_common_vars): Do not call gfc_add_in_common
            for symbols that are USE associated or used in a submodule.

    gcc/testsuite/ChangeLog:

            PR fortran/111880
            * gfortran.dg/pr111880.f90: New test.

Reply via email to