[Patch, fortran] PR69498 ICE on unexpected Submodule
Nicolas Koenig
koenigni@student.ethz.ch
Mon Apr 10 16:53:00 GMT 2017
Hello everyone,
Dominique send me this patch written by Paul some time ago. For some
reason it was never committed, so here we go :)
Ok for trunk?
Nicolas
Regression tested for x86_64-pc-linux-gnu.
Changelog:
2017-03-18 Nicolas Koenig <koenigni@student.ethz.ch>
PR fortran/69498
* module.c (gfc_match_submodule): Add error
if function is called in the wrong state.
2017-03-18 Nicolas Koenig <koenigni@student.ethz.ch>
PR fortran/69498
* gfortran.dg/submodule_unexp.f90: Modified test
to account for new error.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p3.diff
Type: text/x-patch
Size: 1038 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170410/b384c6f9/attachment.bin>
More information about the Fortran
mailing list