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/64124] [F95] Valid constant expr rejected


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

--- Comment #4 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Mar  8 19:01:23 2018
New Revision: 258367

URL: https://gcc.gnu.org/viewcvs?rev=258367&root=gcc&view=rev
Log:
2018-03-08  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/64124
        PR fortran/70409
        * decl.c (gfc_match_char_spec): Try to reduce a charlen to a constant.

2018-03-08  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/64124
        PR fortran/70409
        * gfortran.dg/pr64124.f90: New tests.
        * gfortran.dg/pr70409.f90: New tests.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr64124.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr70409.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/decl.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

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