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

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

https://gcc.gnu.org/g:4dd2fd9c4350529947fffc6bf257b5e22379554b

commit r10-8341-g4dd2fd9c4350529947fffc6bf257b5e22379554b
Author: Harald Anlauf <anl...@gmx.de>
Date:   Sat Jun 20 16:15:16 2020 +0200

    PR fortran/95707 - ICE in finish_equivalences, at
fortran/trans-common.c:1319

    With submodules and equivalence declarations, name mangling may result in
    long internal symbols overflowing internal buffers.  We now check that
    we do not exceed the enlarged buffer sizes.

    gcc/fortran/
            PR fortran/95707
            * gfortran.h (gfc_common_head): Enlarge buffer.
            * trans-common.c (gfc_sym_mangled_common_id): Enlarge temporary
            buffers, and add check on length on mangled name to prevent
            overflow.

    (cherry picked from commit 3345e74299687de6144b87c0632018cafd4ccf3b)

Reply via email to