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

--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <pa...@gcc.gnu.org>:

https://gcc.gnu.org/g:1fd5a07444776d76cdd6a2eee7df0478201197a5

commit r14-10115-g1fd5a07444776d76cdd6a2eee7df0478201197a5
Author: Paul Thomas <pa...@gcc.gnu.org>
Date:   Thu Apr 25 06:52:31 2024 +0100

    Fortran: Generate new charlens for shared symbol typespecs [PR89462]

    2024-04-25  Paul Thomas  <pa...@gcc.gnu.org>
                Jakub Jelinek  <ja...@gcc.gnu.org>

    gcc/fortran
            PR fortran/89462
            * decl.cc (build_sym): Add an extra argument 'elem'. If 'elem'
            is greater than 1, gfc_new_charlen is called to generate a new
            charlen, registered in the symbol namespace.
            (variable_decl, enumerator_decl): Set the new argument in the
            calls to build_sym.

    gcc/testsuite/
            PR fortran/89462
            * gfortran.dg/pr89462.f90: New test.

Reply via email to