------- Comment #4 from pault at gcc dot gnu dot org 2007-08-13 20:58 ------- Subject: Bug 32827
Author: pault Date: Mon Aug 13 20:58:00 2007 New Revision: 127397 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127397 Log: 2007-08-13 Paul Thomas <[EMAIL PROTECTED]> PR fortran/32827 * decl.c (variable_decl): Check for an imported symbol by looking for its symtree and testing for the imported attribute. (gfc_match_import): Remove change of symbol's namespace and set the attribute imported instead. * symbol.c (gfc_get_sym_tree): It is not an error if a symbol is imported. * gfortran.h : Add the 'imported' to symbol_attribute. 2007-08-13 Paul Thomas <[EMAIL PROTECTED]> PR fortran/32827 * gfortran.dg/import6.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/import6.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/fortran/gfortran.h trunk/gcc/fortran/symbol.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32827