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

--- Comment #6 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Aug 22 18:23:43 2016
New Revision: 239668

URL: https://gcc.gnu.org/viewcvs?rev=239668&root=gcc&view=rev
Log:
2016-08-22  Steven G. Kargl  <ka...@gcc.gnu.org>
            Bud Davis  <jmda...@link.com>

        PR fortran/60774
        * parse.c (next_free,next_fixed): Issue error for statement label
        without a statement.

2016-08-22  Steven G. Kargl  <ka...@gcc.gnu.org>

        PR fortran/60774
        * gfortran.dg/empty_label.f: Adjust test for new error message.
        * gfortran.dg/empty_label.f90: Ditto.
        * gfortran.dg/empty_label_typedecl.f90: Ditto.
        * gfortran.dg/label_3.f90: Deleted (redundant with empty_label.f90).
        * gfortran.dg/warnings_are_errors_1.f90: Remove invalid statement
label.

Removed:
    trunk/gcc/testsuite/gfortran.dg/label_3.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/parse.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/empty_label.f
    trunk/gcc/testsuite/gfortran.dg/empty_label.f90
    trunk/gcc/testsuite/gfortran.dg/empty_label_typedecl.f90
    trunk/gcc/testsuite/gfortran.dg/warnings_are_errors_1.f90

Reply via email to