https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86888
--- Comment #2 from janus at gcc dot gnu.org --- Author: janus Date: Wed Aug 22 17:10:00 2018 New Revision: 263782 URL: https://gcc.gnu.org/viewcvs?rev=263782&root=gcc&view=rev Log: fix PR 86888 2018-08-22 Janus Weil <ja...@gcc.gnu.org> PR fortran/86888 * decl.c (gfc_match_data_decl): Allow allocatable components of indirectly recursive type. * resolve.c (resolve_component): Remove two errors messages ... (resolve_fl_derived): ... and replace them by a new one. 2018-08-22 Janus Weil <ja...@gcc.gnu.org> PR fortran/86888 * gfortran.dg/alloc_comp_basics_6.f90: Update an error message and add an additional case. * gfortran.dg/alloc_comp_basics_7.f90: New test case. * gfortran.dg/class_17.f03: Update error message. * gfortran.dg/class_55.f90: Ditto. * gfortran.dg/dtio_11.f90: Update error messages. * gfortran.dg/implicit_actual.f90: Add an error message. * gfortran.dg/typebound_proc_12.f90: Update error message. Added: trunk/gcc/testsuite/gfortran.dg/alloc_comp_basics_7.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/fortran/resolve.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/alloc_comp_basics_6.f90 trunk/gcc/testsuite/gfortran.dg/class_17.f03 trunk/gcc/testsuite/gfortran.dg/class_55.f90 trunk/gcc/testsuite/gfortran.dg/dtio_11.f90 trunk/gcc/testsuite/gfortran.dg/implicit_actual.f90 trunk/gcc/testsuite/gfortran.dg/typebound_proc_12.f90