Ensure sufficient size of variables used for module+submodule names.
authorAndrew Benson <abenson@carnegiescience.edu>
Mon, 2 Mar 2020 17:28:35 +0000 (17:28 +0000)
committerAndrew Benson <abenson@carnegiescience.edu>
Mon, 2 Mar 2020 17:28:35 +0000 (17:28 +0000)
commitf3c276aec26d9e406cc4bbf0e18b1105df63f0ee
tree3d9248c77f3e481f60c7c44f02170b2c10db01c7
parentd112e173ea093f55a16a14b26ef65088381ee09c
Ensure sufficient size of variables used for module+submodule names.

        PR fortran/93486
        * module.c: Increase size of variables used to read module names
        when loading interfaces from module files to permit cases where
        the name is the concatenation of a module and submodule name.
        * gfortran.dg/pr93486.f90: New test.
gcc/fortran/ChangeLog
gcc/fortran/module.c
gcc/testsuite/gfortran.dg/pr93486.f90 [new file with mode: 0644]