re PR fortran/85839 ([F2018] warn for obsolescent features)
authorJanus Weil <janus@gcc.gnu.org>
Fri, 25 May 2018 06:09:10 +0000 (08:09 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Fri, 25 May 2018 06:09:10 +0000 (08:09 +0200)
commit9143aa524cee23faf8d4f11d0a8a7b5393952406
tree5f54dc37f3d1a928a91c54559c5d1607004b9f9b
parent55157d5ed6df9a8eacd0e39c12c97fe7222f1172
re PR fortran/85839 ([F2018] warn for obsolescent features)

2018-05-25  Janus Weil  <janus@gcc.gnu.org>

PR fortran/85839
* match.c (gfc_match_block_data): Call gfc_notify_std to warn about
an obsolescent feature in Fortran 2018.
(gfc_match_equivalence): Ditto.
* resolve.c (resolve_common_blocks): Ditto.
(gfc_resolve_forall): Ditto.
* symbol.c (gfc_define_st_label): Ditto.

2018-05-25  Janus Weil  <janus@gcc.gnu.org>

PR fortran/85839
* gfortran.dg/f2018_obs.f90: New test case.

From-SVN: r260705
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/f2018_obs.f90 [new file with mode: 0644]