]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/86888 ([F08] allocatable components of indirectly recursive type)
authorJanus Weil <janus@gcc.gnu.org>
Wed, 22 Aug 2018 17:10:00 +0000 (19:10 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Wed, 22 Aug 2018 17:10:00 +0000 (19:10 +0200)
commit00cad178a359da70204fe1ef4072f3bdbccb799c
treef646b8c67f7b4755ed8483f32f8217ae818b106b
parentb56b07639b1bd36383a0763ba80260c4858160ed
re PR fortran/86888 ([F08] allocatable components of indirectly recursive type)

fix PR 86888

2018-08-22  Janus Weil  <janus@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  <janus@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.

From-SVN: r263782
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/alloc_comp_basics_6.f90
gcc/testsuite/gfortran.dg/alloc_comp_basics_7.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/class_17.f03
gcc/testsuite/gfortran.dg/class_55.f90
gcc/testsuite/gfortran.dg/dtio_11.f90
gcc/testsuite/gfortran.dg/implicit_actual.f90
gcc/testsuite/gfortran.dg/typebound_proc_12.f90