diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2007-08-13 20:58:00 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2007-08-13 20:58:00 +0000 |
commit | 5a8af0b4ef5b662dca364091fc4d662eca12bb29 (patch) | |
tree | e3eb7a00a8212cb938f95778ba895342840f6e09 /gcc/pointer-set.c | |
parent | 462643f011112b0be9615d536f2fb1521a86a458 (diff) | |
download | gcc-5a8af0b4ef5b662dca364091fc4d662eca12bb29.zip gcc-5a8af0b4ef5b662dca364091fc4d662eca12bb29.tar.gz gcc-5a8af0b4ef5b662dca364091fc4d662eca12bb29.tar.bz2 |
re PR fortran/32827 (IMPORT fails for TYPE when also used in INTERFACE)
2007-08-13 Paul Thomas <pault@gcc.gnu.org>
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 <pault@gcc.gnu.org>
PR fortran/32827
* gfortran.dg/import6.f90: New test.
From-SVN: r127397
Diffstat (limited to 'gcc/pointer-set.c')
0 files changed, 0 insertions, 0 deletions