gfortran.h (gfc_find_component): Add new arguments.
authorDaniel Kraft <d@domob.eu>
Mon, 25 Aug 2008 17:58:53 +0000 (19:58 +0200)
committerDaniel Kraft <domob@gcc.gnu.org>
Mon, 25 Aug 2008 17:58:53 +0000 (19:58 +0200)
commit9d1210f47f50fa5a1e397632792aa97668e56e0e
tree48f2f28391f6447501ac0481370dfd5b4e376e7c
parente02aa5ec860b71931d3223505e0337ffb5d1a7a4
gfortran.h (gfc_find_component): Add new arguments.

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.

From-SVN: r139566
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]