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/83823] [8 Regression] Character length issues with PACK()


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

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Tue Feb 20 18:57:34 2018
New Revision: 257856

URL: https://gcc.gnu.org/viewcvs?rev=257856&root=gcc&view=rev
Log:
2018-02-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/48890
        PR fortran/83823
        * primary.c (gfc_convert_to_structure_constructor):
        For a constant string constructor, make sure the length
        is correct.

2018-02-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/48890
        PR fortran/83823
        * gfortran.dg/structure_constructor_14.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/structure_constructor_14.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/primary.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]