aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/module.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index e80c576..d78819f 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,7 @@
+2006-02-23 Erik Edelmann <eedelman@gcc.gnu.org>
+
+ * module.c (read_module): Remove redundant code lines.
+
2006-02-20 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
* Make-lang.in (FORTRAN): Remove
(.PHONY): Remove F95 and f95. Add fortran
diff --git a/gcc/fortran/module.c b/gcc/fortran/module.c
index 3c45e57..0acc474 100644
--- a/gcc/fortran/module.c
+++ b/gcc/fortran/module.c
@@ -3189,12 +3189,6 @@ read_module (void)
skip_list ();
/* See if the symbol has already been loaded by a previous module.
- If so, we reference the existing symbol and prevent it from
- being loaded again. */
-
- sym = find_true_name (info->u.rsym.true_name, info->u.rsym.module);
-
- /* See if the symbol has already been loaded by a previous module.
If so, we reference the existing symbol and prevent it from
being loaded again. This should not happen if the symbol being
read is an index for an assumed shape dummy array (ns != 1). */