re PR fortran/85841 ([F2018] reject deleted features)
authorJanus Weil <janus@gcc.gnu.org>
Tue, 22 May 2018 05:41:45 +0000 (07:41 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 22 May 2018 05:41:45 +0000 (07:41 +0200)
commit286f737cf0bad9b646e8104aca72f6f7d07b49cb
treeca1c8f6898a8f7e6a833fbe15746e532af613d3b
parent9687412cece7a989005b9e53108c02d54ca89623
re PR fortran/85841 ([F2018] reject deleted features)

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

PR fortran/85841
* libgfortran.h: Remove the macros GFC_STD_F2008_TS and
GFC_STD_OPT_F08TS.
* error.c (notify_std_msg): Remove GFC_STD_F2008_TS.
* options.c (set_default_std_flags): Ditto.
(gfc_handle_option): Make -std=f2008ts an alias for -std=f2018.
* array.c (gfc_match_array_spec): Replace GFC_STD_F2008_TS by
GFC_STD_F2018.
* check.c (gfc_check_atomic, gfc_check_event_query,
gfc_check_c_f_pointer, gfc_check_c_f_procpointer, gfc_check_c_funloc,
gfc_check_c_loc, gfc_check_num_images, gfc_check_this_image): Ditto.
* decl.c (gfc_verify_c_interop_param, gfc_match_decl_type_spec): Ditto.
* intrinsic.c (add_functions, add_subroutines,
gfc_check_intrinsic_standard): Ditto.
* iso-c-binding.def: Ditto.
* iso-fortran-env.def: Ditto.
* match.c (gfc_match_event_post, gfc_match_event_wait,
gfc_match_fail_image, gfc_match_form_team, gfc_match_change_team,
gfc_match_end_team, gfc_match_sync_team): Ditto.
* gfortran.texi: Remove mention of -std=f2008ts.
Move TSs into F2018 section.
* invoke.texi: Update documentation of -std=f2008ts.

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

PR fortran/85841
* gfortran.dg/assumed_rank_5.f90: Update error message.
* gfortran.dg/assumed_type_4.f90: Ditto.
* gfortran.dg/bind_c_array_params.f03: Ditto.
* gfortran.dg/bind_c_usage_28.f90: Ditto.
* gfortran.dg/c_funloc_tests_5.f03: Ditto.
* gfortran.dg/c_funloc_tests_6.f90: Ditto.
* gfortran.dg/c_loc_tests_11.f03: Ditto.
* gfortran.dg/coarray_atomic_2.f90: Ditto.
* gfortran.dg/coarray_collectives_2.f90: Ditto.
* gfortran.dg/coarray_collectives_10.f90: Ditto.
* gfortran.dg/coarray_collectives_13.f90: Ditto.
* gfortran.dg/rank_3.f90: Ditto.
* gfortran.dg/error_stop_4.f90: Replace -std=f2008ts by -std=f2008.
* gfortran.dg/implicit_14.f90: Ditto.

From-SVN: r260499
28 files changed:
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/fortran/check.c
gcc/fortran/decl.c
gcc/fortran/error.c
gcc/fortran/gfortran.texi
gcc/fortran/intrinsic.c
gcc/fortran/invoke.texi
gcc/fortran/iso-c-binding.def
gcc/fortran/iso-fortran-env.def
gcc/fortran/libgfortran.h
gcc/fortran/match.c
gcc/fortran/options.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/assumed_rank_5.f90
gcc/testsuite/gfortran.dg/assumed_type_4.f90
gcc/testsuite/gfortran.dg/bind_c_array_params.f03
gcc/testsuite/gfortran.dg/bind_c_usage_28.f90
gcc/testsuite/gfortran.dg/c_funloc_tests_5.f03
gcc/testsuite/gfortran.dg/c_funloc_tests_6.f90
gcc/testsuite/gfortran.dg/c_loc_tests_11.f03
gcc/testsuite/gfortran.dg/coarray_atomic_2.f90
gcc/testsuite/gfortran.dg/coarray_collectives_10.f90
gcc/testsuite/gfortran.dg/coarray_collectives_13.f90
gcc/testsuite/gfortran.dg/coarray_collectives_2.f90
gcc/testsuite/gfortran.dg/error_stop_4.f90
gcc/testsuite/gfortran.dg/implicit_14.f90
gcc/testsuite/gfortran.dg/rank_3.f90