re PR fortran/90166 (Compiler Fails at Assembler)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 22 Apr 2019 21:00:40 +0000 (21:00 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 22 Apr 2019 21:00:40 +0000 (21:00 +0000)
commit2810dfab5c2abd27245d8b4e508bb40e955c095f
tree3a61002b0d34f901ace9c7a1d225d2c5f7996503
parentf2b6aeeab219cc41ebc763e8e8378f83287d3591
re PR fortran/90166 (Compiler Fails at Assembler)

2019-04-19  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/90166
* decl.c (in_module_or_interface): New function to check that the
current state is in a module, submodule, or interface.
(gfc_match_prefix): Use it.

2019-04-19  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/90166
* gfortran.dg/submodule_22.f08: Add additional dg-error comments.

From-SVN: r270495
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/submodule_22.f08