OSDN Git Service

2008-08-25 Daniel Kraft <d@domob.eu>
authordomob <domob@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Aug 2008 17:58:53 +0000 (17:58 +0000)
committerdomob <domob@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Aug 2008 17:58:53 +0000 (17:58 +0000)
commitf8f35c46544d75e933877db28035221fa66fa7ea
tree48f2f28391f6447501ac0481370dfd5b4e376e7c
parentbe30e9d9a86c62a51de7135cdf35dd6f0c948cdc
2008-08-25  Daniel Kraft  <d@domob.eu>

* gfortran.h (gfc_find_component): Add new arguments.
* parse.c (parse_derived_contains): Check if the derived-type containing
the CONTAINS section is SEQUENCE/BIND(C).
* resolve.c (resolve_typebound_procedure): Check for name collision with
components.
(resolve_fl_derived): Check for name collision with inherited
type-bound procedures.
* symbol.c (gfc_find_component): New arguments `noaccess' and `silent'.
(gfc_add_component): Adapt for new arguments.
* primary.c (match_varspec), (gfc_match_structure_constructor): Ditto.

2008-08-25  Daniel Kraft  <d@domob.eu>

* gfortran.dg/extends_7.f03: New test.
* gfortran.dg/typebound_proc_7.f03: New test.
* gfortran.dg/typebound_proc_8.f03: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139566 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/parse.c
gcc/fortran/primary.c
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/extends_7.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/typebound_proc_7.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/typebound_proc_8.f03 [new file with mode: 0644]