re PR fortran/60774 (f951: internal compiler error: Segmentation fault: 11)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 22 Aug 2016 18:23:43 +0000 (18:23 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 22 Aug 2016 18:23:43 +0000 (18:23 +0000)
commit58338bacdd63bfa128d5884e7ceeb47a4431d1ad
tree44b65a190f59341048102a9f33002562c72f04b0
parent30364ce673723a466def350c7378ddd3cc0c6c87
re PR fortran/60774 (f951: internal compiler error: Segmentation fault: 11)

2016-08-22  Steven G. Kargl  <kargl@gcc.gnu.org>
    Bud Davis  <jmdavis@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  <kargl@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.

Co-Authored-By: Bud Davis <jmdavis@link.com>
From-SVN: r239668
gcc/fortran/ChangeLog
gcc/fortran/parse.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/empty_label.f
gcc/testsuite/gfortran.dg/empty_label.f90
gcc/testsuite/gfortran.dg/empty_label_typedecl.f90
gcc/testsuite/gfortran.dg/label_3.f90 [deleted file]
gcc/testsuite/gfortran.dg/warnings_are_errors_1.f90