[Bug fortran/93461] Bogus "symbol is already defined" with long subroutine names in submodule

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 28 18:13:00 GMT 2020


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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andrew Benson <abensonca@gcc.gnu.org>:

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

commit r10-6296-gad690d79cfbb905c5546c9333c5fd089d906505b
Author: Andrew Benson <abenson@carnegiescience.edu>
Date:   Tue Jan 28 18:12:23 2020 +0000

    Increase GFC_MAX_MANGLED_SYMBOL_LEN to handle submodule names.

            PR fortran/93461
            * trans.h: Increase GFC_MAX_MANGLED_SYMBOL_LEN to
            GFC_MAX_SYMBOL_LEN*3+5 to allow for inclusion of submodule name,
            plus the "." between module and submodule names.
            * gfortran.dg/pr93461.f90: New test.


More information about the Gcc-bugs mailing list