[Bug fortran/69499] [F03] ICE-on-invalid on combining select type with wrong statement
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 19 18:19:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69499
--- Comment #13 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Wed Jun 19 18:18:40 2019
New Revision: 272482
URL: https://gcc.gnu.org/viewcvs?rev=272482&root=gcc&view=rev
Log:
2019-06-19 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/69499
* match.c (gfc_match_select_type): SELECT TYPE is an executable
statement, and cannot appear in MODULE or SUBMODULE scope.
2019-06-19 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/69499
* gfortran.dg/pr69499.f90: New test.
* gfortran.dg/module_error_1.f90: Update dg-error string.
Added:
trunk/gcc/testsuite/gfortran.dg/pr69499.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/match.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/module_error_1.f90
More information about the Gcc-bugs
mailing list