[Committed] PR fortran/69499 -- SELECT TYPE is executable statement
Steve Kargl
sgk@troutmask.apl.washington.edu
Wed Jun 19 18:52:00 GMT 2019
I have committed the attach patch. It checks that
a SELECT TYPE construct does not appear in MODULE
or SUBMODULE scope as it is an executable statement.
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.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr69499.diff
Type: text/x-diff
Size: 1550 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20190619/bbdbfb5f/attachment.bin>
More information about the Fortran
mailing list