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

--- Comment #4 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Wed Apr 25 00:00:47 2018
New Revision: 259624

URL: https://gcc.gnu.org/viewcvs?rev=259624&root=gcc&view=rev
Log:
2018-04-24  Steven G. Kargl  <ka...@gcc.gnu.org>

        PR fortran/85520
        * decl.c (gfc_match_char_spec): Check for negative length and set to 0.

2018-04-24  Steven G. Kargl  <ka...@gcc.gnu.org>

        PR fortran/85520
        * gfortran.dg/pr85520.f90: New test.

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

Reply via email to