Commit 4588b604 by Tobias Schlüter Committed by Tobias Schlüter

* trans-types.c (gfc_is_nodesc_array): Remove redundant check.

From-SVN: r99621
parent c42a19d5
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> 2005-05-11 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/21260 PR fortran/21260
......
...@@ -785,9 +785,6 @@ gfc_is_nodesc_array (gfc_symbol * sym) ...@@ -785,9 +785,6 @@ gfc_is_nodesc_array (gfc_symbol * sym)
if (sym->attr.result || sym->attr.function) if (sym->attr.result || sym->attr.function)
return 0; return 0;
if (sym->attr.pointer || sym->attr.allocatable)
return 0;
gcc_assert (sym->as->type == AS_EXPLICIT); gcc_assert (sym->as->type == AS_EXPLICIT);
return 1; return 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment