[Bug fortran/95089] [Coarray] ICE in gfc_get_derived_type, at fortran/trans-types.c:2843

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 26 19:19:44 GMT 2020


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

--- 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:48d526613961f410a87855ba2fef8909e925d9fa

commit r11-642-g48d526613961f410a87855ba2fef8909e925d9fa
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Tue May 26 21:19:19 2020 +0200

    PR fortran/95089 - ICE in gfc_get_derived_type, at
fortran/trans-types.c:2843

    For long module name, derive type and component name, the
    generated name-mangled symbol did not fit into a buffer when
    coarrays were enabled.  Provide sufficiently large temporary.

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

    gcc/fortran/
            PR fortran/95089
            * trans-types.c (gfc_get_derived_type): Enlarge temporary to hold
            mangled name "_caf_symbol".

    gcc/testsuite/
            PR fortran/95089
            * gfortran.dg/pr95089.f90: New test.


More information about the Gcc-bugs mailing list