diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2007-12-06 06:11:01 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2007-12-06 06:11:01 +0000 |
commit | 95f8fb2500cca5b71a784ba7c2df8347eb477930 (patch) | |
tree | 3637c89887b7e1d094503d04ba2910f5c0268361 /gcc/fortran/module.c | |
parent | 98b2c759a1d6777cede9f2815ee535eae022ccd2 (diff) | |
download | gcc-95f8fb2500cca5b71a784ba7c2df8347eb477930.zip gcc-95f8fb2500cca5b71a784ba7c2df8347eb477930.tar.gz gcc-95f8fb2500cca5b71a784ba7c2df8347eb477930.tar.bz2 |
re PR target/34435 (SSE2 intrinsics - emmintrin with optimisations off and type conversion error)
2007-12-06 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34435
* module.c (find_symbol): Do not return symtrees with unique
names, which shows that they are private.
2007-12-06 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34435
* gfortran.dg/used_types_19.f90: New test.
From-SVN: r130642
Diffstat (limited to 'gcc/fortran/module.c')
-rw-r--r-- | gcc/fortran/module.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/fortran/module.c b/gcc/fortran/module.c index af81c3a..c48bc68 100644 --- a/gcc/fortran/module.c +++ b/gcc/fortran/module.c @@ -3153,7 +3153,8 @@ find_symbol (gfc_symtree *st, const char *name, c = strcmp (name, st->n.sym->name); if (c == 0 && st->n.sym->module - && strcmp (module, st->n.sym->module) == 0) + && strcmp (module, st->n.sym->module) == 0 + && !check_unique_name (st->name)) { if ((!generic && !st->n.sym->attr.generic) || (generic && st->n.sym->attr.generic)) |