2005-01-22 Paul Brook <paul@codesourcery.com>
commite311e7c3ae9d2c65d64c920c0551e9dbca701af6
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Jan 2005 15:24:09 +0000 (22 15:24 +0000)
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Jan 2005 15:24:09 +0000 (22 15:24 +0000)
tree2a3848c0ca3a85aeeedecdf1905a38e016a7dc5a
parentea65f0839fed9f5a8ed08399afe2dbaa2bd7705a
2005-01-22  Paul Brook  <paul@codesourcery.com>

* primary.c (gfc_match_rvalue): Only apply implicit type if variable
does not have an explicit type.
(gfc_match_variable): Resolve implicit derived types in all cases.
Resolve contained function types from their own namespace, not the
parent.
* resolve.c (resolve_contained_fntype): Remove duplicate sym->result
checking.  Resolve from the contained namespace, not the parent.
testsuite/
* gfortran.dg/implicit_2.f90: New test.

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