This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/83224] creating character array from elements shorter than declared does not pad with whitespace properly and aborts


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

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Fri Dec  1 07:35:50 2017
New Revision: 255294

URL: https://gcc.gnu.org/viewcvs?rev=255294&root=gcc&view=rev
Log:
2017-12-01  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/83224
        * frontend-passes.c (realloc_string_callback): Handle
        case for which the RHS is an array expression.

2017-12-01  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/83224
        * gfortran.dg/dependency_50.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/dependency_50.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/frontend-passes.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]