]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/gfortran.h
gfortran.h (gfc_get_namespace): Add second argument to prototype.
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Wed, 23 Feb 2005 19:02:29 +0000 (20:02 +0100)
committerTobias Schlüter <tobi@gcc.gnu.org>
Wed, 23 Feb 2005 19:02:29 +0000 (20:02 +0100)
commit0366dfe99326220dbcb8e046d7e1e77e9c4ac12d
treec3dd910bd906ccffa8fb44a3d9043fe315e80a35
parent6b2117468998909065f7075541593af7ee9d8268
gfortran.h (gfc_get_namespace): Add second argument to prototype.

fortran/
* gfortran.h (gfc_get_namespace): Add second argument to prototype.
* intrinsic.c (gfc_intrinsic_init_1): Pass second argument to
gfc_get_namespace.
* module.c (mio_namespace_ref, load_needed): Likewise.
* parse.c (parse_interface, parse_contained): Likewise.  Here the
correct second argument matters.
* symbol.c (gfc_get_namespace): Add parent_types argument, only copy
parent's implicit types if this is set.
(gfc_symbol_init_2): Pass second argument to gfc_get_namespace.
* trans-common.c (build_common_decl): Likewise.

testsuite/
* gfortran.dg/implicit_3.f90: New test.

From-SVN: r95463
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/intrinsic.c
gcc/fortran/module.c
gcc/fortran/parse.c
gcc/fortran/symbol.c
gcc/fortran/trans-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/implicit_3.f90 [new file with mode: 0644]