OSDN Git Service

2013-02-17 Tobias Burnus <burnus@net-b.de>
authormikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Feb 2013 22:59:52 +0000 (22:59 +0000)
committermikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Feb 2013 22:59:52 +0000 (22:59 +0000)
commit013e2a2cdb00113c5af4f2100b87b8fcef5079ff
tree07bf5bc2aac0ceeedf3d3b6a4a0da9b6968752f9
parent777449301922f62d87418f6ad73d68583edca6c8
2013-02-17  Tobias Burnus  <burnus@net-b.de>
    Mikael Morin  <mikael@gcc.gnu.org>

Backport from trunk
2013-01-28  Tobias Burnus  <burnus@net-b.de>
    Mikael Morin  <mikael@gcc.gnu.org>

PR fortran/53537
* symbol.c (gfc_find_sym_tree): Don't look for the symbol outside an
interface block.
(gfc_get_ha_symtree): Let gfc_find_sym_tree lookup the parent namespace.
* decl.c (gfc_match_data_decl): Ditto.
(variable_decl): Remove undeclared type error.
(gfc_match_import): Use renamed instead of original name.

2013-02-17  Tobias Burnus  <burnus@net-b.de>
    Mikael Morin  <mikael@gcc.gnu.org>

Backport from trunk
2013-01-28  Tobias Burnus  <burnus@net-b.de>
    Mikael Morin  <mikael@gcc.gnu.org>

PR fortran/53537
* gfortran.dg/import2.f90: Adjust undeclared type error messages.
* gfortran.dg/import8.f90: Likewise.
* gfortran.dg/interface_derived_type_1.f90: Likewise.
* gfortran.dg/import10.f90: New test.
* gfortran.dg/import11.f90: Likewise

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196112 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/import10.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/import11.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/import2.f90
gcc/testsuite/gfortran.dg/import8.f90
gcc/testsuite/gfortran.dg/interface_derived_type_1.f90