* trans-types.c (gfc_is_nodesc_array): Remove redundant check.
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Thu, 12 May 2005 18:19:37 +0000 (20:19 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Thu, 12 May 2005 18:19:37 +0000 (20:19 +0200)
From-SVN: r99621

gcc/fortran/ChangeLog
gcc/fortran/trans-types.c

index 98d9bb3..57fac56 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-12  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       * trans-types.c (gfc_is_nodesc_array): Remove redundant check.
+
 2005-05-11  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
 
        PR fortran/21260
index b2c5169..44f19f4 100644 (file)
@@ -785,9 +785,6 @@ gfc_is_nodesc_array (gfc_symbol * sym)
   if (sym->attr.result || sym->attr.function)
     return 0;
 
-  if (sym->attr.pointer || sym->attr.allocatable)
-    return 0;
-
   gcc_assert (sym->as->type == AS_EXPLICIT);
 
   return 1;