[Bug fortran/95106] Bogus warning from module with long name and an equivalence

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun May 24 19:35:32 GMT 2020


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

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

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

commit r11-594-gd176184d98a00ab379ae5959aed1908a79995e6b
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Sun May 24 21:35:04 2020 +0200

    PR fortran/95106 - truncation of long symbol names with EQUIVALENCE

            For long module names, the generated name-mangled symbol was
            truncated, leading to bogus warnings about COMMON block
            mismatches.  Provide sufficiently large temporaries.

    gcc/fortran/

    2020-05-24  Harald Anlauf  <anlauf@gmx.de>

            PR fortran/95106
            * trans-common.c (gfc_sym_mangled_common_id): Enlarge temporaries
            for name-mangling.

    gcc/testsuite/

    2020-05-24  Harald Anlauf  <anlauf@gmx.de>

            PR fortran/95106
            * gfortran.dg/equiv_11.f90: New test.


More information about the Gcc-bugs mailing list