OSDN Git Service

2005-10-26 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Oct 2005 05:20:19 +0000 (05:20 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Oct 2005 05:20:19 +0000 (05:20 +0000)
commit40cf80786fdd50c33b2517ea920b307687d59078
treecb4b3fbc58344b406d2294ab4e6cbe21fb873c8f
parentf6f70456f2bb9e02b146c06cc9059d136e9068f8
2005-10-26  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24158
* decl.c (gfc_match_data_decl): Correct broken bit of code
that prevents undefined derived types from being used as
components of another derived type.
* resolve.c (resolve_symbol): Add backstop error when derived
type variables arrive here with a type that has no components.

2005-10-26  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24158
gfortran.dg/derived_recursion.f90: New test.
gfortran.dg/implicit_actual.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105913 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/derived_recursion.f90 [new file with mode: 0755]
gcc/testsuite/gfortran.dg/implicit_actual.f90 [new file with mode: 0755]