diff options
author | pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-20 16:58:15 +0000 |
---|---|---|
committer | pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-20 16:58:15 +0000 |
commit | 82190250c0df15d269c605a8d1d0e7ee29d5cf3e (patch) | |
tree | dd7f7e6e4030beee514d48db62d509810015d5dd /gcc/fortran/module.c | |
parent | 6f7486fa128c69e7f3591a6d3ebd86637d9aad02 (diff) | |
download | gcc-82190250c0df15d269c605a8d1d0e7ee29d5cf3e.tar.gz |
2008-01-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34861
* resolve.c (resolve_entries): Do not do an array bounds check
if the result symbols are the same.
PR fortran/34854
* module.c (read_module) : Hide the symtree of the previous
version of the symbol if this symbol is renamed.
2008-01-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34784
* gfortran.dg/mapping_2.f90: Correct ubound expression for h4.
PR fortran/34861
* gfortran.dg/entry_array_specs_3.f90: New test.
PR fortran/34854
* gfortran.dg/use_rename_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131679 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/module.c')
-rw-r--r-- | gcc/fortran/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/module.c b/gcc/fortran/module.c index 20cec83d984..fe57b9d27fe 100644 --- a/gcc/fortran/module.c +++ b/gcc/fortran/module.c @@ -3735,7 +3735,7 @@ read_module (void) /* Make symtree inaccessible by renaming if the symbol has been added by a USE statement without an ONLY(11.3.2). */ - if (st && only_flag + if (st && (only_flag || info->u.rsym.renamed) && !st->n.sym->attr.use_only && !st->n.sym->attr.use_rename && st->n.sym->module |