[Bug fortran/64124] [F95] Valid constant expr rejected

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 8 19:02:00 GMT 2018


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


More information about the Gcc-bugs mailing list